Problem

Source:

Tags: modular arithmetic, Congruences



Show that there exists a composite number $n$ such that $a^n \equiv a \; \pmod{n}$ for all $a \in \mathbb{Z}$.