Generating Functions and finding a closed formula

105 Views Asked by At

I am being asked to find a closed formula for $a_n$ if $a_0=2$ and $a_n=a_{n-1}+n^2+1$. I don't know how to begin to answer this problem. I think that the $n^2$ is throwing me for a loop. If anyone could help me get started on answering this question, I'd really appreciate it.