Modulo Arithmetic/Examples/Residue of 2^512 Modulo 5

Example of Modulo Arithmetic
The least positive residue of $2^{512} \pmod 5$ is $1$.

Proof
Hence the result.