Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2021/ia/paper-2/3d/solution

After tosses, the next total is even if either the current total is even and a tail occurs, or the current total is odd and a head occurs. Therefore
Since , subtracting the fixed point gives
Thus
The formula also covers the endpoint cases and .

New to topics? Read the docs here!