1.3 Integers Modulo n

1.
a. True. 40−13=3·9
c. True. −29−6=(−5)7
e. True. 8−8=0·n for any n.
g. False. 84≡(64)2≡(−1)2≡1 (mod13).
2.
a. 2k−4=7q, so q is even. Thus k=2+7x for some integer x; that is k≡2 (mod 7).
c 2k≡0 (mod 9), so 2k=9q. Thus 2 img q, so k=9x for some integer x; that is k≡0 (mod 9).
3.
a. 10≡0 (mod k), so k img 10: k=2, 5, 10.
c. k2−3=qk, so k img 3. Thus k=1, 3 so, (as k≥2 by assumption) k=3.
5.
a. ab (mod 0) means ab=q·0 for some q, that is a=b.
6.
a. aa for all a because n img (aa). Hence if n img (ab), then n img (ba). Hence if ab=xn and bc=yn, img, then ac=(x+y)n.
7. If n=pm and ab(mod n), then ab=qn=qpm. Thus ab(modm).
8.
a. In img, so img, imgimg. Since 515=6·85+5 we get img. Hence 10515≡5(mod7).
9.
a. In img, so img. Since 1027=4·256+3, we get img. The unit decimal is 7.
11. img in img. If img then 2 img p; if img, then 3 img p. So img or img.
12.
a. img in img, so img respectively.
13. img in img. Taking each case separately:

equation

15. One of a, a+1 must be even so 2 img a(a+1)(a+2); similarly, one of a, a+1, a+2 is a multiple of 3 [in fact a≡0 means 3 img a, a≡1 means 3 img a+2, and a≡2 means 3 img a+1]. Hence 3 img a(a+1)(a+2). But 2 and 3 are relatively prime so 2·3=6 also divides a(a+1)(a+2). Hence

equation

17. Since img in img, we examine every case.

equation

Hence img in all cases.
18.
a. Since img in img, it suffices to show each of these is a cube in img. Look at the cubes in img, img, img, and img Thus every residue img is a cube in img.
19.
a. Since img in img, we get img respectively. Clearly img does not occur in img.
21. We have n=d0+10d1+102d2+img+10kdk.
a.

equation

22.
a. By the euclidean algorithm,

equation

Hence (−8)·13≡1(mod35), so img is the inverse of img in img. Then img gives img.
c. Euclidean algorithm:

equation

Hence the inverse of img is img so img gives img.
23.
a. Let img be the inverse of img in img, so img in img, then multiply img by img to get img, that is img, that is img.
24.
a. If img and img are the inverses of img and img respectively in img, then img and img. Multiplying, we find img, that is img. Hence img is the inverse of img in img.
25.
a. Multiply equation 2 by img to get img. Subtract this from equation 1: img. But img in img, so img. Then equation 2 gives img.
c. Multiply equation 2 by img to get img. Comparing this with the first equation gives img an impossibility. So there is no solution to these equations in img (Compare with (a)).
e. Multiply equation 2 by img to get img, which is just equation 1. Hence, we need only solve equation 2. If img is arbitrary in img (so img, then img. Thus the solutions are:

img

27. If an expression x2+ax is given where a is a number, we can complete the square by adding img. Then img. The same thing works in img except img is replaced by the inverse of img if it exists.
a. img means img in img. The inverse of img is img in img, so the square is completed by adding img to both sides. The result is

equation

The only members of img which square to img are img and img. (See Exercise 26.) Hence img or img; that is img or img.
c. img gives img in img. The inverse of img is img in img so add img to both sides

equation

But img is not a square in imgimg so there is no solution.
e. Since n is odd, gcd(2, n)=1, so img has an inverse in img; call it img. Now img in img means img. Complete the square by adding img to both sides. The result is

equation

Thus, there is a solution if and only if img is a square in img.
29.
a. Let img in img. If gcd(a, n)=1, then a has an inverse in img, say img. Then img.
31. (1) ⇒ (2). Assume (1) holds but n is not a power of a prime. Then n=pka where p is a prime, k≥1, and a>1 has p img / a. Then gcd(n, a)=a>1, so img has no inverse in img. But img too. In fact img means n img an whence p img an. By Euclid's lemma, this implies p img a, contrary to choice.
33. In img, img. Thus img, img, and finally img. Similarly, in img,

equation

34.
a. If axb has a solution x in img, then bax=qn, q an integer, so b=ax+qn. It follows that d=gcd(a, n) divides b. Conversely, if d img b write b=qd, q an integer. Now d=ra+sn for integers r and s (Theorem 3 §1.2), so b=qd=(qr)a+(qs)n. Thus, (qr)ab(modn) and we have our solution.
35. Working modulo p, img means img. Thus img in img so img or img by Theorem 7.
37.
a. If n=p2m and a=pm, then a6≡0(modn) and a2≡0(modn). Hence an6≡a.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.199.122