Which comes first, HHT or THH
Question
A fair coin is tossed repeatedly until either the run HHT or the run THH has appeared. What is the probability that HHT appears first?
Short answer
. If the first two tosses are HH, HHT must come first (the next T completes it). Otherwise a T appears before any HH, and from then on the first HH completes THH before HHT is possible. So HHT wins only with probability .
Adapted from Zhou, A Practical Guide to Quantitative Finance Interviews, sec. 5.1 Markov Chain, 'Coin triplets B', p.110; question and answer rewritten by SelfMadeQuant.com.
See the hint and the full worked solution in the question bank (free account).
Open the worked solutionLessons behind this question
- Markov Chains — Transition Matrices and the Markov Property
- Exit Distributions and Exit Times
- Sample Spaces, Events, and the Probability Axioms
Start with a free lesson: Probability Fundamentals is part of a free topic. Create a free account, no card needed, to read it in full with worked solutions.
Read it free