Mathematics (JEE)Very hard

A fair coin is tossed repeatedly until the pattern HHTH appears for the first time. What is the expected number of tosses?

  1. A. 18
  2. B. 16
  3. C. 20
  4. D. 14

Correct answer: A. 18

HHTH overlaps itself only at length 1 (the final H matches the first H), so the expected wait is 2⁴ + 2¹ = 18. The value 16 ignores the overlap.

More Permutations, Combinations and Probability questions

Exams that ask this topic