Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2022/ia/paper-2/11f/d/solution

Let be the expected additional number of tosses when the current terminal run contains consecutive heads. Then , and for ,
For , iterating this recurrence from down to gives
Solving,
When , the waiting time is deterministically , which is also the continuous limit of this formula as .

New to topics? Read the docs here!