I have a question about recurrences. The following problem is:
$a_k = 0$ if $k = 0$, $a_k = a_{k−1} + 3k + 1$ if $k > 0$
I need to: write out the first six terms of recurrences, make a guess for explicit formula an, and prove using induction.
Any help is appreciated, as I am having trouble even approaching the problem.
Hint:
If $P(k)$ is a polynomial in $k$ of degree $p$, then $Q(k):=P(k)-P(k-1)$ is a polynomial in $k$ of degree $p-1$. Knowing $Q$, this helps you find $P$ by indeterminate coefficients.