Prove that for $n \geqslant 1,$ the integer $n(n+1)(2 n+1)$ is divisible by $6.$
My attempt. We enough to show that $2|n(n+1)(2 n+1)$ and $3|n(n+1)(2 n+1)$. Note that any integer $n$ is of the form: $2k$ or $2k+1.$
So $n(n+1)(2n+1)=2k(2k+2)(4k+1)$. Hence $2|2k(2k+2)$, that is $2|n(n+1)$.
How can I continue this proof? Can you help?