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?
- A. 16
- B. 18
- C. 20
- 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.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- A coin shows heads with probability 3/5 on each toss. What is the expected number of tosses until the pattern HT appears for the first time?
- A fair coin is tossed repeatedly. What is the probability that the pattern HH appears before the pattern TT?
- A best-of-five series is played, where each game is won independently by player A with probability 3/5. The series ends as soon as one…
- A best-of-five series is played between two equal players, each game won with probability 1/2 independently. What is the expected number…
- A particle starts at 0 on {0, 1, 2, 3, 4}. At each step it moves right or left with probability 1/2 each. At 0 it always moves to 1 (the…
- A walker starts at 0 on the integers. Each step moves +1 with probability 2/3 and −1 with probability 1/3, independently. What is the…