Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-oxford/2017/prelims/mathematics-iii/4/a/ii/solution

Using the geometric series, the probability generating function is
Differentiation gives

New to topics? Read the docs here!