1. Finding and listing primitive roots modulo 23
Cryptography studentBackground
Studying discrete logarithms in cyclic prime fields and needs all valid generators modulo 23.
Problem
Find the smallest primitive root and enumerate all generators for modulus 23.
How to use
Enter 23 into Modulus n and select the 'Also list primitive roots (up to 50)' output mode.
n = 23, mode = listOutcome
Returns smallest generator g = 5, certification steps 5^11 ≡ 22 and 5^2 ≡ 2 (mod 23), total count φ(22) = 10, and lists all 10 roots: 5, 7, 10, 11, 14, 15, 17, 19, 20, 21.