Question:
Prove for every natural $n$ that if $n$ is odd then $ n^{3} - n$ is divisible by $8$.
Hint: $ n^{3} - n = n(n-1)(n+1)$
My attempt:
If $n$ is odd then $ n = 2k+1$ for some integer $k$. Then, $ (2k+1)(2k)(2k+2) = (2k+1)(4k)(k+1)$
From here how do I show that the expression can be multiplied by 8? Should I break it into cases when $k$ is even and when $k$ is odd?
Hint: Consider separately the cases where $k$ is even and when $k$ is odd.
A full answer is hidden below.