Beta Phase: Square45 is currently in beta testing. Expect some features or content to be incomplete or missing.
45

Fermat's Little Theorem

Crucial for primalit testing and cryptography.
📜

The statement of the theorem

If pp is a prime number, then for any integer aa, the number apaa^p - a is an integer multiple of pp.\napa(modp)a^p \equiv a \pmod{p}
Source: Wikipedia