Mathematics (JEE)Very hard

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

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

Correct answer: C. 20

HTHT overlaps itself at lengths 2 and 4 (HT and HTHT), so the expected wait is 2⁴ + 2² = 20. The value 16 counts only the pattern length.

More Permutations, Combinations and Probability questions

Exams that ask this topic