Dftgyhj
Dftgyhj
Dftgyhj
• Problem 1, page 96: Reduce the following congruences to equivalent congruences of degree less
than or equal to 6.
Solution:
(c) Again, replacing x7 by x in this congruence gives that the original congruence is equiv-
alent −x4 + x3 + 4x − 3 (mod 7)
• Problem 2, page 96: Prove that 2x3 + 5x2 + 6x + 1 ≡ 0 (mod 7) has three solutions by the
use of Theorem 2.29.
Solution: By long division
x7 − x = (x3 + 6x2 + 3x + 4)(x4 − 6x3 + 33x2 + 184x + 1029) + 7(−822x2 − 336x − 588).
This was a very poor choice of a problem on my part. Too computationally messy.
x ≡ a1 , x ≡ a2 , · · · , x ≡ aj (mod p),
(A hint is provided.)
Solution: The proof is by induction on j. If j = 1, there is a root a1 of f (x). By long
division,
f (x) = (x − a1 )q(x) + r
where r is a constant and q(x) is a polynomial. Setting x = a1 and taking the result modulo
p gives
0 ≡ f (a1 ) ≡ 0 · q(a1 ) + r (mod p).
Problem Set 5 Solutions by Duane Broline 2
Hence r ≡ 0 (mod p) and f (x) ≡ (x − a1 )q(x) (mod p). Hence the result is true for j = 1.
Assume that the result is true for j = n − 1. Suppose that f (x) has n roots,
a1 , a2 , . . . , an .
Since f has n − 1 roots, a1 , a2 , . . . , an−1 , the inductive assumption implies that there is a
polynomial k(x) with
or
k(an ) ≡ 0 (mod p).
The first cannot occur since the roots are distinct. Hence the second occurs and by the
argument of the first paragraph,
• Problem 6, page 97: Let m be composite. Prove that Theorem 2.26 is false if “mod p” is
replaced by “mod m”.
Solution: As a counterexample, the congruence x2 ≡ 1 (mod 8) has 4 solutions modulo
8. These solutions are 1,3,5,7 mod 8.
• Problem 1, page 106: Find a primitive root for the prime 3; for the prime 5; for the prime 7;
the prime 13.
Solution: Except for 7, 2 is a primitive root. This can either be done by showing there are
p − 1 different powers of 2 modulo p, p = 3, 5, 13 or by showing:
for 3: 21 6≡ 1 (mod 3).
for 5: 22 6≡ 1 (mod 3).
for 13: 26 6≡ 1 (mod 13) and 24 6≡ 1 (mod 13)
For 7, 3 is a primitive root (since 32 6≡ 1 (mod 7) and 33 6≡ 1 (mod 7).
Problem Set 5 Solutions by Duane Broline 3
• Problem 3, page 106: How many primitive roots does the prime 13 have? Find them all.
Solution: Since 2 has order 12 modulo 13, 2h where (h, 12) = 1 will also have order 12.
Thus, there are φ(12) = 4 primitive roots modulo 13. These are
• Problem 6, page 106: If a belongs to the exponent h modulo m, prove that no two of
a, a2 , . . . , ah
• Problem 8, page 106: Use Theorem 2.37 to determine how many solutions each of the following
congruences has:
Solution:
(a) Note that (12, 16) = 4 and 1616/4 ≡ 1 (mod 17). Hence, there are 4 solutions modulo
17.
(b) Note that (48, 16) = 16 and 916/16 6≡ 1 (mod 17). Hence, there are no solutions modulo
17.
(c) Note that (20, 16) = 4 and 1316/4 ≡ 1 (mod 17). Hence, there are 4 solutions modulo
17.
(d) Note that (11, 16) = 1 and 916 ≡ 1 (mod 17). Hence, there is a unique solution modulo
17.
• Problem 10, page 106: Find the sequence of powers of 3 (mod 17). Use this information to
find the solutions of the congruences in Problem 8.
Solution: The powers of 3 are
n 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
3n 31 32 33 34 35 36 37 38 39 310 311 312 313 314 315 316
3n mod 17 3 9 10 13 5 15 11 16 14 8 7 4 12 2 6 1
Problem Set 5 Solutions by Duane Broline 4
(a) x12 ≡ 16 (mod 17) is equivalent to 312i ≡ 38 (mod 17), by setting x = 3i . Since
3 is a primitive root modulo 17, this congruence is equivalent to 12i ≡ 8 (mod 16).
This last congruence is equivalent to 3i ≡ 2 (mod 4). Hence i = 2, 6, 8, 10 mod 16 and
x = 9, 15, 16, 4 mod 17.
(b) x48 ≡ 9 (mod 17) is equivalent to 348i ≡ 32 (mod 17), by setting x = 3i . Since 3 is a
primitive root modulo 17, this congruence is equivalent to 48i ≡ 2 (mod 16). This last
congruence is equivalent to 0 ≡ 2 (mod 16) which has no solution.
(c) x20 ≡ 13 (mod 17) is equivalent to 320i ≡ 34 (mod 17), by setting x = 3i . Since 3 is
a primitive root modulo 17, this congruence is equivalent to 20i ≡ 4 (mod 16). This
last congruence is equivalent to 5i ≡ 1 (mod 4). Hence, i = 1, 5, 9, 13 mod 16. and
x = 3, 5, 14, 4 mod 17.
(d) x11 ≡ 9 (mod 17) is equivalent to 311i ≡ 32 (mod 17), by setting x = 3i . Since 3 is a
primitive root modulo 17, this congruence is equivalent to 11i ≡ 2 (mod 16). This last
congruence has a unique solution modulo 16, namely i = 6 mod 16. Hence x = 15 mod
17.
• Problem 11, page 106: Using the data in the preceding problem, decide which of the congru-
ences
x2 ≡ 1, x2 ≡ 2, . . . , x2 ≡ 16 (mod 17),
have solutions.
Solution: x2 ≡ a has as solution if and only if
• Problem 15, page 106: Prove that if a belongs to the exponent h modulo a prime p, and if h
is even, then ah/2 ≡ −1 (mod p).
Solution: If h is even, then h/2 is an integer. Let b = ah/2 . Since b2 ≡ ah ≡ 1 (mod p),
Lemma 2.10 shows that either b ≡ 1 (mod p) or b ≡ −1 (mod p). Since the first would
imply that ah/2 ≡ 1 (mod p), contrary to the assumption that a has belongs to the exponent
h modulo p, it must be that b ≡ −1 (mod p), as desired.
• Problem 18, page 107: Show that if g and g 0 are primitive roots modulo an odd prime p, then
gg 0 is not a primitive root of p.
Solution: Now g belongs to the exponent p − 1 modulo p. Since p − 1 is even, the previous
problem implies
g (p−1)/2 ≡ −1 (mod p).
Similarly,
(g 0 )(p−1)/2 ≡ −1 (mod p).
Hence,
(gg 0 )(p − 1)/2 ≡ 1 (mod p).
Problem Set 5 Solutions by Duane Broline 5
• Use the facts that 12 is a primitive root modulo 103 and that 1214 ≡ 2 (mod 103) to find all
solutions to the congruence
x10 ≡ 2 (mod 103).
are 32 and 83 mod 102. The solutions to the original congruence are