I'm looking for some assistance to the following problem:
$$\sum_{k=3}^{n}(k^2 - 3) = \sum_{k=3}^{n}{k^2} - \sum_{k=3}^{n}{3}$$ $$= \frac{n(n+1)(2n+1)}{6} - 3n$$
However, I know the last term is incorrect, as the answer is given as
$$\frac{n(n+1)(2n+1)}{6} - 3n + 1$$
Knowing the identity of $\sum_{i=1}^{n}3 = 3n$, how do I arrive at the last term?
Thanks.
Using the identity $$\sum_{i=1}^n i^2=\frac{n(n+1)(2n+1)}{6},$$ gives $$1+4+\sum_{i=3}^n i^2=\frac{n(n+1)(2n+1)}{6}.$$ and hence $$\sum_{i=3}^n i^2=\frac{n(n+1)(2n+1)}{6}-5.$$ We also have $$\sum_{i=3}^n 3=3n-6.$$ Substracting the one of these from the other gives the desired answer.