The Fermat-Euler theorem states that
Indeed, if are the reduced residue classes modulo , multiplication by permutes them. Therefore
The product is invertible modulo , so cancellation gives the theorem.
Now let be prime. If , then for , Fermat little theorem gives , while makes . Thus for every integer .
Conversely, assume this congruence holds for every . Choose a primitive root modulo . Then . Since has order , one has . Hence

Articles by others on the same topic (0)

There are currently no matching articles.