30 <strong>250</strong> PROBLEMS IN NUMBeR THEORYis odd. Thus 1 < d ~ q;(n) < n, and dlnI9cf-l, contrary to the def<strong>in</strong>itionof the number n. Thus there is no odd number n > 1 such that n13 11 + 1.22. Clearly, n cannot be divisible by 3. Thus n is of one of the forms6k+ 1, 6k+2, 6k+4, or 6k+5 where k = 0, 1, 2, .... If n = 6k+ 1, then,<strong>in</strong> view of 2 6 == 1 (mod 3), we have n2 11 + 1 == (2 6 )k2+ 1 == 2+ 1 = 0 (mod 3).Thus 31n2 11 + 1. Ifn = 6k+2, then n 2 11 + 1 == 2 (2 6 )k2 2 + 1 == 8+ 1 = 0 (mod 3),hence 3\n2n+ 1.If n = 6k+4, then n2 11 +1 == 4(2 6 )k2 4 +1 == 2'+1 == 2 (mod 3).F<strong>in</strong>ally, if n = 6k+S, then n2 n +l = 5(2 6 )k2 s +1 = 2 (mod 3).Therefore, the relation 31n2 11 + 1 holds if and only if n is of the form 6k+ 1or 6k + 2, k = 0, 1, 2, ....23. If p is an odd prime and n = (P-l)(kp+ 1) where k = 0, 1, 2, ... ,then n = -1 (modp) and p-lln. By Fermat's theorem, it implies 211= 1 (modp), hence n2 t1 +1 == 0 (modp).REMARK. It follows from this problem that there exist <strong>in</strong>f<strong>in</strong>itely manycomposite numbers of the form n2 11 + 1 where n is a positive <strong>in</strong>teger. Thenumbers of this form are called Cullen numbers. It was proved that for1 < n < 141 all numbers of this form are composite, but for n = 141 thenumber n2 11 + 1 is prime. It is not known whether there exist <strong>in</strong>f<strong>in</strong>itely manyprime Cullen numbers.24. Let n be a given positive <strong>in</strong>teger, and let k > 1 be a positive <strong>in</strong>tegersuch that 2k > n. Let p be a prime> 2 k - 1 k. S<strong>in</strong>ce k > 1, for x = 2k, Y = 2pwe have x,r y, and rly', because r = 2k2k and y' = (2p)2 p , where 2p > 2kk.Thus, for <strong>in</strong>stance, 4 4 110 10 , but 4,rl0, 8 8 112 12 but 8,r12, 9 9 121 21 but 9%21.25*. For positive <strong>in</strong>tegers n we have obviously qJ(n)!n !. In fact, it isis a decolJjposition of ntrue for n = 1; if n > 1, and if n = q~lq:2 ... q~k<strong>in</strong>to primes, where ql < q2 < ... < qk, then.qJ(n) = qf1- t q:2- 1 ••• q:k-1(ql-1) ... (qk-1)and we have q~1-lq:2-1 ... q~k-lln, while ql -I < qk ~ n, which impliesthat qk-1 < nand q1-1 < q2-1 < ... < qk-1 are different positive<strong>in</strong>tegers smaller than n. Thus (ql-1)(q2-1) ... (qk-1)1 (n-l)!, and itfollows that qJ(n)/(n-l)!n = n!.If n is odd, then (by Euler's theorem) nI2fJ(II)-112 n !-I, hence nI2n!-I,which was to be proved.26. By Fermat's theorem, we have 24 = 1 (mod 5) and 212 = 1 (mod 13).
SOLUTIONS 31S<strong>in</strong>ce 2 3 - 3 (mod 5) and 24 = 3 (mod 13), we get 2 4k + 3 == 3 (mod 5) and2121+4 == 3 (mod 13) for k = 0, 1, 2, .... Therefore 512 4ṭ + 3 -3 and 13/212"+4_3-for k = 0, 1, 2, ....Next, 2 6 == -1 (mod 65), which implies that 212 == 1 (mod 65) and therefore2"+ 12 - 3 == 2"-3 (mod 65), which shows that the sequence of rema<strong>in</strong>dersmodulo 65 of the sequence 2"-3 (n = 2, 3, ...) is periodic with period 12.To prove that none of the numbers 2"-3 (n = 2, 3, ...) is divisible by 65it is sufficient to check whether the numbers 2~-3 for n = 2, 3, ... , 13 aredivisible by' 65. We f<strong>in</strong>d easily that the rema<strong>in</strong>ders upon divid<strong>in</strong>g by 65 areI, 5, 13,29,61,60, 58, 54,46,30,63,64, and none of these rema<strong>in</strong>ders is zero.27*. It is known (see, for <strong>in</strong>stance, Sierpiilski, [37, p. 215]) that thefour smallest composite numbers n, such that nI2"-2, are 341, 561, 645,and 1105. For 341, we have 341,¥3 341 -3 s<strong>in</strong>ce, by Fermat's theorem, 3 30 ,= 1 (mod 31), which implies 3330 = 1 (mod 31), hence 3 341 = 3 11 (mod 31).In view of 3 3 == -4 (mod 31), we get 3 9 == -64 = -2 (mod 31), hence3 11 = -18 (mod 31). Therefore 3 341 _3 = 3 11 -3 = -21 (mod 31), and31 ,r 3 341 _ 3, which implies 341 = 11 · 31 ,r 3 341 _ 3. On the other hand, 561= 3 ·11 · 1713 561 -3 s<strong>in</strong>ce 1113 1 °-1 which implies 1113 39 °-1 and 11/3 341 -3,and also 1713 16 -1 which implies 17\3 16 • 3s -1 = 356°_1. Thus 1713 s61 -3.Thus, the least composite number n such- that n/2"-2 and nI3"-3 isthe number n = 561.The number 645 is not a divisor of 3645_3 s<strong>in</strong>ce 645 = 3 · 5 · 43, while3 42 = 1 (mod 43) which implies 3 42 . 15 == 1 (mod 43). Thus 3 630 = 1 (mod 43),and 3645 == 3 1S (mod 43). S<strong>in</strong>ce 3 4 = -5 (mod 43), we have3 6 = -45 = -2 (mod 43), 3 12 = 4 (mod 43), 3 15 == 108 = 22 (mod 43).Therefore 3645_3 = 19(mod 43), which implies 43,¥ 3645_3.Onthe other hand, we have 1105\3 1105 -3. Indeed, 1105 = 5· 13 · 17, 3 4== 1 (~od 5), and 3 1104 == 1 (mod 5), and 513 1105 -3. Next, 3 12 = 1 (mod 13),3 1104 = 1 (mod 13) and 1313 1105 _3. F<strong>in</strong>ally, 3 16 == 1 (mod 17), and s<strong>in</strong>ce1104 = 16 · 69, we get 3 1104 = 1 (mod 17), which implies 1713 1105 -3.Thus, two smallest composite numbers for which n\2"-2 and nI3"-3 are561 and 1105.REMARK. We do not know whether there exist <strong>in</strong>f<strong>in</strong>itely many compositenumbers n for which n\2"-2 and n)3"-3. This assertion would follow froma conjecture of A. Sch<strong>in</strong>zel concern<strong>in</strong>g prime numbers ([22]). For prime numbersn, both relations nI2"-2 and nI3"-3 hold because of Fermat's theorem.
- Page 5: 250 PROBLEMSIN ELEMENTARY NUMBER TH
- Page 17 and 18: PROBLEMS 553. Prove that for every
- Page 19 and 20: PROBLEMS 777. Prove that every prim
- Page 21 and 22: PROBLIMS 9contains at least one pri
- Page 23 and 24: PROBLEMS 11128*. From a particular
- Page 25 and 26: •• oaLEHS13153. Prove that the
- Page 27 and 28: PROBLEMS 15167*. Prove that for eve
- Page 29 and 30: PROBLEMS 17189. Using the identity(
- Page 31 and 32: PROBLEMS 19209*. Prove that the sum
- Page 33 and 34: PRO.LlMS 21positive integers which
- Page 35 and 36: SOLUTIONSI. DIVISIBILITY OF NUMBERS
- Page 37 and 38: SOLUTIONS 2510. These are all odd n
- Page 39 and 40: SOLUTIONS 2716. We have 312 3 +1, a
- Page 41: SOLUTIONS 29Since HI = 2"+2 > H, th
- Page 45 and 46: SOLUTIONS 3333. The condition (x, y
- Page 47 and 48: SOLUTIONS3S'2, '3, while n > 3, the
- Page 49 and 50: SOLUTIONS 37a, b, c give three diff
- Page 51 and 52: SOLUTIONS 39hence a+b+c ~ 5+7+9 ~ 2
- Page 53 and 54: SOLUTIONS 41rectangular triangle wi
- Page 55 and 56: SOLUTIONS 43= 1. If we had plQ, the
- Page 57 and 58: SOLUTIONS 4566*. The progression ll
- Page 59 and 60: SOLUTIONS 47primes, then the differ
- Page 61 and 62: SOLUTIONS 49have, for example, 52 =
- Page 63 and 64: SOLUTIONS 51The least such number i
- Page 65 and 66: SOLUTIONS 53n 2 -1 is a product of
- Page 67 and 68: SOLUTIONSssnumbers are consecutive
- Page 69 and 70: SOLUTIONS 57The problem arises whet
- Page 71 and 72: SOLunONSS9which implies that 2 N /p
- Page 73 and 74: SOLUTIONS 61follows that we must ha
- Page 75 and 76: SOLUTIONS 63to note that (for k = 1
- Page 77 and 78: SOLUTIONS 65(where p > F4)' Let us
- Page 79 and 80: SOLUTIONS 67171 (34k+2)22 +1, 171 (
- Page 81 and 82: SOLUTIONS 69Obviously, gk(X) is a p
- Page 83 and 84: SOLUTIONS 7130t+r where t is an int
- Page 85 and 86: SOLUTIONS 73136. We easily find tha
- Page 87 and 88: SOLUTIONS 75145. Our equation is eq
- Page 89 and 90: SOLUTIONS 77If we had 161d, then by
- Page 91 and 92: SOLUTIONS 79154*. LEMMA. If a, b, c
- Page 93 and 94:
SOLUTIONS 81157. Suppose that theor
- Page 95 and 96:
SOLUTIONS 83160. We must have x ::;
- Page 97 and 98:
SOLUTIONS 85f h Ill h' h' I' 2 1 6I
- Page 99 and 100:
SOLUTIONS 87For s = 3, the equation
- Page 101 and 102:
SOLUTIONS89We must therefore have X
- Page 103 and 104:
SOLUTIONS 91integer s at least one
- Page 105 and 106:
SOLUTIONS 93k is an integer> 3, the
- Page 107 and 108:
SOLUTIONS95REMARK.One can prove tha
- Page 109 and 110:
SOLUTIONS 97= 2 x , hence Y > 1, an
- Page 111 and 112:
SOLUTIONS 99then 2Zk(zz+l) = y3_1 =
- Page 113 and 114:
SOLUTIONS 101MISCELLANEA200. The eq
- Page 115 and 116:
SOLUTIONS 103The assertion can be s
- Page 117 and 118:
SOLUTIONS 1052" == [(mod 2k), and c
- Page 119 and 120:
SOLUTIONS 107for instance [a] + I,
- Page 121 and 122:
SOLUTIONS 109225*. We shall prove b
- Page 123 and 124:
SOLUTIONS 111itive integers, as in
- Page 125 and 126:
SOLUTIONS113We may assume that u ~
- Page 127 and 128:
SOLUTIONS 115square. On the other h
- Page 129 and 130:
SOLUTIONS 117namely numbers 13 and
- Page 131 and 132:
SOLUTIONS 119For positive integers
- Page 133 and 134:
SOLUTIONS 12124S. Computing the val
- Page 136 and 137:
124 REFERENCES24. W. Sierpmski, Sur
- Page 138 and 139:
The late Waclaw SierpiJiski, a memb