Home > College Algebra calculators > Fermat's Little Theorem calculator

Method and examples
Fermat's Little Theorem calculator
Method  

Fermat's Little Theorem calculator
Find remainder of 3^87 mod 5 using `a^(p-1)-=1 ("mod "p)`
  1. `3^302 mod 5`
  2. `3^87 mod 5`
  3. `5^284 mod 7`
  4. `5^119 mod 59`
  5. `3^100,000 mod 53`

Fermat's Little Theorem calculator
If `p` is prime, `a` is not divisible by `p` then `a^(p-1)-=1 ("mod "p)`
a =
p =
  1. 3 and 5
  2. 3 and 7
  3. 7 and 11
  4. 7 and 13





Share this solution or page with your friends.
 
 
Copyright © 2025. All rights reserved. Terms, Privacy
 
 

.