Did I do this correctly?
(basis) $\sum_{i=1}^{1} i^2=\frac{1(1+1)(2(1)+1)}{6}$ thus both sides are equal to 1.
(induction) Fixed $n$ and $k$ to be natural numbers. Assume $n=k$, then
$\sum_{i=1}^{k+1}i^2= \frac{k(k+1)(2k+1)}{6} + (k+1)^2$ by induction hypothesis.
$=\frac{k(k+1)(2k+1)+6(k+1)^2}{6}$
$=\frac{(k+1)(k(2k+1)+6(k+1))}{6}$
$=\frac{(k+1)(2k^2+7k+6))}{6}$
$=\frac{(k+1)(2k+3)(k+2))}{6}$
Eroge, the statement is true for the natural number n whenever it is true for any natural number less than n.