How would I show this?
I tried letting $k=2n+1$ for some $n\in\mathbb{Z}$, then
$$(k-1)k(k+1) = 4n(2n + 1)(n+1).$$
I have shown that $4n(n+1)$ is divisible by $8$... but am unsure of how to get the $3$ factor there.
How would I show this?
I tried letting $k=2n+1$ for some $n\in\mathbb{Z}$, then
$$(k-1)k(k+1) = 4n(2n + 1)(n+1).$$
I have shown that $4n(n+1)$ is divisible by $8$... but am unsure of how to get the $3$ factor there.
HINT:
$$4n(2n+1)(n+1)=2n(2n+1)(2n+2)$$ is the product of three consecutive integers, hence exactly one of them must be divisible by $3$
An alternative.
Mod $3$, $k^3\equiv k$ by Fermat's Little Theorem.
It's a useful fact that $1^2\equiv3^2\equiv5^2\equiv7^2\equiv1$ mod $8$. In other words, if $k$ is odd, then $k^2\equiv1$ mod $8$. So mod $8$, $k^3\equiv k$.
Together this gives that $k^3\equiv k$ mod $24$ when $k$ is odd. So $24$ divides $k^3-k=k(k-1)(k+1)$ when $k$ is odd.
This is true for $k=1$ because the product is zero.
Assume it is true for $k=2r-1$, then $$(2r+2)(2r+1)2r-2r(2r-1)(2r-2)=2r(4r^2+6r+2-4r^2+6r-2)=24r$$ so it is true also for $2r+1=2(r+1)-1$ and you are done by induction.
Easier, perhaps, to observe that of three consecutive integers one will be divisible by $3$ and of two consecutive even numbers one will be divisible by $4$.