I have the sequence $\{0,0,0,1,2,3,4,5\}$ and I need to find a generating function.
I found the answer to be $\sum n x^{n+2}$. However to find the nth term, I would use $n-2$, correct? But then for $n=0,1,2$, I would have a negative. How do I account for those zeroes?
Your generating function is $x^3+2x^4+3x^5+4x^6+5x^7$
which you can write as