☰
Services
Products
Showcase
Contact
Fermat's Little Theorem & Primality Checker
Fermat's Little Theorem & Primality Checker
Check Primality and Fermat's Condition
Enter values for
p
and
a
to test if:
p
is prime (using the AKS primality test).
If
p
is prime and not divisible by
a
, then Fermat's Little Theorem states:
a^(p-1) ≡ 1 (mod p)
.
Value of p (must be a positive integer):
Value of a (must be a positive integer):
Check
Results
© 2024 Web Wizards SG Fermat Checker using AKS Primality. All Rights Reserved.