Expected flips for a streak of n heads
Question
A fair coin is flipped until it lands heads times consecutively. What is the expected number of flips?
Short answer
. If is the expected flips to reach a run of heads, then (after reaching , one more flip either finishes or resets), so with .
Adapted from Zhou, A Practical Guide to Quantitative Finance Interviews, sec. 5.2 Martingale and Random Walk, 'Coin sequence', p.118; 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
- The Optional Stopping Theorem
- Expectation, Mean, and Variance
- Conditional Expectation and Variance Revisited
Start with a free lesson: Expectation, Variance and Covariance is part of a free topic. Create a free account, no card needed, to read it in full with worked solutions.
Read it free