I have faced an interesting question:
Jack puts $\$4,000 $ in his bank account with yearly interest rate of $5\%$. In the beginning of every year (starting the second year after the first deposit), he puts an additional $\$1,000$ in the same bank account. What is the bank balance after $n$ years?
Now I clearly thought about Generating Functions, but failed to describe what in what regarding the interest rate and the bank balance! I thought that one year gives a power of $x^{0.05n}$, but I genuinely feel that is truly wrong.
Any help would be appreciated