We have an infinite supply of black and white balls. An urn initially contains one black ball and one white ball. We perform a sequence of draws according to the following protocol:
- we randomly draw a ball from the urn;
- we replace the drawn ball in the urn;
- we add to the urn a ball of the same color as the drawn ball.
We define the sequence $(X_{n})_{n \in \mathbb{N}}$ of random variables by $X_{0} = 1$ and, for all integers $n \geqslant 1$, $X_{n}$ gives the number of white balls in the urn after $n$ draws. We denote by $g_{n}$ the generating function of the random variable $X_{n}$.
Using the recurrence relation from question 8, deduce that, for all integers $n$ greater than or equal to 1 and all real $t$, $$g_{n}(t) = \frac{t^{2} - t}{n+1} g_{n-1}^{\prime}(t) + g_{n-1}(t)$$