Prove that $n^4$ for all $n\in{\mathbb Z}$ is congruent to 0 or 1 modulo 5. Hint from professor: Do so using different cases.
I am confused on how to prove this for all $n$. I understand that you can test a few numbers but I am stuck on how to show it is true for all $n$.