So, I understand that congruence equation can be written as $a^3 -a = 3k$ ,$k\in \mathbb{Z}$. I also understand that this can be written as $a(a^2 - 1) = 3k$, which can be simplified further to show the multiplication of $3$ consecutive integers.
$(a-1)a(a+1) = 3k$
I'm just not sure where to go from here. Can anyone help?
$(a-1)a(a+1)$ is the product of $3$ consecutive numbers, hence at least one of them is a multiple of $3$.
Hence the product is a multiple of $3$ as well.
Remark: this is an example of Fermat's little theorem.