Mathematics (JEE)HardGATE CS

A fair coin is tossed repeatedly. What is the expected number of tosses until the pattern HTH first appears as three consecutive tosses?

  1. A. 8
  2. B. 14
  3. C. 10
  4. D. 16

Correct answer: C. 10

The borders of HTH are H (length 1) and HTH itself (length 3). The expected waiting time is the sum of 2^k over these border lengths, so E = 2^1 + 2^3 = 10. Ignoring the self-overlap gives 2^3 = 8.

More Permutations, Combinations and Probability questions

Exams that ask this topic