Solution

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

For the process to stop on toss , the last toss must be the th head, while the first tosses must contain exactly heads. Hence the negative binomial distribution gives

New to topics? Read the docs here!