Solve $x^5 - x = 0$ mod $4$ and mod $5$ I'm trying to solve $$x^5-x=0$$ in $\mathbb{Z/5Z}$ and $\mathbb{Z/4Z}$
I don't see how to proceed, could you tell me how ?
Thank you

In $\mathbb{Z}/5\mathbb{Z}$, the answer follows quickly from Fermat's Little Theorem.  
In $\mathbb{Z}/4\mathbb{Z}$, by the Euler Totient Theorem, we have
$$x^{\varphi(4)} \equiv x^2 \equiv 0 \mod 4$$
for $x$ coprime to $4$.  The only remaining cases are $x=0$ and $x=2$, which can easily be checked.

I observe that the above examples can be seen in broader context:  again by Fermat's Little Theorem, every element $x$ of $\mathbb{Z}/p\mathbb{Z}$ (p prime) satisfies $x^p - x = 0$ (and more generally, any element of the finite field $\mathbb{F}_{p^k}$ for all $k$).  Similarly, in $\mathbb{Z}/p^k\mathbb{Z}$, every element $x$ coprime to $p^k$ satisfies $x^{p^k+1} - x = 0$, since $\varphi(p^k) = p^{k-1}(p-1)$, and no other nonzero $x$ does, since we have for any noncoprime $x$ that $x = p^n$ for some $n\ge1$, so since $p^k+1 > k$, $p^k|x^{(p^k+1)}$.
