Main menu

Number Theory Linear Algebra Polynomial Equation

Number theory

Smallest primitive root

Let n is a natural number greater than 1 and a is an integer such that gcd(a,n)=1. The order of a modulo n, denoted ordn(a), is the smallest positive integer k such that ak≡1(mod n)

It is always true that ordn(a)|ϕ(n). But if additionally ordn(a)=ϕ(n), where ϕ(n) is the value of Euler's totient function, then a is primitive root. The smallest element of the set of primitive roots is the smallest primitive root

Calculator

number: