Skip to content

Expected tosses until HHH

Question

Toss a fair coin repeatedly. What is the expected number of tosses needed before three heads have appeared back to back?

Short answer

1414. Each extra head in the target run doubles the wait and adds two: if EkE_k is the expected time for kk heads in a row, Ek=2Ek−1+2E_k=2E_{k-1}+2 with E0=0E_0=0, so Ek=2k+1−2E_k=2^{k+1}-2 and E3=14E_3=14.

Adapted from QuantQuestions.io; question and answer rewritten by SelfMadeQuant.com.

See the hint and the full worked solution in the question bank (free account).

Open the worked solution

Lessons behind this question

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