Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Fermat's little
theorem (not to be confused with Fermat's last theorem) states that if p
is a prime number, then for any integer a, a p ¿ a will be evenly
divisible by p. This can be expressed in the notation of modular
arithmetic as follows: a^p equiv a pmod{p}.,!