Professional Documents
Culture Documents
p.
nisa prime > p. If n is not a prime, then n is divisible by &
62. When n = 7,pipzpapspapapr +L = 2-3-5-T- 11-13-17 +1 = 910,510 and ps = 19. Clearly,
Ps S pupapapapspepr + 1
64, We have pipapapapspsprpapspio + 1 = 2-3-5-7-11-13-17-19.23-29 +1 = 6,469, 693,230 and
Pir = BL. Clearly, pit S PupapsaPsPaPrPspaPio + 1
aes
68. proof:
S {rte + kp)
an(na + kp)" ++--bay(no + kp) + a0
"
(ann§ +++ arng +00) + p(k)
Ano) + pa(k) = p+ palk) = Pll +9(k)]
where gi a polynomial with integral coefficients. Therefore, plf(no-+kp), thus f(no-+kp) is composite
70. By = 510511 = 19. 26869
72. proof: Lot N be the number of primes 11, k! = 0 (mod 11). Therefore:
WM. F100! = 1142+...+ 10! (mod 11)
1424+6+241045+2+541+10 (mod 11)
0 (mod 11)
‘Thus the desired remainder is 0
22, When k > 5, k! =0 (mod 10). Therefore:
WHDS...4100! = 14214314 4! (mod 10)
142-4644 (mod 10)
= 3 (mod 11)
‘Thus the ones digit is 3,24.
26.
28,
30,
32.
34,
36,
38,
7
sn =n. Tf n is even, say, 2h, then n? =O (mod 4). If m is odd, say, 2k+1, then n? = (2k+1)? =
4k? 44k +1=1 (mod 4). Thus the ones digit in the base-four representation of sq is 0 or 1.
132001 = (42001 — 42001 — (429800, 4 — (1600. g =
13 (inod 17)
‘The desired remainder is 13.
Since 23 = 0 (mod 23), 23% =
(mod 23). Thus the remainder is 0.
2,
(mod 19) and 13! = 1 (mod 19),
7202 = (789967 7 = 1687.7 © 7 (mod 19) and
1310 (1318)66 1396 = 199-199-137 = 1-(-1) 10
oor _ 1024
10 = 9 (mod 19). ‘Therefore,
17 (mod 19), so the desired remainder is 17.
954
We have:
23 = —4 (mod 19)
(-4)? = 16 (mod 19)
16° = 11 (mod 19)
ut = 11(mod 19)
1 = 7 (mod 19)
7 = 1 (mod 19)
‘Thus, when 231°! jg divided by 19, the remainder is 1
410" = 24 (mod 100). Therefore:
ast (qt0oyet, yoo
24)" 4%. 56 (mod 100)
= 24.489. 56 = 249.248. (24) 56 (mod 100)
(-24)(—24)(—24) 56 = 56 (mod 100)
it number is 56.
‘Thus the last two.
19175 = (199)29 417%? = (419)? 41° (mod 1000)
12077 241 = (12149 - 1219-241 (mod 1000)
(-119) 561 241 = 1194. 119. 201 (mod 1000)
(-79) 161 +201 = 481 (mod 1000)
‘Thus the last three-digit mumber is 481.
1773 = 3 (mod 10)
1 (mod 10) if =0 (mod 4)
gee] 3 fanod 19) I (mod 4)
~\ 9 (mod 10) 2 (mod 4)
7 (mod 10) 3 (mod 4)
Since 1776 = 0 (mod 4), 1776" = 0 (mod 4). Therefore, a = 0 (mod 4), so the desired re:n
40.
42.
4
CHAPTER 4.
When k > 5, kt =0 (inod 15). Therefore:
UWHM+BE. +1001 = 42a bat
= 14246424
3 (aod 15)
‘Thus the desired digit Is 3.
When & > 4, kt = 0 (mod 24), Using a 24-hour clock, 15-+ > kl
the time will be midnight. a
Notice that:
1043 > (9)IM43
3204.5
>
Therefore,
wwe THe ES 1S
It follows by (4.1) that
| g2000 _ 200
Wy Way
austen
query ted 10)
Sineo (10°? 4-3, 10) = 1, 10° has unique inverse b modulo 10:
(10°43) = 1 (mod 10)
3b = 1 (mod 10)
b = -8 (mod 10)
Using equation (4.2),
LN) = 3°" (mod 10)
= (331.3 (mod 10)
= (-1)!.3 (mod 10)
3 {mod 10)
So the ones digit in [.V] is 3
CONGRUENCES
5+ 1421-43! = 0 (mod 24). So
(4)
(4.2)73
46. We have 2, 5, 26, 677, 9853, 4521, 3436,
and 12121 = 91-391 = 17-28-31
(3, 10566, 5947, 9853, ...; (v4 — 22,12121) = 31, 31]12121
48, proof: Since n?—n = n(n—1) is the product of pwo consecutive integers, it iseven. n®—n = 0 (mod 2);
1 (mod 2).
that i,m!
50. proof (by PMI: Since 2° +30
true for an arbitrary integer k > 0: 24 + 3k =
(tod 9), the statement is true when n = 0. Now, assume it is
(mod 9). ‘Then:
16-2 $943
16(1 — 3k) 49k +3 (mod 9)
19 45k = 1 (mod 9)
28040) 4 3k 4 1)
‘Thus the statement is true form =k +1, Thus the result is true for every n > 0.
52. proof: Let (a,m) = d and (b,m) =
aiid. ‘Thus d =<’.
. Since dla and dlm, dle, Thus dib and dim, 9o dla’. Likewise,
54, proof (by L. Moser): Notice that 2[pipa-.. Pn, but 4laip2... Pa. Since every odd prime is of the form
4n+1or dn +3, it follows that pipa... Py +1 8 (mod 4). But, by the division algorithm, mn?
or I (mod 4) for every integer m, Therefore, pips... Pa +1 is never a square,
56. proof (by R. B. Shafer): It suffices to show that
14 [1+ 10%? — 19980 (9000800 _
0 (mod 99991)
Notice that 10! —
(20° = 1)(10° +1) = 8-1
10 (mod 99991); and
1099950 ((10°)7)!*89 = (9°)999®9 (mod 99991) = 819% (mod 99991)
Lot r = 80. ‘Then
(4) a)=
0 (anod 99991)
as desire.
58. proof: Since p® = p (mod 3), p = 0 (mod 3) and p = 1 (mod 3). 1 (mod 3). Then
PPPS kp se (y+ (1) ++ (Hl) (mod 8)
= =n (mod 9)
Sop"! + p34... ep tn =0 (mod 3)”
CHAPTER 4. CONCRUENCES
Supplementary Exercises (p. 243)
2.
10,
12,
. 1895
When n> 5, (mod 10), so the last digit of the LHS is 3 for all n > 5. Since the LHS is always
‘odd, m? and hence m must be odd. But the squere of an odd integer ends in 1, 5, oF 9, 0 the equation
has no solutions when n > 5. Thus n <4. The eases n= 2 and n = 4 do not yield any solutions, but
n=1and n= 3 yield two, namely, n= 1=m and n=3=m.
(nys84.58
1 (mod 7). Therefore,
{mod 7) and 198600 = 5206 19. (-2)8 1-1
1835179 4. 1986298 =
0 (mod 7)
. 5, 6, 25, and 76 are automorphic since 5? = 25, 6% = 36, 25% = 625, and 76% = 9776.
proof: Let a = ay330"! 4 ++ ha +104 ap. Thon:
= a2_,10°"-9 +--+ (Zarao)10+ af
= bag Et Dy OME $s by 10 by
for some b,.
‘Thus a is automorphic if and only if a? = a (mod 10°).
proof (by H. M. Martson): Let n be a prime, Then every # is invertible modulo n, where 1< i 1; thats, aM = 2 (mod [rns, may... ma]). Sinco Mas = flo), elm)... 4(me) eCMe42)] =
(Me, p(mi42)] and My|Mys1, it follows that
aMer = 1 (mod [maymea,....me]) (ra)108 CHAPTER 7. THREE CLASSICAL MILESTONES
Since a¥im41)
(mod mess), by Buler’s theorem, we have
gilees
(mod mess) 75)
From congruences (7.4) and (7.5), it follows by the above result that
gies
{amod {fry may..., m4], at);
that is,
Muy
1 (mod [ry ma,.--, ma, meg)
‘Thus the result follows by induction.
62, My =7, Me =5, 965
= 4, and (7) =6. By the CRT, 2 = 2.74 4.3.58 =17 (mod 35).
3 115'42.10743-64 =
64, My = 15, My = 10, My = 6, y(2) = 1, (3)
23 (mod 30).
, and (5) = 4. By the CRT,
66. My = 308, Mz = 231, Mg = 132, My = 84, (8) =2, (4) = 2, (7) =6, and y(11) = 10. By the
CRT, x= 1-308? + 3-231? + 4-192°+7- 849 = 403 (mod 924)
68. proof: Since (2,4) = 1, by Bulo’s theorem, 2%
(mod a4). We have:
Om = ntelon) +1
= peony a
= 2-141 (mod an)
0 (od a)
‘Therefore, aqme
Review Exercises (». 3:0)
2, (3-1)! = 221
(1+ 22)(2-12)(3 -8)(4-6)(5-14)(7 -10)(9 -18)(11 -21)(18 -16)(15. 20)(17 -19)
(A DeDeDDe ded Dette 11 (mod 23)
(mod 5), s0, by Theorem 4.8, 14! = 0 (mod 15). Thus 1d! # ~1 (mod 15).
4,14!
(nod 3) and 14!
6. 208 =
110 = 11 = (113)! = (-2)!" = 2
(mod 31)
8, 312705 = gr7os —
3%)77 gt
77 (88) 8 {mod 23)
10, 7151969 = 158809 = (182) 15 = 191.15 =1-15 =
5 (mod 28)
12, By Exercise 50 in Section 7.4, 23! = 43°? = 1 (mod 43 - 23)
(mod 989).
14, By Exercise 24 in Section 7.2, 23% + 298 = 28 + 29 (mod 23-29) = 52 (mod 667)16. 35% = (358)F 352
Bm SGI = 51
357 451%
18, 241010 = 21010 = (geya0e
20, We have:
2 2 (mod 9353)
2 4 (mod 9353)
° 64 (mod 9353)
644 = 7287 (mod 9353)
72875 = 924d = —109 (mod 9353)
(+109) = 6755 = -2598 (mod 9353)
(-2598)7 = 3486 (mod 935)
3486" = 2775 (mod 9353)
27759 = 324 (mod 9363)
3240 = 4101 (mod 9353)
4101 = 5971 (mod 9353)
‘So 199]9353 and 9353 = 47 199.
22, (17) = 16
24. (8675) = (3 -5?- 79)
26. (20) =8
28, (28) = 12
109
98 35? = 95-352 = 1295 (mod 1785)
si51?=
1225 + 561 = I (mod 1785)
51-51? = 561 (mod 1785)
(1) = 1 (mod 11), so the desired ones digit is 1
(1,9353)
(3,9353)
(63,0353)
(7286,9353)
(9243,9353}
(6754,9353)
(34859353) =
(2774,9353) =
(323,9353) =
(4100,9353) =
(5970,0353) = 199
(3) p(54)9(74) = 2(5? ~ 5) (7 — 7) = 2-20-42 = 1680
30, There are ¢(20) = 8 positive integors < 20 and relatively prime to it. They are 1, 8, 7, 9, 11, 13, 17,
and 19, Then 1
(ise
32, 13091782 = gi
(gIO)179, g?
34. Since 94x = 82 (mod 19), we have —2
36, The congruence 2552 = 63 (mod 28) yields 31 = 7 (mod 28). Then 9(82)
21 (mod 28).
57 (mod 28). Therefore, x = —7
38, Notice that 18705 = 3-5 -29-43, We have:
2287S (80295 5 (1055 =
gre (g8yt070 y= 14076
238708 (Qty 858, 9
‘Therefore, by Theorem 4.8, 2!85 — 2 (mod (3,5, 29, 43)
1 = (+1) = 19* (mod 20); 38 = (34? = 1? =
(-1)8 = 138 (mod 20); and 9° = (32)8
783192 (77). 7191-2
2197 (9h) = (4872,
(-3)8 = 17° (mod 20); 7° =
(-9)8 = 11° (mod 20)
atta
179. 81 = 81 (mod 100), so the last ¢wo-digit number is 81
3 (mod 19); that is, x = 6 (mod 19).
7 (mod 28); that is,
(amod 3);
1-2=2 (mod 5);
(mod 29); and
2 (mod 43)
= 2 (mod 18705), so 18705 is a pseudoprime.110
40.
42,
44,
48.
82.
54,
56.
58,
197 = (11898. 128 = 498. 217
CHAPTER 7. THREE CLASSICAL MILESTONES
Let Sa 14d 4 LOT MM, Then 185 = 14
(13,27) = 1, so $= 0 (mod 27); that is, 1+14+...+14"7
= 0 (mod 27), by Euler's theorem. But
0 (mod 27).
Notice that 341 = 11-31. We have:
1s
(841m 2007 5 (95)190. 9? xs (-1)!89. 4 1-4 = = 15 (mod 11)
and
1594) = (154) -15 = @8)7-15 = 17-15
5 (mod 31),
By Theorem 4.8, 15%" = 15 (mod [11, 31}) = 15 (mod 341),
Since 51 = 3-17, we compute 35° modulo 3 and modulo 17, and then apply Theorem 4.8:
35° = (-1)*' = -1 35 (mod 3) and 36 = 1" =
= 35 {mod [8,17]
(4382)! 207
= 35 (mod 17)
‘Therefore, by Theorem 4.8, 3554
1036. 2170 = 1 (mod 71)
¥ old) =¢(1) +91) 1 +0211
am
ze = 9h) + (2) + (4) + 017) + yC14) + (28)
141424646412=28
EYE p(a) = (1) (1) + (1)! g(11) = (-1) 1+ (-1)-10= 11
am
Eoomeos = (=1)7* (1) + (-1)8/9(2) + (= 18/494) + (-1)/7 94)
ime
(-1?*4p(14) + (—1)9/8(28)
141-2+6+6-12=0
Let a be any positive integer relatively prime to 6601 = 7-23-41, By Fermat’s little theorem,
a =1 (mod 7), 4? = 1 (mod 23), and a! = 1 (mod 41). "Therefore:
(08)! = 119 = 1 (mod 7)
22)800 = 180° = 1 (mod 23); and
{imod 41)
= @
= (any
re
‘Then, by Theorem 4.8, 0 = 1 (mod (7,23, 41]) =
3,--4(P= 1/2, (P+ 1)/2,....p— 1. But:
(+D/2=Pp-~-V/2 = ~(p—1/2 (mod p);
(p + 3)/2=p- (p— 3)/2 —(p— 3)/2 (mod p);
(mod 6601). ‘Thus 6601 is a Carinichse! number.
proof: The least nonresidues modulo p are 1, 2
p-2 —2 (mod p); and
p-1 =1 (mod 9)a
ABQ. (P=
‘Therefore, the least nonzero residues modulo p are congruent to —(p —1)/2,
1)/2 in some order.
Supplementary Exercises (p. 351)
2. proof: Let p be » Wilson prime, Then W(p) = =U = 0 (mod p). Thus p | S=#, 50
P{l(p— 1)! + 1], That is, [(p— Ut + 1] = 0 (anod p*).
Conversely, [(p— 1)!-4 1] =0 (mod p?). Then p?|[(p— 1)! + 1}, 90 xl! {(p). Thus W(p) = 0 (mod p), so
pis a Wilson prime.
4. 4, 22,27, 58, 85, and 94
6. (6) =4424 141 = 8, /@) = 42414128
8. proof: Let r, be the remainder when 10 is divided by n; that is, 10 = 7; (mod n), where 0-< ri 1. Therefore, by
Corollary 11.7, (fra/ fn} = (fn/ fm).
proof: Since Ja is a prime, by Pepin’s test, 34°? = —1 (mod f,), where n > 1, So 3-1 =
1 (mod fu). Let ordy, 3 = ¢, Then jn 1; that is, €22", so e = 2* for some k, where k < 2".
‘Suppose k < 2". Then (3?*)#" (mod f,); that is, 9°" = 1 (mod f,), which is a contradic-
tion,
‘Therefore, k = 2" and ordy, 3= 22" = fy —1. Thus 8 is a primitive root of fa, where m > 1.
proof: Since (a/pq) = (a/p)(a/a), (a/pq) = 1 if (a/p) = 1 = (a/q). That is, if a is @ quadratic
residue of both p and g, then a is also a quadratic residue of pq. In other words, if the congruences
2? =a (mod p) and 2? = a (mod 9) are solvable, then 2? = a (mod pg) is also solvable.
proof (by contradiction): Assume that there are only finitely many such primes, p),....Ph. Consider
N= 5(py..-Pn)? 1. Since N is of the form 5k ~ 1, it has a prime factor. Sinoe not all prime fectors
of N can of the formn Sk + 1, it must have an odd prime factor p of the form 5k—1. If k =2j +1 is
odd, then p = 5k ~ 1 = 6(2) + 1) 1 = 10) +4 will not be a prime. So k must be even; thus p is of
the form 10k — 1.
If p= py for some i, then p[NV and p|S(ps..-pa)®, 0 pil. Since this is impossible, p # p; for every 4.
‘This contradicts the hypothesis that py,...,?q are the only primes of the form 10k — 1
proof: Let a = V5. By Binet’s formula,
Mera = (+are—(1- ayy
a Eee EPS )eor
ee ee
von = (Seas eee esr)
140404... 4045-2 (mod p)
14+5°-10?? (mod p)
= 1+ (5/p), by Buler's criterion162 CHAPTER 11. QUADRATIC CONGRUENCES
27-1 =1 (mod p) by Buler’s theorem, this implies 2Fp41 = 1-+ (5/p) (mod p). But
‘That is,
if p= £1 (mod 5)
1
tno { 4 Weaintea
Exercises 11.4 (p. 535)
| 2, (2/21) = (2/8)(2/7) =(-1)-1=-1
4. (12/25) = (12/5)? = (2/5)? =1
(52/129) = (62/3- 43) = (62/3)(52/48) = (1/3)(9/49) = 1. (3/43)? = 1-1 =1
(68/665) = (—68/5-7- 19) = (~68/5)(~68/7)(~68/19) = (2/5)(2/7)(8/19)
= (-2)-1- efi = (ay <1
10. (2/18) = (2/3)(2/5) = (-1)(-1) =1
12, The quadratic residues of 15 are 1, 4, 6, 9, and 10. Consequently, 2 is not a quadratic residue of 15;
that is, the congruence 2? = 2 (mod 15) is not solvable.
| 16) <0m =)
16. (8/5 - 75-11%) = (8/5)"(9/7)9(8/11)8 = (=I)? - (1) 19 <1
18. (B/m) = (8/p)*(8/a)*(3/r)* = (—1)*(—1)8(—1)* = (—1)**%F*, Therefore, (3/m) = 1 if and only if
a4+4cis even,
20. proof: Suppose the congruence 2? = a (mod 1) is solvable; then (a/m) = 1. This contradicts the
given hypothesis,
-1)"-9/8, If m = 1 (mod 8), then (m? = 1)/8 = (m—1)/8
=1 (mod 8), then also (m? —1)/8 = (m-+1)/8- (m—1) is even:
22, proof: By Theorem 11.12, (2/m|
(m+1) is even; so (2/m)
so (2/m) =1
ifm
On the other hand, let m = £3 (mod 8). ‘Then m = 8k 3 for some integer k. Therefore, (m*—1)/8 =
(G4K? 4 48k + 8)/8 = 8k? + G+ 1 is an odd integer. Consequently, (2/m) = —1. Thus
(2/m) = { a163
24. proof: Let m= il pit. Then (3/1) Them Since
1 ifp= #1 (mod 12)
wo-{ | tras tet,
we need only consider the case when m contains prime factors = +5 (mod 12). Bach such factor p
contributes a~ 1 to the product, so (3/p}* contributes (—1)* to the product. ‘Thus (3/m) = 1 if and
only if De is even,
Exercises 11.5 (p. 542)
2. The solutions of the congruence 2?
are 1 and 10,
2 (mod 7) are 3 and 4; and those of 2? = 28 = 1 {mod 11)
Now, use the CRT to solve the resulting four liner systems: The solution ofthe system 2 = 3 (mod 7)
and 2 = 1 (mod 11) is given by # = 3-11-2-41+7-8 122 = 45 (mod 77); when 2 = 3 (mod 7) and
210 (mod 11), 2 = 3-11-2410-7-8= 626 = 10 (mod 77); when = 4 (mod 7) and x = 1 (mod 11),
2 = 4-11-241-7-8 = 14 = 67 (mod 77); and when 2 = 4 (mod 7) and x = 10 (mod 11),
pa 4-11-2410-7-8= 648
32 (mod 77)
10, 32, 45, 67 (mod 77).
‘Thus the four solutions are
4, Since 2431 = 11-13-17, the given congruonce yields 2° = 69 = 3 (mod 11), 2? = 69 = 4 (mod 13),
and 2? = 69 = 1 (mod 17). Their solutions are x = 5,6 (mod 11), 2 = 2,11 (mod 13), and 2 = 1,
16 (mod 17) respectively.
Now, use the CRT to solve the eight linear systems, We have M = 2481, m1 = 11, my = 13, my =17,
M, = 221, Mz = 187, and My = 143. Miy = 1 (mod m:) implies 221y, = 1 (mod 11); that is,
ty = 1 (mod 11); Maya = 1 (mod ima) implies 187y = 1 (mod 13); that is, yp = 8 (mod 13); and
‘May = 1 (mod ms) implios 1439s = 1 (mod 17}; that is, vs = 5 (mod 17).
{mod 17). Then:
case 1 2 =5 (mod 11), 7 =2 (mod 13), and z=
2 = Min +a2Maye+asMayn (mod M)
= 9 -221-14-2- 187-84 1- 143-5 = 2881 (mod 2431)
case 2 55 (mod 11),
2 (mod 13), and x = 16 (mod 17). Then:
© = aMiy, + a2Maye + agMsys (mod M)
= 5-221-142- 187-84 16-143-5 = 951 (mod 2431)
case 3 x25 (mod 11), x= 11 (mod 18), and x= 1 (mod 17), Then:
© = @Miys +a2Mayp +agMpys (mod M)
= 5. 221-1411- 187-841-143. 5 = 1259 (mod 2481)164 CHAPTER 11. QUADRATIC CONGRUENCES
case 4 x=5 (mod 11),
11 (mod 13), and x = 16 (mod 17). Then:
2 = aMiyn +0zMaye +asMays (mod M)
5.2211 411 -187-8+ 16- 143-5 = 2260 (mod 2481)
‘The remaining four solutions yield tho additive inverses of these as new solutions: —2381 = 90 (mod 2431),
—951 = 1480 (mod 2431), ~1259 = 1172 (mod 2431), and —2260 = 171 (mod 2431)
‘Thus the eight incongruent solutions are $0, 171, 951, 1172, 1259, 1480, 2260, and 2381 modulo 2431,
6, Since 211 is a solution of x? = 15 (mod 179), 211? = 15-4 17%, where {= 154
Now, look for @ solution of the form 211 4 174
ce #17?
eur? 4.422.179} (mod 17°)
(05 +17. 154) 4422-177} (mod 175)
15 + 17°(154 + 4223) (mod 179)
Solving 154 + 422j = 0 (mod 17) yields j = 6
‘Therefore, 211 +17? 6 = 1945 is @ solution of 2* = 15 (mod 174),
8 By Exercise 7, 430 is a solution of 2? = 28 (mod 74), so 430° = 23 + 74%, where ¢ = 77.
Now, look for a solution of the form 430 + 74}:
(430-4743)? = 430? + 860.74j (mod 7%)
(23474. 7) + 860-749 (mod 7°)
= 28474(77 + 860j) (mod 7°)
Solving 77 + 860) = 0 (mod 7) yields j = 0.
Therefore, 430 +7*-0 = 430 is a solution of 2? = 23 (mod 78)
10. By Exercise 9, 32 is a solution of 2
10 (mod 13), so 32?
10 + 13, where 1 = 6.
Now, look for a solution of 2? = 10 (mod 13) of the form 32+ 13%
(32 + 1373)? 32? + 64-137) (mod 13°)
= (10419"-6) + 64-13%) (mod 13°)
= 10+ 13%(6 +647) (mod 13°)
{mod 13) yields j= 6.
‘Therefore, 32 +19? 6 = 1046 is a solution of 2°
also a solution,
Solving 6 + 647
104
10 (mod 13%). Then 1151 (mod 13°) is,
12, By Exercise 11, 48 is a solution of x? = 5 (mod 11), so 48? = 5+ 11%, where i= 19,4
16.
18,
Now, look for a solution of # = 5 (mod 118) of the form 48 +11%j
(4841179)? = 48? 4-96-11) (mod 119)
(5 +117. 19) + 96-1175 (mod 11°)
54 117(19 +963) (mod 11°)
Solving 19 + 96j =0 (mod 11) yields j = 10.
‘Therefore, 48 + 11° - 10 = 1258 is a solution of x? = § (mod 118), ‘Then —1258 = 73 (mod 11%) is also
‘solution,
Clearly, 6 is a solution of 2? = 17 (mod 19), so 6? = 17-+19i, where = 1
Now, look for a solution of 2* = 17 (mod 19%) of the form 6 + 19):
(6+ 195)" = 674 12-19) (moa 19%)
{17 419-1) + 12-193 (mod 19°)
= 17 -+10(1 +124) (mod 19°)
Solving 14129 =
(mod 19) yields 7
‘Therefore, 6419+ 11 = 215 is a solution of
solution.
L
17 (mod 19%), ‘Then -215
46 (mod 19°) is also a
By Exercise 15, a = 9 is a solution of 2? = 17 (mod 64), so 9? = 17 + 64%, where
Now, choose j such that i+ aj =149j =0 (mod 2), 60 j=1. Thon a+ j-?=941-2% <4l isa
solution of 2? = 17 (mod 128), s0 412 = 17 + 128i, where i = 13,
Now, choose j such that i-+41j = 13 +41) = 0 (mod 2), s0 j
is a solution of 2? = 17 (mod 256).
1, Phen 41 4528! = 4141.28 = 105
‘The other solutions are —5
51 and 27 + 105 modulo 256, that is, 28, 151, and 233 modulo 256.
By Bxercise 17, «= 5 is a solution of x? = 25 (mod 82), so 5% = 25 +26, whore i
Now, choose j such that i +aj~0-+5j=0 (mod 2),90 <0. Then a+ j2*! = 540-28
is a solution of 2° = 25 (mod 64), s0 5% = 25 + 29%, where # = 0.
Now, choose j such that i+ aj = 0-+5j =O (mod 2). Again, 7 =0. Then o + j2*-1=5 40.9
is a solution of x? = 25 (mod 128). (This solution was obvious by inspection.)
‘The remaining solutions are —5 and 2° +5 modulo 128, that is, 59, 69, and 123 modulo 128,
By Exercise 19, «= 17 is a solution of 2? = $3 (mod 28), so 17? = 33 4 29%, where i=
Now, choose j such that +aj = 4417) =
is also a solution of 2? = 33 (mod 2").
(mod 27) are -17 and 2° £17 modulo 128, that is, 47, 81, and 111
(mod 2), 80) = 0, Then a +j2k-! =
740-2 =17 =a
‘The remaining solutions of 2
modulo 2166
2,
24.
26,
28,
CHAPTER 11. QUADRATIC CONGRUENCE:
By Exercise 21, cr = 13 is a solution of 2? = 41 (mod 2), so 19 = 41 +2", where i= 4.
Now, choose j such that é--aj = 4-4 13j = 0 (mod 2),s0 j= 0. Then a4 j2!"! = 1340-2 = 13 =a
1 (mod 2°), so 19? = 41 +2%%, where
0 (mod 2), $0 7 =0. Then a+ 72-1 = 13 40.9% = 13
1
is a solution of 2?
Again, choose j such that ¢ + aj = 2+ 13
1 (mod 27), so 13% = 41-4 27%, where i
is a solution of 2? =
Again, choose j such that i oj = 1413) =0 (mod 2), s0 j= 1. Then a+ j2) = 1841-28 = 77
is a solution of 2 = 41 (mod 2)
‘The remaining solutions aro ~77 and 2” 477 modulo 2, that is, 51, 179, and 205 modulo 2
‘The congruence 32? — 4z +7 = 0 (mod 132) can be written as y? = 101 (mod 13%), where y =
614 (mod 13"). Then y? = 101 = 10 (mod 13). By Example 11.1, 6s a solution of y* = 101 (mod 13),
= 101+ 13%, where i= ~5.
Now, look for a solution of y? = 101 (mod 138) of the form 101 + 133:
(6413? = 6? 412-13; (mod 132)
= [101+13-(-5)] + 12-13y (mod 132)
101+ 13(-5 +124) (mod 134)
Solving ~5 +12) =0 (mod 13) yields j =8.
Therefore, 6+ 18
59 (mod 13%)
When y = 110, 6 ~ 4 = 110 (mod 134), so x = 19 (mod 132), When y = 59, 62 —
so. = 95 (mod 134)
110 is a solution of y® = 101 (mod 13%). ‘The romaining solution is ~110 =
19 (mod 13%),
‘Thus the two solutions of the given congruence are 19 and 95 modulo 132,
2a? +
Since 2
0 (mod 11)
= 6 (mod 11), multiply both sides by 6:
622741) = 0 (mod 11)
246 = 0 (mod 1)
s? = 5 (mod 11)
= = 4,7 (mod 11)
32? +1 =0 (mod 13)
9 (mod 13), multiply both sides by 9:
9(827+1) = 0 (mod 13)
274.9 = 0 (mod 13)
4 (mod 13)
2,14 (mod 13)167
30, We have w? = 1 (mod 35), where w = 3/2, Then u? = 1 (mod 5) and u? = 1 (mod 7), When
w? = 1 (mod 5), u = 1, 4 (mod 5); when u? = 1 (tod 7}, w= 1, 6 (mod 7). By the CRT, u = 1, 6, 29,
34 (mod 35); that is, x = 2, 12, 68, 68 (mod 140). Their additive inverses are also solutions: 72, 82,
128, and 138 modulo 140.
32, Since 1768 = 2* 221 and 1768 # 1 (mod 8}, the congruence 2:
‘Theorem 11.15. Therefore, the given congruence is not solvable.
1768 (mod 2°) is nat solvable by
5 (mod 4) and 2? = 5 (mod 11%).
(mod 4) is solvable by Theorem 11.15. The two
34, Since 5324 = 2?- 11°, the given congruence implies 2
Since § = 4 {mod 8), the congruence 2?
solutions are 1 and 3 modulo 4
By Exercise 12, the congruence 2? = 5 (mod 11%) has two solutions, 73 and 1258 modulo 11°
‘To solve the given congruence, we nov apply the CRT:
We have M = 27-119 = 5324, Mi = 11°, My = 4, m= 4, and mz = 11%, The congruence
Miy: = 1 (mod my) implies 11%y; = 1 (mod 4), so yr = 3 (mod 4); and Mayo = 1 (mod ma) implies
Aya = 1 (mod 11°), so yp = 338 (mod 113)
73 (mod 11°), Then 2 =
case 1 2=1 (mod 4) and 112-34 73-4-33
3 (mod 5324).
= 1 (mod 4) and x = 1258 (mod 119). Then z = 1-11.34 1258-4.333 = 2589 (mod 5324).
‘The remaining two solutions are ~73 and 2589 modulo 5324, that is, 2735 and §251 modulo 9324.
case 2
36. 4
38. 8
40.8
42, 2
a4, eH
46. proof: Let m = 2041. Then n? = da? +4a-+1 = da(a+1)-+1 = 1 (mod 8), since a{a-+1) = 0 (mod 2)
48. proof: Since (2,p) = 1, there is a least positive residue b such that 2b =
47, (2/p) = (b/P).
Since 22? = -1 (mod p), 22? = -b (inod p); that is, 2? = —b (mod p). The congruence 2?
—b (mod p) is solvable if and only if (—b/p) = 1. But (-b/p) = (-1/p)(b/p) = (-1/p)(2/p) =
(-2/p) = 1 ifp=1 or 3 (mod 8), by Exercise 60 in Section 11.2.
(mod p). So, by Bxereise
‘Thus the congruence 2? = ~b (mod p) is solvable if and only if p = 1 or 3 (mod 8).
50. proof: Since (p" — a)? =
a (mod p),
a)? = a (mod p"), p — ais a solution of the congruence 2?
52. proof (by contradiction): Notice that b