Use that $a^5\equiv a\pmod 5$ and if $(a,5) = 1$ then prove $a^4\equiv 1\pmod 5$
I´ve been trying to solve this but I don’t get any where
Use that $a^5\equiv a\pmod 5$ and if $(a,5) = 1$ then prove $a^4\equiv 1\pmod 5$
I´ve been trying to solve this but I don’t get any where
$a^{5} \equiv a \pmod 5 \implies 5|(a^{5}-a)=a(a^{4}-1)\implies a(a^{4}-1)=5k%$ for some integer $k$. Since $\gcd(a,5) =1,$ and by the uniqueness of prime factorizations, $5$ is a prime factor of the LHS, but not a prime factor of $a$. Hence, $5$ must be a prime factor of $a^{4} -1$ so that $5|(a^{4}-1) \implies a^{4} \equiv 1 \pmod 5.$