Read · 2 min
When is the unit group cyclic (generated by a primitive root)?
For a positive integer , the number of positive integers less than or equal to and co-prime to is called the totient function . For example, and . We will not prove properties of here. We just need to know that for a prime and for co-prime .
The set of positive integers less than or equal to and co-prime to forms a group under the operation: multiplication . That is, for two elements and , . Let's denote this by . Be sure to check that really is a group under this operation!
We are interested in the question: For which , has a generator? That is, it has an element so that produces all elements of . In other words, does there exist a so that ? In fact, such a is called the primitive root of . Now, we will find out which has a primitive root.
Let's check some values by hand. and works, and so does all primes . What about for ?
We already know that, if is odd, then divides . Then, by the identity: we get that, On the right side, for odd , is divisible by and each terms is divisibly by . So for any odd , is divisible by . And this shows doesn't have any primitive root.
Let where and . Now, for any , . Let the order of and modulo be and . \begin{eqnarray*} g^d & \equiv & 1\pmod a\newline g^e & \equiv & 1\pmod b \end{eqnarray*} Now, we know that for any with and , . From Euler-Fermat's theorem,
Therefore, . On the other hand, where is the least common multiple of and . Now, both and are even since . Therefore,
\begin{eqnarray*} [\varphi(a),\varphi(b)] & \leq & \dfrac{\varphi(a)\varphi(b)}2\newline & = & \dfrac{\varphi(ab)}2\newline & = & \dfrac{\varphi(n)}2 \end{eqnarray*} This gives us that for such , there is no for which . So at least one of and must be less than or equal to , and the other must be a prime power.
Summary The only for which has a primitive root are for an odd prime . And so, is cyclic for only those .