Fermat's theorem
noun Mathematics.
the theorem that an integer raised to a prime power leaves the same remainder as the integer itself when divided by the prime.
Origin of Fermat's theorem
First recorded in 1805–15; named after P. de
Fermat