Let $n$ a natural number non zero
Prove that: $$n^5 \equiv n\mod 30$$
I have tried to use fermat theorem and little fermat i can't find any result
Let $n$ a natural number non zero
Prove that: $$n^5 \equiv n\mod 30$$
I have tried to use fermat theorem and little fermat i can't find any result
First, $n^5 - n$ is a multiple of 5 according to Fermat's Little Theorem. Second, $n^5 - n$ is a multiple of 2, because $n^5$ has the same pairty as $n$. Finally, $n^5 - n$ is a multiple of 3: if $n$ is divisible by 3 then $n^5 - n$ is also divisible by 3; if $n \equiv 1$ then $n^5 \equiv n \equiv 1$ and if $n \equiv 2$ then $n^5 \equiv n \equiv 2$.
Thus, $n^5 - n$ is a multiple of $5 \cdot 2 \cdot 3 = 30$.