from here
Consider the sequence $5, 0, -8, -17, -25, -30, \dots$ given by the recursion shown.
$$a_0 = 5 \\ a_n = a_{n - 1} + n^2 - 6$$
Is this correct? I can calculate $a_1$:
$$a_1 = 5 + 1^2 - 6 = 0$$
But i can't calculate $a_2$:
$$a_2 = 0 + 2^2 - 6 = -2$$
But $-2 \not= -8$ (I also get a mistake when $n>2$)
What am i doing wrong? Or Is there a mistake on that website?