Suppose $a$ is a positive integer which is coprime to 10. Show that $$a^{2001} \equiv a \pmod {1000}$$
I know it has something to do with the Fermat-Euler theorem.
$\phi(1000) = 400$ and $a^{400}\equiv 1 \pmod {1000}$
However, I do not know how to proceed from here to show the congruence
Thank you so much!
– mathsnerd22 Feb 18 '20 at 11:26