Mathematics (JEE)Hard

A coin shows heads with probability 1/3 on each toss. What is the expected number of tosses until the pattern HTH appears for the first time?

  1. A. 27/4
  2. B. 18
  3. C. 9
  4. D. 33/2

Correct answer: D. 33/2

The chain on prefixes (empty, H, HT) has the expected waiting time for HTH computed exactly by solving the linear system, giving 33/2. The value 9 is 1/P(H)², which ignores the structure of the pattern.

More Permutations, Combinations and Probability questions

Exams that ask this topic