Primitive Roots Calculator

Topic: Number Theory, Modulo Arithmetics

Express the given quotient as the power of some primitive root using the given modulus.

Example: To find integer solutions of x15 = 7 mod 19, requires knowing the primitive roots of mod 19, which are 2, 3, 10, 13, 14, and 15. This tool rewrites the 7 (quotient) as a root raised to some power, and rewrites x = rooty.

Ex. The 6 in x9 = 6 mod 7
Ex. The 7 in x9 = 6 mod 7
Space-separated list. Ex. For mod 7, input: 3 5
The program searches up to this number. Increase if results are empty.

Loading Python environment...