0% found this document useful (0 votes)
26 views4 pages

Primitive Roots Modulo 17 and 29

The document provides a handout on primitive roots for a number theory course, detailing essential concepts from lectures, including definitions, propositions, and theorems related to primitive roots modulo integers. It includes hints for exercises that involve finding primitive roots and understanding their properties, particularly for odd primes and their powers. The document emphasizes the importance of specific conditions and calculations necessary to determine primitive roots and their existence for various integers.

Uploaded by

p.jonflynn
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views4 pages

Primitive Roots Modulo 17 and 29

The document provides a handout on primitive roots for a number theory course, detailing essential concepts from lectures, including definitions, propositions, and theorems related to primitive roots modulo integers. It includes hints for exercises that involve finding primitive roots and understanding their properties, particularly for odd primes and their powers. The document emphasizes the importance of specific conditions and calculations necessary to determine primitive roots and their existence for various integers.

Uploaded by

p.jonflynn
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

MA40238 NUMBER THEORY 2013/14 SEMESTER 1

HANDOUT ON PRIMITIVE ROOTS

ZIYU ZHANG

1. What you need to know from the lectures

You need to know everything from the lecture on Monday 13/10. This covers everything
from Definition 3.1 to Corollary 3.5 in the lecture notes posted on the webpage.

From the lecture on Tuesday 14/10, you need to know the following (all numberings refer
to the lecture notes posted on the webpage):

The statement of Proposition 3.8:

For any odd prime p and any integer l ¥ 2, Zpl is cyclic; i.e. there
exist primitive roots modulo pl .

The statement in Remark 3.9 (which was proved in Proposition 3.8):

For any odd prime p and any integer l ¥ 2, let g P Z and p  g.


Suppose g is a primitive root modulo p and g p1  1 pmod p2 q, then
g is a primitive root modulo pl .

This provides a convenient way for finding primitive roots modulo high powers of
odd primes.

The statement of Proposition 3.6:

For any positive integer l, Z2l is not cyclic unless l  1, 2.

The statement of Theorem 3.10 (which I will explain on Friday 17/10):

For any integer m ¥ 2, Zm is cyclic (in other words, there exist
primitive roots modulo m) iff m  2, 4, pl or 2pl , where p is any odd
prime and l is any positive integer.

You should be able to use this theorem to rule out the numbers which do not
possess primitive roots.

Date: October 15, 2014.


1
2. Hints to Exercise 3.1

Here is an example which shows how you might want to approach such a problem.

Suppose we want to find a primitive root modulo 17. Then we are looking for some a P Z,
hcf pa, 17q  1, such that a is a generator of Z17 . In other words, a has order φp17q  16
in Z17 . If we just pick an arbitrary a, a might not have order 16. Instead, its order could
be any other positive divisor d of 16, namely, 1, 2, 4 or 8. We want to rule out these
situations. In other words, we want to find some a P Z, hcf pa, 17q  1, satisfying the
requirement ad  1 pmod 17q for d  1, 2, 4 or 8.

The main idea to find such an a is test and error. We try small values of a coprime to
17 one by one until we find a right one. a  1 is not worth trying since 11  1 pmod 17q
which violates our requirement for a. Now we try a  2. 21  2 pmod 17q, good. 22  4
pmod 17q, good. 24  16  1 pmod 17q, good. 28  p1q2  1 pmod 17q, which violates
our requirement for a. We are sad because 2 is not a primitive root, so we have to start
over and try a  3. This time, 31  3 pmod 17q, 32  9 pmod 17q, 34  92  13  4
pmod 17q, 38  p4q2  1 pmod 17q. We are now happy because the order of 3 modulo
17 is not among 1, 2, 4 and 8. So its order must be 16 (because its order has to be a
positive divisor of 16). We conclude a  3 is a primitive root modulo 17.

Suppose we want to go one step further and find all primitive roots modulo 17. We use
Remark 3.2 (3) from lecture. We know 3 is a generator of Z17 , hence all generators of
Z17 are given by 3 , where 0 ¤ k 16, hcf pk, 16q  1; i.e., k  1, 3, 5, 7, 9, 11, 13, 15.
k

We can compute them explicitly one by one. 31  3 pmod 17q, 33  27  10 pmod 17q,
35  33 32  10  9  5 pmod 17q, etc. In Exercise 3.1 you have much smaller numbers to
work with, so the computation should not be too complicated. In this example, we can
continue the calculation to get 37  11 pmod 17q, 39  14 pmod 17q, 311  7 pmod 17q,
313  12 pmod 17q, 315  6 pmod 17q. Conclusion: a P Z is a primitive root modulo 17
iff a is congruent to any of the following numbers modulo 17: 3, 10, 5, 11, 14, 7, 12 or 6.

Suppose we want to go one step further in another direction and find a primitive root for
175 . We need to use Remark 3.9. That is, we need to find some a P Z which is a primitive
root modulo 17 and a16  1 pmod 172 q. We already know 3 is a primitive root modulo
17. It remains to check whether 316  1 pmod 172 q holds. We have quite large numbers
here, but in Exercise 3.1 you get numbers which are much more manageable. In this
example we need the following calculation: 172  289; 34  81; 38  812  6561  203
pmod 289q; 316  2032  41209  171  1 pmod 289q. Conclusion: 3 is a primitive root
modulo 175 . Indeed, 3 is a primitive root modulo 17l for every l ¥ 2 by Remark 3.9.

Finally, suppose we are asked to find any primitive root modulo 170 instead of 17. We need
to check if 170 has one of the forms in the list in Theorem 3.10. The prime factorisation
of 170 is 170  2  5  17, which has two distinct odd prime factors, thus is not in the list.
It follows that there is no primitive root modulo 170. In other words, Z170 is not cyclic.
2
3. Hints to Exercises 3.2 and 3.3

These two problems are simple yet important applications of primitive roots. Here are
some hints, but you need to supply more details when writing down your own proofs.

Exercise 3.2:

For part (1), for any a P Z coprime to p, “a has order d modulo p” means “a has order d
in Zp ”. Equivalently, ad  1 pmod pq and ak  1 pmod pq for any 1 ¤ k ¤ d  1. In this
p1
part of the problem we need to check these two conditions for a  g d , both of which
rely on the assumption that g is a primitive root modulo p (or equivalently, g has order
p  1 modulo p).

Part (2) uses part (1). It is helpful to realise that a2  1 pmod pq is equivalent to
p  pa2  1q  pa 1qpa  1q.

For part (3), assume g is a primitive root modulo 29, then g 28  1 pmod 29q. We can
use this to prove that x  g 4k pmod 29q are always solutions. We can actually restrict
ourselves to the values k  0, 1, 2, 3, 4, 5, 6, because g 4k does not give new congruence class
for any other k P Z. To prove there are no other solutions, you just need to realise that
Z29 is a field. An equation of degree 7 can have at most 7 solutions in this field by Lemma
3.3 (or equivalently, at most 7 congruence classes modulo 29). If you have already found
7 solutions (as above), you should have found all.

Exercise 3.3:

For part (1), the “if” part is a simple observation. For the “only if” part, you need to
realise that any solution x must be coprime to p, hence is in the congruence class of g k
for some k P Z.

Part (2) is extremely important because we will need to use this result next week. Using
p 1
part (1), you only need to show that a  g dk pmod pq iff a d  1 pmod pq. This time
the “only if” part is straightforward. For the “if” part, you need to realise that a is in the
congruence class of g l for some l P Z. And you just need to show l is a multiple of d.

For part (3), you need to use part (1) and the primitive root found in Exercise 3.1 (1).
By allowing k to take various values you can get all values for a.

If you do everything correctly, then the values you found in parts (3) of these two exercises
should agree. This is not a coincidence. Enthusiasts can try to figure out what the magic
pattern is.

3
4. Hints to Exercise 3.4

There is, unfortunately, a typo in this problem. In the second line of part (3), g l should
be corrected to pl . This exercise is a little more challenging. Some similar techniques were
used in the proof of Proposition 3.8, but you can still do this exercise without reading
that proof. Here are some hints, but you need to supply more details when writing down
your own proofs.

For part (1), a hint is already given to you. If you take p-th powers on both sides of
the equation in the hint and expand the right-hand side using binomial expansion, then
you can see that every term on the right-hand side, except bp , is divisible by pl 1 , which
proves the statement.

For part (2), you can assume the order of g modulo pm is d. The goal is to show d  φppm q.
It suffices to prove that d  φppm q and φppm q  d. For the first division, notice that Zpm
has order φppm q, hence the order d of any element g is a positive divisor of φppm q. For
the second division, you need to apply part (1) on the congruence g d  1 pmod pm q
n m
repeatedly, more precisely, n  m times. Then you will reach the congruence g dp 1
pmod p q. Since g has order φpp q modulo p (because g is a primitive root modulo pn),
n n n

we must have φppn q  dpnm . Using the formula for φ-function we can get the second
division.

For part (3), the sufficiency is stated in Remark 3.9. For the necessity, you need to use
part (2). More precisely, if g is a primitive root modulo pl for some l ¥ 2, then g is a
primitive root modulo p and p2 , which give the two conditions in the statement.

Don’t you think it’s fun to play with the congruences? :-)

Common questions

Powered by AI

Exercise 3.1 suggests using smaller numbers and manageable calculations when identifying primitive roots by testing coprime integers systematically and verifying their order relative to φ(m). This trial-and-error method discards non-primitive roots quickly by checking specific divisors of φ(m), streamlining the identification process .

Z_29 is a field; therefore, a polynomial equation of degree n can have at most n solutions in this field. Lemma 3.3 suggests that a degree 7 equation over Z_29 can have at most 7 distinct congruence classes modulo 29. For the equation x ≡ g^4k mod 29, where g is a primitive root, these solutions reflect different powers of g that satisfy the congruence, not exceeding 7 in accordance with the degree of the equation .

The number 170 has the prime factorization 2 × 5 × 17, which includes two distinct odd prime factors. According to Theorem 3.10, for Z_m to be cyclic and have primitive roots, m must be either 2, 4, p^l, or 2p^l, where p is an odd prime and l is a positive integer. Since 170 does not fit this form, it does not have a primitive root .

For any integer m ≥ 2, Z_m is cyclic, which means there are primitive roots modulo m if and only if m is 2, 4, p^l, or 2p^l, where p is any odd prime and l is any positive integer .

In proving part (1) of Exercise 3.4, taking p-th powers on both sides of an equation and using binomial expansion shows that every term on the right-hand side, except the term b^p, is divisible by p^(l−1). The binomial expansion is used to separate terms that contribute to divisibility by higher powers, confirming the statement .

Once a generator g of Z_17 is identified, all its primitive roots are obtained by computing g^k for 0 ≤ k < 16, such that gcd(k, 16) = 1. For Z_17, 3 is a primitive root. Thus, all primitive roots are among 3^k where k satisfies the gcd condition, leading to the values: 3, 10, 5, 11, 14, 7, 12, and 6 modulo 17 .

To determine if a number a is a primitive root modulo 17, check if a has order 16, the value of φ(17), which is the totient function for 17. This involves verifying that a^d ≢ 1 mod 17 for all divisors d of 16 except 16 itself (i.e., d = 1, 2, 4, 8). Through trial and testing small coprime values, it was found that 3 is a primitive root modulo 17 because its order divides only 16 .

Theorem 3.10 specifies that integers not in the form of 2, 4, p^l, or 2p^l (where p is an odd prime and l a positive integer) do not have primitive roots, as they don’t allow Z_m to be cyclic. Thus, any integer that factors into two or more distinct odd primes, or does not fit the specified forms, immediately indicates that it lacks primitive roots .

Part (2) shows that the order of an element g modulo a prime power pm is a divisor of φ(pm), the totient function. It proves d | φ(pm) and φ(pm) | d by taking repeated congruences of g^d ≡ 1 mod pm. It demonstrates using these congruences and the order φ(p^n) of g modulo p^n for large n that d must align with φ(pm), proving g can be a generator under specific conditions .

Proposition 3.8 states that for any odd prime p and integer l ≥ 2, Z_p^l is cyclic, implying the existence of primitive roots modulo p^l. Remark 3.9 builds on this by explaining that if g is a primitive root modulo p and g^(p−1) ≡ 1 mod p^2, then g is also a primitive root modulo p^l for every l ≥ 2. This allows leveraging a primitive root modulo a base prime to find roots for its higher powers .

You might also like