I have to prove that this statement is true.
For $n = 1, 2, 3, ...,$ we have $ 1² + 2² + 3² + ... + n² = n(n + 1)(2n + 1)/6$
Basically I thought I'd use induction to prove this. Setting $n = p+1$, I got this so far:
Left hand side: $1² + 2² + 3² +...+ p² + (p+1)² = p² + (p+1)² = 2p² + 2p + 1$
Right hand side: $(p + 1)(p + 1 + 1)(2 * (p + 1) +1)/6$
This is all I've got. I've never worked with induction so I don't even know if this correct to begin. Any insight or solution to my problem is appreciated.
For proving an expression through induction. Check for the base case $n=1$,
Let $P(n)$ is true, $\sum_1^nk^2=1+4+9+ \dots n^2= P(n)=\dfrac{n(n+1)(2n+1)}{6}$.
You need to prove that $\sum_1^{n+1} (k)^2=1+4+9+ \dots (n+1)^2=P(n+1)=\dfrac{{(n+1)}{}(n+2)(2n+3)}{6}.$
Hint: $(k+1)^2=k^2+2k+1$ and $\sum_1^n k=\dfrac{n(n+1)}{2}, \sum_1^n 1=n$