Fermat's Little Theorem
Note: This theorem is a special case of Euler's totient theorem.
A frequently used corolary of Fermat's little theorem is . As you can see, it is derived by multipling both sides of the theorem by a.
This theorem is credited to Pierre Fermat.