Enter a prime

Enter b


How does the Primitive Root Calculator work?
Free Primitive Root Calculator - Given a prime number p and a potential root of b, this determines if b is a primitive root of p.
This calculator has 2 inputs.

What 1 formula is used for the Primitive Root Calculator?

bn - 1 mod p

For more math formulas, check out our Formula Dossier
What 3 concepts are covered in the Primitive Root Calculator?
the remainder of a division, after one number is divided by another.
a mod b
prime number
a natural number greater than 1 that is not a product of two smaller natural numbers.
primitive root
if every number a coprime to n is congruent to a power of g modulo n
Example calculations for the Primitive Root Calculator

Primitive Root Calculator Video

Primitive Root Calculator Video