Show that $24 \mid (n - 1)n(n + 1)(n + 2)$ for all positive integers $n$.
Since $24 = 2^3 \cdot 3$ it follows that $(n - 1)n(n + 1)(n + 2)$ is divisible by $3$ since it contains the product of three consecutive numbers.
If $n$ is odd then $n-1$ and $n+1$ are even and other one of them is divisible by $2$ and the other by $4$, thus the product is divisible by $2^3$.
If $n$ is even then $n$ and $n+2$ are both even and similar reasoning follows that other one is divisible by $2$ and the other by $4$.
Is this correct? For the odd case if I have that $n=1$ then $n-1=0$ and $n+1=2$, but neither one is divisible by $4$ here? Or does $0$ count as being divisible by $4$?