A primitive root modulo is a generator of the cyclic multiplicative group , so it has order . If is one generator, the generators are exactly with . Hence there are . For the group is trivial and its unique element is its generator, consistently with .
For , the zero residue contributes zero. Multiplication by any nonzero permutes the nonzero residues, so the sum satisfies in . If , choose a primitive root ; then , forcing . If , every nonzero term equals one, so in the field.
The printed display also mentions , although its introductory assumption is . For that extra case the sum of the integer values for is , so that branch is consistent too. The result is
The Legendre symbol being one means is nonzero and a square modulo . Take one root . Factoring in the field shows that any root is or . Since is odd these are distinct. Thus there are exactly solutions.
Each nonzero quadratic residue is attained twice as for . Therefore twice the sum of those residues is , which is zero modulo by (ii), since . As two is invertible modulo , the sum of the residues is zero. The sum of all nonzero residues is , so subtracting gives the same result for the nonresidues. Hence .
By (ii), failure of divisibility is equivalent to . The positive divisors of are ; adding one gives . Retaining only primes yields

Articles by others on the same topic (0)

There are currently no matching articles.