I am trying to learn generating functions so I am trying this recurrence:
$$F(n) = 1 + \frac{n-1}{n}F(n-1)$$
But I am struggling with it. Luckily the base case can be anything since $F(1)$ will multiply it by $0$ anyway, so let's say $F(0) = 0$. Then I tried this:
$$G(x) = \sum_{n=0}^{\infty} F(n)x^n$$
Remove base case $n=0$, split $F(n)$ into its parts:
$$G(x) = 0 + \sum_{n=1}^{\infty} x^n + \sum_{n=1}^{\infty} \frac{n-1}{n} F(n-1) x^{n}$$
Simplify the first sum (accounting for $n=0$), pull $x$ out of the right sum and shift index:
$$G(x) = -1 + \frac{1}{1-x} + x\sum_{n=0}^{\infty} \frac{n}{n+1} F(n) x^{n}$$
At this point I don't know how to simplify the right sum any further because I cannot simply pull out $\frac{n}{n+1}$ and replace the sum with $G(x)$ like I normally can with constant coefficients.
Just looking for hints because I want to solve this myself (as much as I can, anyway), please. What are the typical methods people use at this point?
Hint: Life will be more pleasant if we let $kF(k)=W(k)$. Then we are looking at $W(n)=n+W(n-1)$. The generating function is straightforward, and then we can obtain the generating function of $F$.