32 <strong>250</strong> PROBLEMS IN NUMBER THEORY28*. In view of n % 3"-3 and Fermat's theorem, the number n mustbe composite, and the least composite n for which nI2"-2 and n % 3"-3 isn = 341. In the solution to Problem 27 we proved that 341,t3 341 -3. Thus,the least number n such that n12n-2 and n,t 3 11 -3 is n = 341.REMARK. A. Rotkiewicz proved that there exist <strong>in</strong>f<strong>in</strong>itely many positive<strong>in</strong>tegers n, both even and odd, such that nI2"-2 and n,t 3"-3.29. <strong>Number</strong> n = 6 has the desired property. In fact, if n % 2"-2, then nmust be composite. The least composite number is 4, but 4,t 3 4 -3 = 78.Next composite number is 6, and we have 6,t 2 6 -2 = 62, while 613 6 -3s<strong>in</strong>ce 3 6 -3 is obviously even and divisible by 3.REMARK. A. Rotkiewicz proved that there exist <strong>in</strong>f<strong>in</strong>itely many compositenumbers n, both even and odd, such that n\3"-3 and n % 2"-2.30. If a is composite, we may put n = a s<strong>in</strong>ce obviously altf-a. Ifa = 1, we can put n = 4 s<strong>in</strong>ce 411 4 -1. If a is a prime> 2, we may putn = 2a s<strong>in</strong>ce <strong>in</strong> this case a is odd, and the number a 2a -a is even; thus,cJ2a_a, be<strong>in</strong>g divisible by an odd number a and by 2, is divisible by 2a.It rema<strong>in</strong>s to consider the case a = 2. Here we can put n = 341 = 11·31s<strong>in</strong>ce 34112 341 -2; the last property can be proved as follows: we have11\2 1 °-1 = 1023, hence 1112 34 °-1, and 1112 341 -2. Next, 31 = 2 5 -112 340 -1,hence 3112 341 -2. Thus the number 2 341 _2 is divisible by 11 and 31, hencealso by their product 341.REMARK. M. Cipolla proved that for every positive <strong>in</strong>teger a there exist<strong>in</strong>f<strong>in</strong>itely many composite numbers n such that nia"-a. (See [5].) We donot know~ however, whether there exist <strong>in</strong>f<strong>in</strong>itely many composite numbersn such that nla"-a for every <strong>in</strong>teger a. The least of such number is561 = 3·11·17. From a certa<strong>in</strong> conjecture of A .. Sch<strong>in</strong>zel concern<strong>in</strong>g primenumbers ([22]) it follows that there are <strong>in</strong>f<strong>in</strong>itely many such composite numbers.31. The cube of an <strong>in</strong>teger which is not divisible by 3 gives rema<strong>in</strong>der1 or -1 upon divid<strong>in</strong>g by 9. Thus, if none of the numbers a, b, c were divisibleby 3, then the number a 3 +b 3 +c 3 , upon divid<strong>in</strong>g by 9, would give therema<strong>in</strong>der ± 1 ± 1 ± 1 which is not divisible by 9 for any comb<strong>in</strong>ation ofsigns + and -. It follows that if 9Ia 3 +b 3 +c 3 , then 3labc, which was to beproved.32. The proof is analogous to the proof <strong>in</strong> Problem 31 s<strong>in</strong>ce the number± 1 ± 1 ± 1 ± 1 ± 1 is not divisible by 9 for any comb<strong>in</strong>ation of signs + and - .
SOLUTIONS 3333. The condition (x, y) = 1 is necessary s<strong>in</strong>ce, for <strong>in</strong>stance, 15 2 +202= 5\ while 7,t 15·20. Now, if (x, y) = 1 and x, y, z are positive <strong>in</strong>tegerssuch that r+y2 = z\ then, as we know from the theory of Pythagoreanequation, there exist <strong>in</strong>tegers m and n such that for <strong>in</strong>stance x = m2_n2,y =2mn, Z2 = m 2 +n 2 • Suppose that 7,ty; thus 7,tm and 7 ,tn. It is easy tosee that the square of an <strong>in</strong>teger not divisible by 7 gives, upon divid<strong>in</strong>g by 7,the rema<strong>in</strong>ders 1, 2 or 4. S<strong>in</strong>ce 1 +2, 1 +4, and 2+4 cannot be such rema<strong>in</strong>ders,neither they are divisible by 7, it follows from equation z2 = m2++n2 that the numbers m and n must give the same rema<strong>in</strong>ders upon divid<strong>in</strong>gby 7. Thus 71x = m 2 -w.34. The square of an <strong>in</strong>teger not divisible by 7 gives upon divid<strong>in</strong>g by7 the rema<strong>in</strong>der 1, 2, or 4, hence the sum of such squares gives the rema<strong>in</strong>der1, 2, 3, 4, 5, or 6. Thus, if a and b are <strong>in</strong>tegers such that 71a2+b 2 , then oneof them, hence also the other, must be divisible by 7.35*. The numbers x = 36k+14,y = (12k+5) (18k+7), k = 0, 1,2, ... ,have the desired property.In fact, we have obviously x(x+ 1)ly(Y+ 1) s<strong>in</strong>cex(x+l) = 2·3(12k+5) (18k+7) = 6y,while 61y+ 1.The number y is not divisible by x s<strong>in</strong>ce y is odd, while x is even. Thenumber y is not divisible by x+ 1 s<strong>in</strong>ce 3jx+ 1, while 3,t y. The numbery+1 is not divisible by x s<strong>in</strong>ce 18k+71x and 18k+7Iy, hence 18k+7 ,ty+1.F<strong>in</strong>ally, the number y+l is not divisible by x+1 s<strong>in</strong>ce 12k+5Ix+l and12k +5Iy, hence 12k+5,t y+ 1.For k ± 0, we obta<strong>in</strong> x = 14, y = 35, and it is easy to show that thereare no smaller numbers with the required property.36. For s < 10, we have of course ns = s. Next, study<strong>in</strong>g successivemultiples of s, we obta<strong>in</strong> njO = 190, nll = 209, n12 = 48, n13 . 247, n14= 266, nlS = 155, n16 = 448, n17 = 476, n18 = 198, n19 = 874, n20 = 9920,n21 = 399, n22 = 2398, n23 = 1679, n24 = 888, n2S = 4975. F<strong>in</strong>ally, we havenlOO = 19999999999900. In fact, two last digits of every number divisible by100 must be zero, and the sum of digits of every number smaller than199999999999 is obviously smaller than 100. See Kaprekar [11].37*. Let s be a positive <strong>in</strong>teger, s = 2 1J 5{1t, where IX and (J are <strong>in</strong>tegers;;::: 0, and t is a positive <strong>in</strong>teger not divisible by 2 or 5. By Euler's theoremwe have l()9'
- 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 and 42: SOLUTIONS 29Since HI = 2"+2 > H, th
- Page 43: SOLUTIONS 31Since 2 3 - 3 (mod 5) a
- 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