Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 4.3.29* (The sum $S$ of all the primitive roots modulo $p$ satisfies $S \equiv \mu(p-1) \pmod p$)
Exercise 4.3.29* (The sum $S$ of all the primitive roots modulo $p$ satisfies $S \equiv \mu(p-1) \pmod p$)
Answers
Proof.
- (a)
-
As usual, we write
the field
with
elements, and if
, we write
(or
if
is fixed) the class of
in
. If
is a (formal) polynomial, we write indifferently
or
this polynomial.
Let denote the monic polynomial with coefficients in whose roots are the elements of of order :
By Fermat’s Theorem, for all , therefore the order of any element of divides , so the product in the right member is empty if and then .
(For instance, if , then the elements of order 12 in are , so , and ; chance and coincidences ...)
First, with the same proof as in Problem 26, we show by “copy and paste” that
By definition, for every divisor of ,
where is the subset of of the elements of order in the group :
Since the order of every element of divides ,
Therefore
This shows that
Next, consider the map
where each coefficient of is replaced in by its class modulo .
Then is a ring homomorphism (i.e. for all polynomials in , and ).
We prove by strong induction that for every divisor of .
First, is the only element with order , so
Suppose now that is a divisor of , and that is true for every divisor of less that . Then by (1) and the induction hypothesis,
so
Moreover, by Problem 26, , and is a ring homomorphism, so
Since , we have . Since is a field, is an integral domain, so the comparison of (2) and (3) gives , and the induction is done.
In conclusion, for all divisors of ,
In the particular case , as in the preceding example, . The roots of are the elements of of order , so they are the primitive roots of unity in .
An integer is a solution of the congruence if and only if . Since the roots of are the primitive roots in , we can conclude:
An integer is a solution of the congruence if and only if is a primitive root modulo .
- (b)
-
Since the primitive roots in
(the elements of order
in
) are the roots of
, the sum of these primitive roots is the opposite of the coefficent of
in
.
By Problem 26, we know that the coefficient of is , so
So
Therefore
If are the primitive roots modulo in , then are the elements of order in , thus , so
The sum of all the primitive roots modulo satisfies .
Example: for , the primitive roots modulo are , and