114 <strong>250</strong> PROBLEMS IN NUMBER THEORYwhich implies thatWe have, however,Xl IIl-Yl > ~-l~ 3n-1XI-YI(s<strong>in</strong>ce we cannot have Xl = 2, for then we would have Yl = 1, and2"-112 11 +1, which is impossible). We would therefore have 3 n - 1 < 2 n +l,which is impossible for n ~ 3.237. We shall use the well-known formularZ+22+ ... +n2 = n(n+l)6(2n+l) .We have to f<strong>in</strong>d the least <strong>in</strong>teger n > 1 such that n(n+l)(2n+l) = 6m 2where m is a positive <strong>in</strong>teger. We shall dist<strong>in</strong>guish six cases:1. n = 6k, where k is a positive <strong>in</strong>teger. Our equation takes on theformk(6k+l) (12k+l) = m 2 •The factors on the left-hand side are pairwise relatively prime, hence theyall must be squares. If k = 1, then 6k + 1 is not a square. The next squareafter 1 is 4. If k = 4, we have 6k+ 1 = 52, 12k+ 1 = 7 2 , and consequently,for n ~ 6k = 24 the sum 12+22+ ... +242 is a square of a positive<strong>in</strong>teger, 70.2. n = 6k+ 1, where k is a positive <strong>in</strong>teger. In this case we have(6k+l) (3k+l) (2k+l) = m 2 ,and each of the numbers 2k+l, 3k+l, and 6k+l (which are pairwiserelatively prime) must be a square. The least k for which the number2k+l is a square is k = 4; <strong>in</strong> this case, however, we have n = 6k+l > 24.3. n = 6k+2, where k is an <strong>in</strong>teger ~ o. We have <strong>in</strong> this case(3k+l) (2k+l) (12k+5) = m 2 ,and the numbers 3k+l, 2k+l, and 12k+5 (as pairwise relatively prime)must be squares. If we had k = 0, the number 12k+5 would not be a
SOLUTIONS 115square. On the other hand, for positive <strong>in</strong>teger k, we have, as before,k ~ 4, hence n = 6k+2 > 24.4. n = 6k+3, where k is an <strong>in</strong>teger ~ O. In this case we have(2k+ I) (3k+2) (12k+ 7) = m2;we easily see that the numbers 2k+l, 3k+2, and 12k+7 are pairwiserelatively prime, hence they must be squares. We cannot have k = 0, 1,2or 3 s<strong>in</strong>ce <strong>in</strong> this case the number 3k+2 would not be a square. Wehave, therefore, k ~ 4, which implies n = 6k+3 > 24.5. n = 6k+4, where k is an <strong>in</strong>teger ~ O. We have <strong>in</strong> this case(3k+2) (6k+5) (4k+3) = m2,where the numbers 3k+2, 6k+5, and 4k+3 are pairwise relativelyprime, hence they must be squares. We cannot have k = 0, 1,2,3 s<strong>in</strong>cethen the number 3k+2 would not be a square. We have, therefore, k ~ 4,and consequently n = 6k+4 > 24.6. n = 6k+5, where k is an <strong>in</strong>teger ~ O. We have <strong>in</strong> this case(6k+5) (k+l) (12k+11) = m2,and the numbers 6k+5, k+l and 12k+11 are pairwise relatively prime,hence they all must be squares. We cannot have k = 0, 1,2, 3 s<strong>in</strong>ce <strong>in</strong>this case the number 6k+5 would not be a square. We have, therefore,k ~ 4, and n = 6k+5 > 24.We proved, therefore, that the least <strong>in</strong>teger n > 1 for which 12++22+ ... +n2 is a square is n = 24.REMARK. It is rather difficult to show that n = 24 is the only positive<strong>in</strong>teger for which 12+2z+ ... +n2 is a square. On the other hand, the sum1 3 +2 3 + ... +n 3 is a square for every positive <strong>in</strong>teger n, but one can provethat it is not a cube of a positive <strong>in</strong>teger for any n.238. All positive <strong>in</strong>tegers except1,2,3,5,6,7,10,11,13,14,15,19,23.It is easy show that none of the above thirteen numbers is a sum of a f<strong>in</strong>itenumber of proper powers (these are successively equal to 2 2 ,2 3 ,3 2 ,2 4= 4 2 , 52, 3 3 ,2 5 ,6 2 , ••• ).Now let n be a positive <strong>in</strong>teger different from any of the above thirteennumbers.
- 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 and 44:
SOLUTIONS 31Since 2 3 - 3 (mod 5) a
- 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: SOLUTIONS113We may assume that u ~
- 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