<-- 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
integer
a whole number; a number that is not a fraction
...,-5,-4,-3,-2,-1,0,1,2,3,4,5,...
modulus
the remainder of a division, after one number is divided by another.
a mod b
multiple
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.
theorem
A statement provable using logic