What am I doing wrong? Is there a missing step?
Tried googling but cannot seem to get it.
Question: $$\begin{align} a_{n} &= a_{n-1}+2n+3 ,\\ a_{0} &= 4 \end{align}$$
Things I did:
$$\begin{align} a_{n}&=a_{n-1}+2n+3\\ &= (a_{n-2}-2n+3) +2n+3\\ &= (a_{n-3}-2n+3) + 2(2n) + 3(3)\\ &...\\ &...\\ \end{align}$$
Then I got:
$$\begin{align} a_n &= 2n^2 + 3n + 4 \end{align}$$
I think this is what you are attempting:
$$\begin{align} a_n &= a_{n-1} + 2n + 3 \\ &= (a_{n-2} + 2(n-1) + 3) + 2n + 3 &&= a_{n-2} + (2 + 2)n + 3 + 3 - 2 \\ &= (a_{n-3} + 2(n-2) + 3) + (2 + 2)n + 3 + 3 - 2 &&= a_{n-3} + (2\cdot 3)n + 3\cdot 3 - 2 - 4 \\ &= (a_{n-4} + 2(n-3) + 3) + (2\cdot 3)n + 3\cdot 3 - 2 - 4 &&= a_{n-4} + (2\cdot 4)n + 3\cdot 4 - 2 - 4 - 6 \\ &= (a_{n-5} + 2(n-4) + 3) + (2\cdot 4)n + 3\cdot 4 - 2 - 4 - 6 &&= a_{n-5} + (2\cdot 5)n + 3\cdot 5 - 2 - 4 - 6 - 8 \\ &= \dots &&= \dots \end{align}$$
Can you see the pattern yet? $a_n = a_{n-k} + \text{something}$
Use the observation from "backtracking" to guess what that $\text{something}$ is.