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?
- A. 18
- B. 16
- C. 20
- 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.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- How many integer 4-tuples (x1, x2, x3, x4) satisfy x1 + x2 + x3 + x4 = 22 with 1 <= xi <= 9 for every i?
- How many 5-tuples of non-negative integers (x1, ..., x5) satisfy x1 + ... + x5 = 17 with every xi <= 6?
- How many integer triples (a, b, c) satisfy a + b + c = 24 with 2 <= a, b, c <= 12?
- How many 6-tuples of integers (y1, ..., y6) satisfy y1 + ... + y6 = 12 with 0 <= yi <= 4 for every i?
- How many integer 5-tuples (x1, ..., x5) satisfy x1 + ... + x5 = 2 with -3 <= xi <= 4 for every i?
- How many positive-or-zero-free integer 4-tuples (x1, x2, x3, x4) satisfy x1 + x2 + x3 + x4 = 30 with 1 <= xi <= 20 for every i?