Solution

ID: past-exam-of-the-options-ii-course-of-the-university-of-oxford/2010/c/c2/i/solution

A primitive root modulo is a residue class generating the cyclic multiplicative group , so its order is . If is one generator, all generators are with . Thus the number is
where is Euler's totient function. This includes , with .

New to topics? Read the docs here!