Orbite racine primitive

Orbite d'un^k mod n sur un cercle ; ordre multiplicatif et test de racine primitive.

About this tool

Orbit of ak (mod n) on the residue circle. Reports multiplicative order ord(a) and whether a is a primitive root (ord(a) = φ(n)).