The sum of cubes of any three consecutive integers is divisible by $9$. i.e $(n^3 + (n+1)^3 + (n+2)^3)\mod9=0$ for every $n\in\mathbb{Z}$.
They say it is sufficient to check out for values of $n=0,1,2,3,...8$ due to properties of modular arithmetic. Why this is so ?
Thanks