<-- Enter a
<-- Enter prime number (p)

How does the Fermats Little Theorem Calculator work?
Free Fermats Little Theorem Calculator - For any integer a and a prime number p, this demonstrates Fermats Little Theorem.
This calculator has 2 inputs.

What 1 formula is used for the Fermats Little Theorem Calculator?

ap ≡ a (mod p)

For more math formulas, check out our Formula Dossier
What 6 concepts are covered in the Fermats Little Theorem Calculator?
fermats little theorem
a whole number; a number that is not a fraction
the remainder of a division, after one number is divided by another.
a mod b
the product of any quantity and an integer
prime number
a natural number greater than 1 that is not a product of two smaller natural numbers.
A statement provable using logic