I have a sequence $(4,9,16,25,36,...)$ it is being generated by $a_n=(n+1)^2)$
I have found the generating function for $n^2$ here: Proving the generating function of $n^2$.
I know I can shift a sequence: $(1,4,9,16,25,....)$ to the right $(0,1,4,9,25,...)$ via $x^1*A(x)$ with $ A(x)$ a generating function. Does this also work with a left shift? Is there a definition? $n$ was a natural numbers. Maybe something else?
Let $f(t)=t^2+t^3+t^4+\dots=\dfrac{t^2}{1-t}$, for $|t|<1$.
Then $f'(t)=2t+3t^2+4t^3+\dots=\dfrac{2t-t^2}{(1-t)^2}$
And
$$\dfrac{\mathrm d\left(tf'(t)\right)}{\mathrm dt}=4t+9t^2+16t^3\dots=\frac{t^3-3t^2+4t}{(1-t)^3}$$
Finally
$$4+9t+16t^2+\dots=\frac{t^2-3t+4}{(1-t)^3}$$