Show that $a_n=n^2+n+1$ satisfies \begin{cases} a_0=1\\ a_k=a_{k-1}+2k & \text{for $k>0$} \end{cases}
I want to use induction to solve this problem. but I don't know what my base will be since $k$ has to be greater than $1$. Should my base case be when $k=1$ (assuming this question uses integers).
Please give me a hint on how to solve this.
Base cases
k=0
$a_0 = 0 + 0 + 1 = 1$. Check.
k=1
$a_1 = 1 + 1 + 1 = 1 + 2 = a_0 + 2k$. Check.
Induction step:
Assume this holds for all $n \le k$ for some k. Then
$a_{k+1} = (k+1)^2 + (k+1) + 1 = ....$....