So I have this very simple modular arithmetic question:
How do I prove that squares of a non multiple of 3 is always congruent to 1 mod 3? In math terms, how do I prove
for $n \not\equiv 0 \pmod{3}$,
$n^2 \equiv 1 \pmod{3}$
Might seem a little simple, just wanted a proof,
Thank you Stack Exchange community.