03964.com

文档资料库 文档搜索专家

文档资料库 文档搜索专家

Problems in Elementary Number Theory

Peter Vandendriessche Hojoo Lee

July 11, 2007

God does arithmetic.

C. F. Gauss

Chapter 1

/>Introduction

The heart of Mathematics is its problems. Paul Halmos

Number Theory is a beautiful branch of Mathematics. The purpose of this book is to present a collection of interesting problems in elementary Number Theory. Many of the problems are mathematical competition problems from all over the world like IMO, APMO, APMC, Putnam and many others. The book has a supporting website at http://www.problem-solving.be/pen/ which has some extras to o?er, including problem discussion and (where available) solutions, as well as some history on the book. If you like the book, you’ll probably like the website. I would like to stress that this book is un?nished. Any and all feedback, especially about errors in the book (even minor typos), is appreciated. I also appreciate it if you tell me about any challenging, interesting, beautiful or historical problems in elementary number theory (by email or via the website) that you think might belong in the book. On the website you can also help me collecting solutions for the problems in the book (all available solutions will be on the website only). You can send all comments to both authors at peter.vandendriessche at gmail.com or (preferred) through the website. The author is very grateful to Hojoo Lee, the previous author and founder of the book, for the great work put into PEN. The author also wishes to thank Orlando Doehring , who provided old IMO short-listed problems, Daniel Harrer for contributing many corrections and solutions to the problems and Arne Smeets, Ha Duy Hung , Tom Verhoe? , Tran Nam Dung for their nice problem proposals and comments. Lastly, note that I will use the following notations in the book: Z the set of integers, N the set of (strictly) positive integers, N0 the set of nonnegative integers. Enjoy your journey! 1 and ultrametric at gmail.com

Contents

1 Introduction 2 Divisibility Theory 3 Arithmetic in Zn 3.1 Primitive Roots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.2 Quadratic Residues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.3 Congruences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Primes and Composite Numbers 5 Rational and Irrational Numbers 5.1 Rational Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2 Irrational Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Diophantine Equations 7 Functions in Number Theory 7.1 Floor Function and Fractional Part Function . . . . . . . . . . . . . . . . . . 7.2 Divisor Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.3 Functional Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Sequences of Integers 8.1 Linear Recurrences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.2 Recursive Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.3 More Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Combinatorial Number Theory 10 Additive Number Theory 11 Various Problems 11.1 Polynomials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2 The Geometry of Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.3 Miscellaneous problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 References 1 3 17 17 18 19 22 27 27 29 33 43 43 45 48 52 52 54 59 62 70 76 76 78 79 84

2

Chapter 2

Divisibility Theory

Why are numbers beautiful? It’s like asking why is Beethoven’s Ninth Symphony beautiful. If you don’t see why, someone can’t tell you. I know numbers are beautiful. If they aren’t beautiful, nothing is. Paul Erd¨s o

A 1. Show that if x, y, z are positive integers, then (xy + 1)(yz + 1)(zx + 1) is a perfect square if and only if xy + 1, yz + 1, zx + 1 are all perfect squares. Kiran S. Kedlaya A 2. Find in?nitely many triples (a, b, c) of positive integers such that a, b, c are in arithmetic progression and such that ab + 1, bc + 1, and ca + 1 are perfect squares. AMM, Problem 10622, M. N. Deshpande A 3. Let a and b be positive integers such that ab + 1 divides a2 + b2 . Show that a2 + b2 ab + 1 is the square of an integer. IMO 1988/6 A 4. If a, b, c are positive integers such that 0 < a2 + b2 ? abc ≤ c, show that a2 + b2 ? abc is a perfect square.

1

CRUX, Problem 1420, Shailesh Shirali A 5. Let x and y be positive integers such that xy divides x2 + y 2 + 1. Show that x2 + y 2 + 1 = 3. xy

1

This is a generalization of A3 ! Indeed, a2 + b2 ? abc = c implies that

a2 +b2 ab+1

= c ∈ N.

3

A 6. (a) Find in?nitely many pairs of integers a and b with 1 < a < b, so that ab exactly divides a2 + b2 ? 1. (b) With a and b as above, what are the possible values of a2 + b2 ? 1 ? ab CRUX, Problem 1746, K. Guy and Richard J.Nowakowki √ A 7. Let n be a positive integer such that 2 + 2 28n2 + 1 is an integer. Show that 2 + √ 2 28n2 + 1 is the square of an integer. 1969 E¨tv¨s-K¨rsch?k Mathematics Competition o o u a A 8. The integers a and b have the property that for every nonnegative integer n the number of 2n a + b is the square of an integer. Show that a = 0. Poland 2001 A 9. Prove that among any ten consecutive positive integers at least one is relatively prime to the product of the others. [IHH, pp. 211] A 10. Let n be a positive integer with n ≥ 3. Show that nn is divisible by 1989. [UmDz pp.13] Unused Problem for the Balkan MO A 11. Let a, b, c, d be integers. Show that the product (a ? b)(a ? c)(a ? d)(b ? c)(b ? d)(c ? d) is divisible by 12. Slovenia 1995 A 12. Let k, m, and n be natural numbers such that m + k + 1 is a prime greater than n + 1. Let cs = s(s + 1). Prove that the product (cm+1 ? ck )(cm+2 ? ck ) · · · (cm+n ? ck ) is divisible by the product c1 c2 · · · cn . Putnam 1972 A 13. Show that for all prime numbers p,

p?1

nn

? nn

n

Q(p) =

k=1

k 2k?p?1

is an integer. 4

AMM, Problem E2510, Saul Singer A 14. Let n be an integer with n ≥ 2. Show that n does not divide 2n ? 1. A 15. Suppose that k ≥ 2 and n1 , n2 , · · · , nk ≥ 1 be natural numbers having the property n2 | 2n1 ? 1, n3 | 2n2 ? 1, · · · , nk | 2nk?1 ? 1, n1 | 2nk ? 1. Show that n1 = n2 = · · · = nk = 1. IMO Long List 1985 P (RO2) A 16. Determine if there exists a positive integer n such that n has exactly 2000 prime divisors and 2n + 1 is divisible by n. IMO 2000/5 A 17. Let m and n be natural numbers such that A= is an integer. Prove that A is odd. Bulgaria 1998 A 18. Let m and n be natural numbers and let mn + 1 be divisible by 24. Show that m + n is divisible by 24. Slovenia 1994 A 19. Let f (x) = x3 + 17. Prove that for each natural number n ≥ 2, there is a natural number x for which f (x) is divisible by 3n but not 3n+1 . Japan 1999 A 20. Determine all positive integers n for which there exists an integer m such that 2n ? 1 divides m2 + 9. IMO Short List 1998 A 21. Let n be a positive integer. Show that the product of n consecutive integers is divisible by n! (m + 3)n + 1 3m

A 22. Prove that the number

n k=0

2n + 1 3k 2 2k + 1

is not divisible by 5 for any integer n ≥ 0. IMO 1974/3 A 23. (Wolstenholme’s Theorem) Prove that if 1+ 1 1 1 + + ··· + 2 3 p?1

is expressed as a fraction, where p ≥ 5 is a prime, then p2 divides the numerator. 5

[GhEw pp.104] A 24. Let p > 3 is a prime number and k =

2p 3

. Prove that

p p p + + ··· + 1 2 k is divisible by p2 . Putnam 1996 A 25. Show that

2n n

| lcm(1, 2, · · · , 2n) for all positive integers n.

A 26. Let m and n be arbitrary non-negative integers. Prove that (2m)!(2n)! m!n!(m + n)! is an integer.

2

IMO 1972/3 A 27. Show that the coe?cients of a binomial expansion (a + b)n where n is a positive integer, are all odd, if and only if n is of the form 2k ? 1 for some positive integer k.

A 28. Prove that the expression gcd(m, n) n n m is an integer for all pairs of positive integers (m, n) with n ≥ m ≥ 1. Putnam 2000 A 29. For which positive integers k, is it true that there are in?nitely many pairs of positive integers (m, n) such that (m + n ? k)! m! n! is an integer? AMM Problem E2623, Ivan Niven A 30. Show that if n ≥ 6 is composite, then n divides (n ? 1)!. A 31. Show that there exist in?nitely many positive integers n such that n2 + 1 divides n!. Kazakhstan 1998 A 32. Let a and b be natural numbers such that a 1 1 1 1 1 = 1 ? + ? + ··· ? + . b 2 3 4 1318 1319 Prove that a is divisible by 1979.

2

Note that 0! = 1.

6

IMO 1979/1 A 33. Let a, b, x ∈ N with b > 1 and such that bn ? 1 divides a. Show that in base b, the number a has at least n non-zero digits. IMO Short List 1996 A 34. Let p1 , p2 , · · · , pn be distinct primes greater than 3. Show that 2p1 p2 ···pn + 1 has at least 4n divisors. IMO Short List 2002 N3 A 35. Let p ≥ 5 be a prime number. Prove that there exists an integer a with 1 ≤ a ≤ p ? 2 such that neither ap?1 ? 1 nor (a + 1)p?1 ? 1 is divisible by p2 . IMO Short List 2001 N4 A 36. Let n and q be integers with n ≥ 5, 2 ≤ q ≤ n. Prove that q ? 1 divides

(n?1)! q

.

Australia 2002 A 37. If n is a natural number, prove that the number (n + 1)(n + 2) · · · (n + 10) is not a perfect square. Bosnia and Herzegovina 2002 A 38. Let p be a prime with p > 5, and let S = {p ? n2 |n ∈ N, n2 < p}. Prove that S contains two elements a and b such that a|b and 1 < a < b. MM, Problem 1438, David M. Bloom A 39. Let n be a positive integer. Prove that the following two statements are equivalent. ? n is not divisible by 4 ? There exist a, b ∈ Z such that a2 + b2 + 1 is divisible by n.

A 40. Determine the greatest common divisor of the elements of the set {n13 ? n | n ∈ Z}. [PJ pp.110] UC Berkeley Preliminary Exam 1990 A 41. Show that there are in?nitely many composite numbers n such that 3n?1 ? 2n?1 is divisible by n. [Ae pp.137] A 42. Suppose that 2n + 1 is an odd prime for some positive integer n. Show that n must be a power of 2.

7

A 43. Suppose that p is a prime number and is greater than 3. Prove that 7p ? 6p ? 1 is divisible by 43. Iran 1994 A 44. Suppose that 4n + 2n + 1 is prime for some positive integer n. Show that n must be a power of 3. Germany 1982 A 45. Let b, m, n ∈ N with b > 1 and m = n. Suppose that bm ? 1 and bn ? 1 have the same set of prime divisors. Show that b + 1 must be a power of 2. IMO Short List 1997 A 46. Let a and b be integers. Show that a and b have the same parity if and only if there exist integers c and d such that a2 + b2 + c2 + 1 = d2 . Romania 1995, I. Cucurezeanu A 47. Let n be a positive integer with n > 1. Prove that 1 1 + ··· + 2 n is not an integer. [Imv, pp. 15] A 48. Let n be a positive integer. Prove that 1 1 + ··· + 3 2n + 1 is not an integer. [Imv, pp. 15] A 49. Prove that there is no positive integer n such that, for k = 1, 2, · · · , 9, the leftmost digit 3 of (n + k)! equals k. IMO Short List 2001 N1 A 50. Show that every integer k > 1 has a multiple less than k 4 whose decimal expansion has at most four distinct digits. 4 Germany 2000 A 51. Let a, b, c and d be odd integers such that 0 < a < b < c < d and ad = bc. Prove that if a + d = 2k and b + c = 2m for some integers k and m, then a = 1. IMO 1984/6 A 52. Let d be any positive integer not equal to 2, 5, or 13. Show that one can ?nd distinct a and b in the set {2, 5, 13, d} such that ab ? 1 is not a perfect square. IMO 1986/1

3 4

Base 10. Base 10.

8

A 53. Suppose that x, y, and z are positive integers with xy = z 2 + 1. Prove that there exist integers a, b, c, and d such that x = a2 + b2 , y = c2 + d2 , and z = ac + bd. Iran 2001 A 54. A natural number n is said to have the property P , if whenever n divides an ? 1 for some integer a, n2 also necessarily divides an ? 1. (a) Show that every prime number n has the property P . (b) Show that there are in?nitely many composite numbers n that possess the property P . IMO ShortList 1993 IND5 A 55. Show that for every natural number n the product 4? is an integer. Czech and Slovak Mathematical Olympiad 1999 A 56. Let a, b, and c be integers such that a + b + c divides a2 + b2 + c2 . Prove that there are in?nitely many positive integers n such that a + b + c divides an + bn + cn . Romania 1987, L. Panaitopol A 57. Prove that for every n ∈ N the following proposition holds: 7|3n + n3 if and only if 7|3n n3 + 1. Bulgaria 1995 A 58. Let k ≥ 14 be an integer, and let pk be the largest prime number which is strictly less than k. You may assume that pk ≥ 3k . Let n be a composite integer. Prove that 4 (a) if n = 2pk , then n does not divide (n ? k)!, (b) if n > 2pk , then n divides (n ? k)!. APMO 2003/3 A 59. Suppose that n has (at least) two essentially distinct representations as a sum of two squares. Speci?cally, let n = s2 + t2 = u2 + v 2 , where s ≥ t ≥ 0, u ≥ v ≥ 0, and s > u. Show that gcd(su ? tv, n) is a proper divisor of n. [AaJc, pp. 250] A 60. Prove that there exist an in?nite number of ordered pairs (a, b) of integers such that for every positive integer t, the number at + b is a triangular number if and only if t is a triangular number5 . Putnam 1988/B6

5

2 1

4?

2 2

4?

2 3

··· 4 ?

2 n

The triangular numbers are the tn = n(n + 1)/2 with n ∈ {0, 1, 2, . . . }.

9

A 61. For any positive integer n > 1, let p(n) be the greatest prime divisor of n. Prove that there are in?nitely many positive integers n with p(n) < p(n + 1) < p(n + 2). Bulgaria 1995 A 62. Let p(n) be the greatest odd divisor of n. Prove that 1 2n

2n k=1

2 p(k) > . k 3 Germany 1997

A 63. There is a large pile of cards. On each card one of the numbers 1, 2, · · · , n is written. It is known that the sum of all numbers of all the cards is equal to k · n! for some integer k. Prove that it is possible to arrange cards into k stacks so that the sum of numbers written on the cards in each stack is equal to n!. [Tt] Tournament of the Towns 2002 Fall/A-Level A 64. The last digit6 of the number x2 + xy + y 2 is zero (where x and y are positive integers). Prove that two last digits of this numbers are zeros. [Tt] Tournament of the Towns 2002 Spring/O-Level A 65. Clara computed the product of the ?rst n positive integers and Valerid computed the product of the ?rst m even positive integers, where m ≥ 2. They got the same answer. Prove that one of them had made a mistake. [Tt] Tournament of the Towns 2001 Fall/O-Level A 66. (Four Number Theorem) Let a, b, c, and d be positive integers such that ab = cd. Show that there exists positive integers p, q, r, s such that a = pq, b = rs, c = ps, d = qr. [PeJs, pp. 5] A 67. Suppose that S = {a1 , · · · , ar } is a set of positive integers, and let Sk denote the set of subsets of S with k elements. Show that

r

lcm(a1 , · · · , ar ) =

i=1 s∈Si

gcd(s)((?1) ) . [Her, pp. 14]

i

A 69. Prove that if the odd prime p divides ab ? 1, where a and b are positive integers, then p appears to the same power in the prime factorization of b(ad ? 1), where d = gcd(b, p ? 1). MM, June 1986, Problem 1220, Gregg Partuno

6

Base 10.

10

A 70. Suppose that m = nq, where n and q are positive integers. Prove that the sum of binomial coe?cients n?1 gcd(n, k)q gcd(n, k)

k=0

is divisible by m. MM, Sep. 1984, Problem 1175 A 71. Determine all integers n > 1 such that 2n + 1 n2 is an integer. IMO 1990/3 (ROM5) A 72. Determine all pairs (n, p) of nonnegative integers such that ? p is a prime, ? n < 2p, ? (p ? 1)n + 1 is divisible by np?1 . IMO 1999/4 A 73. Determine all pairs (n, p) of positive integers such that ? p is a prime, n > 1, ? (p ? 1)n + 1 is divisible by np?1 .

7

A 74. Find an integer n, where 100 ≤ n ≤ 1997, such that 2n + 2 n is also an integer. APMO 1997/2 A 75. Find all triples (a, b, c) of positive integers such that 2c ? 1 divides 2a + 2b + 1. APMC 2002 A 76. Find all integers a, b, c with 1 < a < b < c such that (a ? 1)(b ? 1)(c ? 1) is a divisor of abc ? 1. IMO 1992/1

7 The answer is (n, p) = (2, 2), (3, 3). Note that this problem is a very nice generalization of the above two IMO problems A 71 and A 72 !

11

A 77. Find all positive integers, representable uniquely as x2 + y , xy + 1 where x and y are positive integers. Russia 2001 A 78. Determine all ordered pairs (m, n) of positive integers such that n3 + 1 mn ? 1 is an integer. IMO 1994/4 A 79. Determine all pairs of integers (a, b) such that a2 2ab2 ? b3 + 1 is a positive integer. IMO 2003/2 A 80. Find all pairs of positive integers m, n ≥ 3 for which there exist in?nitely many positive integers a such that am + a ? 1 an + a2 ? 1 is itself an integer. IMO 2002/3 A 81. Determine all triples of positive integers (a, m, n) such that am + 1 divides (a + 1)n . IMO Short List 2000 N4 A 82. Which integers can be represented as (x + y + z)2 xyz where x, y, and z are positive integers? AMM, Problem 10382, Richard K. Guy A 83. Find all n ∈ N such that √ n divides n. [Tma pp. 73] A 84. Determine all n ∈ N for which ? n is not the square of any integer, √ 3 ? n divides n2 .

12

India 1989 A 85. Find all n ∈ N such that 2n?1 divides n!. [ElCr pp. 11] A 86. Find all positive integers (x, n) such that xn + 2n + 1 divides xn+1 + 2n+1 + 1. Romania 1998 A 87. Find all positive integers n such that 3n ? 1 is divisible by 2n . A 88. Find all positive integers n such that 9n ? 1 is divisible by 7n . A 89. Determine all pairs (a, b) of integers for which a2 + b2 + 3 is divisible by ab. Turkey 1994 A 90. Determine all pairs (x, y) of positive integers with y|x2 + 1 and x|y 3 + 1. Mediterranean Mathematics Competition 2002 A 91. Determine all pairs (a, b) of positive integers such that ab2 + b + 7 divides a2 b + a + b. IMO 1998/4 A 92. Let a and b be positive integers. When + is divided by a + b, the quotient is q and the remainder is r. Find all pairs (a, b) such that q 2 + r = 1977. IMO 1977/5 A 93. Find the largest positive integer n such that n is divisible by all the positive integers √ less than 3 n. APMO 1998 A 94. Find all n ∈ N such that 3n ? n is divisible by 17. a2 b2

A 95. Suppose that a and b are natural numbers such that p= b 4 2a ? b 2a + b Iran 1998 A 96. Find all positive integers n that have exactly 16 positive integral divisors d1 , d2 · · · , d16 such that 1 = d1 < d2 < · · · < d16 = n, d6 = 18, and d9 ? d8 = 17. Ireland 1998 A 97. Suppose that n is a positive integer and let d1 < d2 < d3 < d4 be the four smallest positive integer divisors of n. Find all integers n such that n = d1 2 + d2 2 + d3 2 + d4 2 . 13

is a prime number. What is the maximum possible value of p?

Iran 1999 A 98. Let n be a positive integer with k ≥ 22 divisors 1 = d1 < d2 < · · · < dk = n, all di?erent. Determine all n such that d7 2 + d10 2 = n d22

2

. Belarus 1999, I. Voronovich

A 99. Let n ≥ 2 be a positive integer, with divisors 1 = d1 < d2 < · · · < dk = n . Prove that d1 d2 + d2 d3 + · · · + dk?1 dk is always less than n2 , and determine when it divides n2 . IMO 2002/4 A 100. Find all positive integers n such that n has exactly 6 positive divisors 1 < d1 < d2 < d3 < d4 < n and 1 + n = 5(d1 + d2 + d3 + d4 ). Singapore 1997 A 101. Find all composite numbers n having the property that each proper divisor d of n has n ? 20 ≤ d ≤ n ? 12. Belarus 1998, E. Barabanov, I. Voronovich A 102. Determine all three-digit numbers N having the property that N is divisible by 11, N and 11 is equal to the sum of the squares of the digits of N. IMO 1960/1 A 103. When 44444444 is written in decimal notation, the sum of its digits is A. Let B be the sum of the digits of A. Find the sum of the digits of B. (A and B are written in decimal notation.) IMO 1975/4 A 104. A wobbly number is a positive integer whose digits in base 10 are alternatively non-zero and zero the units digit being non-zero. Determine all positive integers which do not divide any wobbly number. IMO Short List 1994 N7 A 105. Find the smallest positive integer n such that ? n has exactly 144 distinct positive divisors, ? there are ten consecutive integers among the positive divisors of n. IMO Long List 1985 (TR5) A 106. Determine the least possible value of the natural number n such that n! ends in exactly 1987 zeros. 14

IMO Long List 1987 A 107. Find four positive integers, each not exceeding 70000 and each having more than 100 divisors. IMO Short List 1986 P10 (NL1) A 108. For each integer n > 1, let p(n) denote the largest prime factor of n. Determine all triples (x, y, z) of distinct positive integers satisfying ? x, y, z are in arithmetic progression, ? p(xyz) ≤ 3. British Mathematical Olympiad 2003, 2-1 A 109. Find all positive integers a and b such that a2 + b b2 + a and 2 b2 ? a a ?b are both integers. APMO 2002/2 A 110. For each positive integer n, write the sum n 1/m in the form pn /qn , where pn m=1 and qn are relatively prime positive integers. Determine all n such that 5 does not divide qn . Putnam 1997/B3 A 111. Find all natural numbers n such that the number n(n + 1)(n + 2)(n + 3) has exactly three di?erent prime divisors. Spain 1993 A 112. Prove that there exist in?nitely many pairs (a, b) of relatively prime positive integers such that a2 ? 5 b2 ? 5 and b a are both positive integers. Germany 2003 A 113. Find all triples (l, m, n) of distinct positive integers satisfying gcd(l, m)2 = l + m, gcd(m, n)2 = m + n, and gcd(n, l)2 = n + l. Russia 1997 A 114. What is the greatest common divisor of the set of numbers {16n + 10n ? 1 | n = 1, 2, · · · }? [EbMk, pp. 16] A 115. Does there exist a 4-digit integer (in decimal form) such that no replacement of three of its digits by any other three gives a multiple of 1992? 15

[Ams, pp. 102], I. Selishev A 116. What is the smallest positive integer that consists base 10 of each of the ten digits, each used exactly once, and is divisible by each of the digits 2 through 9? [JDS, pp. 27] A 117. Find the smallest positive integer n such that 21989 | mn ? 1 for all odd positive integers m > 1. [Rh2, pp. 98] A 118. Determine the highest power of 1980 which divides (1980n)! . (n!)1980 MM, Jan. 1981, Problem 1089, M. S. Klamkin

16

Chapter 3

Arithmetic in Zn

Mathematics is the queen of the sciences and number theory is the queen of Mathematics. Johann Carl Friedrich Gauss

3.1

Primitive Roots

B 1. Let n be a positive integer. Show that there are in?nitely many primes p such that the smallest positive primitive root1 of p is greater than n.

2

p?1 B 2. Let p be a prime with p > 4 φ(p?1) 22k , where k denotes the number of distinct prime divisors of p ? 1, and let M be an integer. Prove that the set of integers {M + 1, M + √ p?1 2, · · · , M + 2 φ(p?1) 2k p ? 1} contains a primitive root modulo p.

[Imv, pp. 90] B 3. Show that for each odd prime p, there is an integer g such that 1 < g < p and g is a primitive root modulo pn for every positive integer n. MM, Problem 1419, William P. Wardlaw B 4. Let g be a Fibonacci primitive root (mod p). i.e. g is a primitive root (mod p) satisfying g 2 ≡ g + 1 (mod p). Prove that (a) g ? 1 is also a primitive root (mod p). (b) if p = 4k + 3 then (g ? 1)2k+3 ≡ g ? 2 (mod p), and deduce that g ? 2 is also a primitive root (mod p). [Km, Problems Sheet 3-9]

1

For a de?nition of primitive roots, see http://mathworld.wolfram.com/PrimitiveRoot.html.

17

B 5. Let p be an odd prime. If g1 , · · · , gφ(p?1) are the primitive roots (mod p) in the range 1 < g ≤ p ? 1, prove that

φ(p?1)

gi ≡ ?(p ? 1)

i=1

(mod p). [Km, Problems Sheet 3-11]

B 6. Suppose that m does not have a primitive root. Show that a for every a relatively prime m. [AaJc, pp. 178] B 7. Suppose that p > 3 is prime. Prove that the products of the primitive roots of p between 1 and p ? 1 is congruent to 1 modulo p. [AaJc, pp. 181] B 8. Let p be a prime. Let g be a primitive root of modulo p. Prove that there is no k such that g k+2 ≡ g k+1 + 1 ≡ g k + 2 (mod p). [Her, pp. 99]

φ(m) 2

≡1

(mod m)

3.2

Quadratic Residues

C 1. Find all positive integers n that are quadratic residues modulo all primes greater than n. CRUX, Problem 2344, Murali Vajapeyam C 2. The positive integers a and b are such that the numbers 15a + 16b and 16a ? 15b are both squares of positive integers. What is the least possible value that can be taken on by the smaller of these two squares? IMO 1996/4 C 3. Let p be an odd prime number. Show that the smallest positive quadratic nonresidue √ of p is smaller than p + 1. [IHH pp.147] C 4. Let M be an integer, and let p be a prime with p > 25. Show that the set {M, M + √ 1, · · · , M + 3 p ? 1} contains a quadratic non-residue to modulus p. [Imv, pp. 72] C 5. Let p be an odd prime and let Zp denote (the ?eld of) integers modulo p. How many elements are in the set {x2 : x ∈ Zp } ∩ {y 2 + 1 : y ∈ Zp }? Putnam 1991/B5 C 6. Let a, b, c be integers and let p be an odd prime with p |a and p |b2 ? 4ac. Show that

p

k=1

ak 2 + bk + c p

=?

a p

. [Ab, pp. 34]

18

3.3

Congruences

k p k p

D 1. If p is an odd prime, prove that ≡ (mod p). [Tma, pp. 127] D 2. Suppose that p is an odd prime. Prove that

p

j=0

p j

p+j j

≡ 2p + 1

(mod p2 ). Putnam 1991/B4

D 3. Show that (?1)

p?1 2

p?1

p?1 2

≡ 4p?1

(mod p3 )

for all prime numbers p with p ≥ 5. Morley D 4. Let n be a positive integer. Prove that n is prime if and only if n?1 k for all k ∈ {0, 1, · · · , n ? 1}. MM, Problem 1494, Emeric Deutsch and Ira M.Gessel D 5. Prove that for n ≥ 2, 22

···2

≡ (?1)k

(mod n)

≡

22

···2

(mod n). Putnam 1997/B5

n terms

n?1 terms

D 6. Show that, for any ?xed integer n ≥ 1, the sequence 2, 22 , 22 , 22 , · · · is eventually constant. USA 1991 D 7. Somebody incorrectly remembered Fermat’s little theorem as saying that the congruence an+1 ≡ a (mod n) holds for all a if n is prime. Describe the set of integers n for which this property is in fact true. [DZ] posed by Don Zagier at the St AndrewsColloquium 1996 D 8. Characterize the set of positive integers n such that, for all integers a, the sequence a, a2 , a3 , · · · is periodic modulo n. 19

2 22

(mod n)

MM Problem Q889, Michael McGeachie and StanWagon D 9. Show that there exists a composite number n such that an ≡ a (mod n) for all a ∈ Z. D 10. Let p be a prime number of the form 4k + 1. Suppose that 2p + 1 is prime. Show that there is no k ∈ N with k < 2p and 2k ≡ 1 (mod 2p + 1). D 11. During a break, n children at school sit in a circle around their teacher to play a game. The teacher walks clockwise close to the children and hands out candies to some of them according to the following rule. He selects one child and gives him a candy, then he skips the next child and gives a candy to the next one, then he skips 2 and gives a candy to the next one, then he skips 3, and so on. Determine the values of n for which eventually, perhaps after many rounds, all children will have at least one candy each. APMO 1991/4 D 12. Suppose that m > 2, and let P be the product of the positive integers less than m that are relatively prime to m. Show that P ≡ ?1 (mod m) if m = 4, pn , or 2pn , where p is an odd prime, and P ≡ 1 (mod m) otherwise. [AaJc, pp. 139] D 13. Let Γ consist of all polynomials in x with integer coe?cients. For f and g in Γ and m a positive integer, let f ≡ g (mod m) mean that every coe?cient of f ? g is an integral multiple of m. Let n and p be positive integers with p prime. Given that f, g, h, r and s are in Γ with rf + sg ≡ 1 (mod p) and f g ≡ h (mod p), prove that there exist F and G in Γ with F ≡ f (mod p), G ≡ g (mod p), and F G ≡ h (mod pn ). Putnam 1986/B3 D 14. Determine the number of integers n ≥ 2 for which the congruence x25 ≡ x is true for all integers x. Purdue POW, Spring 2003 Series/5 D 15. Let n1 , · · · , nk and a be positive integers which satify the following conditions: ? for any i = j, (ni , nj ) = 1, ? for any i, ani ≡ 1 (mod ni ), ? for any i, ni does not divide a ? 1. Show that there exist at least 2k+1 ? 2 integers x > 1 with ax ≡ 1 (mod x). Turkey 1993 D 16. Determine all positive integers n ≥ 2 that satisfy the following condition; For all integers a, b relatively prime to n, a≡b (mod n) ?? ab ≡ 1 20 (mod n). (mod n)

IMO Short List 2000 N1 D 17. Determine all positive integers n such that xy + 1 ≡ 0 (mod n) implies that x + y ≡ 0 (mod n). AMM, Problem???, M. S. Klamkin and A.Liu D 18. Let p be a prime number. Determine the maximal degree of a polynomial T (x) whose coe?cients belong to {0, 1, · · · , p ? 1}, whose degree is less than p, and which satis?es T (n) = T (m) for all integers n, m. Turkey 2000 D 19. Let a1 , · · · , ak and m1 , · · · , mk be integers with 2 ≤ m1 and 2mi ≤ mi+1 for 1 ≤ i ≤ k ? 1. Show that there are in?nitely many integers x which do not satisfy any of congruences x ≡ a1 (mod m1 ), x ≡ a2 (mod m2 ), · · · , x ≡ ak (mod mk ). Turkey 1995 D 20. Show that 1994 divides 10900 ? 21000 . Belarus 1994 D 21. Determine the last three digits of 20032002

2001

(mod p) =? n = m

(mod p)

. Canada 2003

D 22. Prove that 19801981

1982

+ 19821981

1980

is divisible by 19811981 . China 1981

D 23. Let p be an odd prime of the form p = 4n + 1. (a) Show that n is a quadratic residue (mod p). (b) Calculate the value nn (mod p).

21

Chapter 4

Primes and Composite Numbers

Wherever there is number, there is beauty. E 1. Prove that the number 5123 + 6753 + 7203 is composite.1 [DfAk, pp. 50] Leningrad Mathematical Olympiad 1991 E 2. Let a, b, c, d be integers with a > b > c > d > 0. Suppose that ac + bd = (b + d + a ? c)(b + d ? a + c). Prove that ab + cd is not prime. IMO 2001/6 E 3. Find the sum of all distinct positive divisors of the number 104060401. MM, Problem Q614, Rod Cooper E 4. Prove that 1280000401 is composite.

5125 ?1 525 ?1

Proclus Diadochus

E 5. Prove that

is a composite number. IMO Short List 1992 P16

E 6. Find a factor of 233 ? 219 ? 217 ? 1 that lies between 1000 and 5000. MM, Problem Q684, Noam Elkies E 7. Show that there exists a positive integer k such that k ·2n +1 is composite for all n ∈ N0 . USA 1982 E 8. Show that for all integer k > 1, there are in?nitely many natural numbers n such that n k · 22 + 1 is composite. [VsAs] E 9. Four integers are marked on a circle. On each step we simultaneously replace each number by the di?erence between this number and next number on the circle in a given direction (that is, the numbers a, b, c, d are replaced by a ? b, b ? c, c ? d, d ? a). Is it possible after 1996 such steps to have numbers a, b, c and d such that the numbers |bc ? ad|, |ac ? bd| and |ab ? cd| are primes?

1

Hint: 2z 2 = 3xy ? x3 + y 3 + z 3 = x3 + y 3 + (?z)3 ? 3xy(?z).

22

IMO Short List 1996 N1 E 10. Represent the number 989 · 1001 · 1007 + 320 as a product of primes. [DfAk, pp. 9] Leningrad Mathematical Olympiad 1987 E 11. In 1772 Euler discovered the curious fact that n2 + n + 41 is prime when n is any of 0, 1, 2, · · · , 39. Show that there exist 40 consecutive integer values of n for which this polynomial is not prime. [JDS, pp. 26] E 12. Show that there are in?nitely many primes.

E 13. Find all natural numbers n for which every natural number whose decimal representation has n ? 1 digits 1 and one digit 7 is prime. IMO Short List 1990 USS1 E 14. Prove2 that there do not exist polynomials P and Q such that π(x) = for all x ∈ N. [Tma, pp. 101] E 15. Show that there exist two consecutive squares such that there are at least 1000 primes between them. MM, Problem Q789, Norman Schaumberger E 16. Prove that for any prime p in the interval3 n, 4n , p divides 3

n j=0

P (x) Q(x)

n j

4

. MM, Problem 1392, George Andrews

E 17. Let a, b, and n be positive integers with gcd(a, b) = 1. Without using Dirichlet’s theorem4 , show that there are in?nitely many k ∈ N such that gcd(ak + b, n) = 1. [AaJc pp.212] E 18. Without using Dirichlet’s theorem, show that there are in?nitely many primes ending in the digit 9.

E 19. Let p be an odd prime. Without using Dirichlet’s theorem, show that there are in?nitely many primes of the form 2pk + 1.

Denote π(x) the number of primes p with p ≤ x. Here, ]a, b] denotes the same as (a, b]. It seems both notations are used. 4 For any a, b ∈ N with gcd(a, b) = 1, there are in?nitely many primes of the form ak + b.

3 2

23

[AaJc pp.176] E 20. Verify that, for each r ≥ 1, there are in?nitely many primes p with p ≡ 1 (mod 2r ). [GjJj pp.140] E 21. Prove that if p is a prime, then pp ? 1 has a prime factor that is congruent to 1 modulo p. [Ns pp.176] E 22. Let p be a prime number. Prove that there exists a prime number q such that for every integer n, np ? p is not divisible by q. IMO 2003/6 E 23. Let p1 = 2, p2 = 3, p3 = 5, · · · , pn be the ?rst n prime numbers, where n ≥ 3. Prove that 1 1 1 1 1 + 2 + ··· + 2 + < . 2 p1 p2 pn p1 p2 · · · pn 2 Yugoslavia 2001 E 24. Let pn again denote the nth prime number. Show that the in?nite series

∞ n=1

1 pn

diverges.

E 25. Prove that ln n ≥ k ln 2, where n is a natural number and k is the number of distinct primes that divide n. [Er pp.10] E¨tv¨s Competition 1896 o o E 26. Find the smallest prime which is not the di?erence (in some order) of a power of 2 and a power of 3. MM, Problem 1404, H. Gauchmen and I.Rosenholtz E 27. Prove that for each positive integer n, there exist n consecutive positive integers none of which is an integral power of a prime number. IMO 1989/5 E 28. Show that nπ(2n)?π(n) < 4n for all positive integer n. [GjJj pp.36] E 29. Let sn denote the sum of the ?rst n primes. Prove that for each n there exists an integer whose square lies between sn and sn+1 . [Tma, pp. 102] E 30. Given an odd integer n > 3, let k and t be the smallest positive integers such that both kn + 1 and tn are squares. Prove that n is prime if and only if both k and t are greater than n 4 24

[Tma, pp. 128] E 31. Suppose n and r are nonnegative integers such that no number of the form n2 + r ? k(k + 1) (k ∈ N) equals to ?1 or a positive composite number. Show that 4n2 + 4r + 1 is 1, 9 or prime. CRUX, Problem 1608, Seung-Jin Bang E 32. Let n ≥ 5 be an integer. Show that n is prime if and only if ni nj = np nq for every partition of n into 4 integers, n = n1 + n2 + n3 + n4 , and for each permutation (i, j, p, q) of (1, 2, 3, 4). Singapore 1989 E 33. Prove that there are no positive integers a and b such that for all di?erent primes p and q greater than 1000, the number ap + bq is also prime. Russia 1996 E 34. Let pn denote the nth prime number. For all n ≥ 6, prove that √ π ( p1 p2 · · · pn ) > 2n. [Rh, pp. 43] E 35. There exists a block of 1000 consecutive positive integers containing no prime numbers, namely, 1001! + 2, 1001! + 3, · · · , 1001! + 1001. Does there exist a block of 1000 consecutive positive integers containing exactly ?ve prime numbers? [Tt] Tournament of the Towns 2001 Fall/O-Level E 36. Prove that there are in?nitely many twin primes if and only if there are in?nitely many integers that cannot be written in any of the following forms: 6uv + u + v, 6uv + u ? v, 6uv ? u + v, 6uv ? u ? v, for some positive integers u and v. [PeJs, pp. 160], S. Golomb E 37. It’s known that there is always a prime between n and 2n ? 7 for all n ≥ 10. Prove that, with the exception of 1, 4, and 6, every natural number can be written as the sum of distinct primes. [PeJs, pp. 174] E 38. Prove that if c > 8 , then there exists a real numbers θ such that θc 3 every positive integer n.

n

is prime for

[PbAw, pp. 1] E 39. Let c be a nonzero real numbers. Suppose that g(x) = c0 xr + c1 xr?1 + · · · + cr?1 x + cr is a polynomial with integer coe?cients. Suppose that the roots of g(x) are b1 , · · · , br . Let k be a given positive integer. Show that there is a prime p such that p > max(k, |c|, |cr |), and moreover if t is a real between 0 and 1, and j is one of 1, · · · , r, then |( cr bj g(tbj ) )p e(1?t)b | < 25 (p ? 1)! . 2r

Furthermore, if f (x) = then

r j=1 0 1

erp?1 xp?1 (g(x))p (p ? 1)!

1 e(1?t)bj f (tbj )dt ≤ . 2 [Wsa, pp. 217]

E 40. Prove that there do not exist eleven primes, all less than 20000, which form an arithmetic progression. [DNI, 19] E 41. Let n be a positive integer. Show that n is prime if and only if

s r→∞ s→∞ t→∞

lim lim lim

u=0

(u!)r π 1 ? cos n

2

t

= n. [Her, pp. 11], G. H. Hardy

26

Chapter 5

Rational and Irrational Numbers

God made the integers, all else is the work of man. Leopold Kronecker

5.1

Rational Numbers

F 1. Suppose that a rectangle with sides a and b is arbitrarily cut into squares with sides x1 , · · · , xn . Show that xi ∈ Q and xi ∈ Q for all i ∈ {1, · · · , n}. a b [Vvp, pp. 40] F 2. Find all x and y which are rational multiples of π with 0 < x < y < 2.

π 2

and tan x+tan y =

CRUX, Problem 1632, Stanley Rabinowitz F 3. Let α be a rational number with 0 < α < 1 and cos(3πα) + 2 cos(2πα) = 0. Prove that 2 α = 3. IMO ShortList 1991 P19 (IRE 5) F 4. Suppose that tan α = p , where p and q are integers and q = 0. Prove the number tan β q for which tan 2β = tan 3α is rational only when p2 + q 2 is the square of an integer. IMO Long List 1967 P20 (DDR) F 5. Prove that there is no positive rational number x such that x

x

9 = . 2 Austria 2002

F 6. Let x, y, z non-zero real numbers such that xy, yz, zx are rational. (a) Show that the number x2 + y 2 + z 2 is rational. (b) If the number x3 + y 3 + z 3 is also rational, show that x, y, z are rational.

27

Romania 2001, Marius Ghergu F 7. If x is a positive rational number, show that x can be uniquely expressed in the form x = a1 + a2 a3 + + ··· , 2! 3!

where a1 a2 , · · · are integers, 0 ≤ an ≤ n ? 1 for n > 1, and the series terminates. Show also that x can be expressed as the sum of reciprocals of di?erent integers, each of which is greater than 106 . IMO Long List 1967 (GB) F 8. Find all polynomials W with real coe?cients possessing the following property: if x + y is a rational number, then W (x) + W (y) is rational. Poland 2002 F 9. Prove that every positive rational number can be represented in the form a3 + b3 c3 + d3 for some positive integers a, b, c, and d. IMO Short List 1999 F 10. The set S is a ?nite subset of [0, 1] with the following property: for all s ∈ S, there exist a, b ∈ S ∪ {0, 1} with a, b = s such that s = a+b . Prove that all the numbers in S are 2 rational. Berkeley Math Circle Monthly Contest 1999-2000 F 11. Let S = {x0 , x1 , · · · , xn } ? [0, 1] be a ?nite set of real numbers with x0 = 0 and x1 = 1, such that every distance between pairs of elements occurs at least twice, except for the distance 1. Prove that all of the xi are rational. Iran 1998 F 12. Does there exist a circle and an in?nite set of points on it such that the distance between any two points of the set is rational? [Zh, PP. 40] Mediterranean MC 1999 (Proposed by Ukraine) F 13. Prove that numbers of the form a1 a2 a3 + + + ··· , 1! 2! 3! where 0 ≤ ai ≤ i ? 1 (i = 2, 3, 4, · · · ) are rational if and only if starting from some i on all the ai ’s are either equal to 0 ( in which case the sum is ?nite) or all are equal to i ? 1. [PeJs, pp. 99] F 14. Let k and m be positive integers. Show that

∞

S(m, k) =

n=1

1 n(mn + k)

is rational if and only if m divides k. 28

[PbAw, pp. 2] F 15. Find all rational numbers k such that 0 ≤ k ≤

1 2

and cos kπ is rational. [EbMk, pp. 15]

F 16. Prove that for any distinct rational numbers a, b, c, the number 1 1 1 + + 2 2 (b ? c) (c ? a) (a ? b)2 is the square of some rational number. [EbMk, pp. 23]

5.2

Irrational Numbers

G 1. Find the smallest positive integer n such that √ √ 0 < 4 n ? 4 n < 0.00001. [GML, pp. 167] G 2. Prove that for any positive integers a and b √ a 2?b > 1 . 2(a + b) [GML, pp. 183] G 3. Prove that there exist positive integers m and n such that m2 √ 1 ? 2001 < 8 . 3 n 10 The Grosman Meomorial Mathematical Olympiad 1999 G 4. Let a, b, c be integers, not all zero and each of absolute value less than one million. Prove that √ √ 1 a + b 2 + c 3 > 21 . 10 Belarus 2002 G 5. Let a, b, c be integers, not all equal to 0. Show that √ √ 1 3 3 ≤ | 4a + 2b + c|. 4a2 + 3b2 + 2c2 Belarus 2001 G 6. Prove that for any irrational number ξ, there are in?nitely many rational numbers ((m, n) ∈ Z × N) such that n 1 ξ? <√ . m 5m2

m n

Putnam 1980, Hurwitz 29

G 7. Show that π is irrational. CRUX, Problem A240, Mohammed Aassila G 8. Show that e =

∞ 1 n=0 n!

is irrational.

G 9. Show that cos π is irrational. 7

1 π √1 2003

G 10. Show that

arccos

is irrational.

G 11. Show that cos 1? is irrational.

G 12. An integer-sided triangle has angles pθ and qθ, where p and q are relatively prime integers. Prove that cos θ is irrational.

G 13. It is possible to show that csc 3π ? csc 10π = 1.999989433.... Prove that there are no 29 29 integers j, k, n with odd n satisfying csc jπ ? csc kπ = 2. n n G 14. For which angles θ, with θ a rational number of degrees, is tan2 θ + tan2 2θ is irrational? CRUX, Problem 2305, Richard I. Hess G 15. Prove that for any p, q ∈ N with q > 1 the following inequality holds:1 π? p ≥ q ?42 . q

(K. Mahler, 1953) AMM, Problem 10630, Richard Strong G 16. For each integer n ≥ 1, prove that there is a polynomial Pn (x) with rational coe?cients such that x4n (1 ? x)4n = (1 + x)2 Pn (x) + (?1)n 4n . De?ne the rational number an by an = (?1)n?1 4n?1

1

Pn (x) dx, n = 1, 2, · · · .

0

Prove that an satis?es the inequality |π ? an | < 1 , n = 1, 2, · · · . 45n?1 MM, Problem 1372, Nick Lord

1 This is a deep theorem in transcendental number theory. Note that it follows from this result that π is irrational! In fact, it’s known that for su?ciently large q, the exponent 42 can be replaced by 30. Here is a similar result due to A. Baker: for any rationals p , one has | ln 2 ? p | ≥ 10?100000 q ?12.5 . [AI, pp. 106] q q

30

G 17. Suppose that p, q ∈ N satisfy the inequality √ √ exp(1) · ( p + q ? q)2 < 1. Show that ln 1 +

p q

is irrational. (K. Alladi, M. Robinson, 1979) [AI, pp. 106] For a proof, See [Kmh].

G 18. Show that the cube roots of three distinct primes cannot be terms in an arithmetic progression. [KhKw, pp. 11] G 19. Let n be an integer greater than or equal to 3. Prove that there is a set of n points in the plane such that the distance between any two points is irrational and each set of three points determines a non-degenerate triangle with a rational area. [AI, pp. 116] For a proof, See [KaMr]. G 20. You are given three lists A, B, and C. List A contains the numbers of the form 10k in base 10, with k any integer greater than or equal to 1. Lists B and C contain the same numbers translated into base 2 and 5 respectively: A 10 100 1000 . . . B 1010 1100100 1111101000 . . . C 20 400 . 13000 . . .

Prove that for every integer n > 1, there is exactly one number in exactly one of the lists B or C that has exactly n digits. APMO 1994/5 G 21. Prove that if α and β are positive irrational numbers satisfying sequences α , 2α , 3α , · · · and β , 2β , 3β , · · · together include every positive integer exactly once. (Beatty) IMO 1987/5 G 22. For a positive real number α, de?ne S(α) = { nα | n = 1, 2, 3, · · · }. Prove that N cannot be expressed as the disjoint union of three sets S(α), S(β), and S(γ). Putnam 1995/B6 G 23. Let f (x) = are irrational.

∞ n=1 x 2n 1 α

+

1 β

= 1, then the

1+

. Show that at the point x = 1, f (x) and all its derivatives

31

G 24. Let {an }n≥1 be a sequence of positive numbers such that a2 = an + 1, n ∈ N. n+1 Show that the sequence contains an irrational number. Putnam 1995 G 25. Show that tan

π m

is irrational for all positive integers m ≥ 5. MM, Problem 1385, Howard Morris

G 26. Prove that if g ≥ 2 is an integer, then two series 1 and g n2 n=0 both converge to irrational numbers. [Ae, pp. 226] G 27. Let 1 < a1 < a2 < · · · be a sequence of positive integers. Show that 2a1 2a2 2a3 + + + ··· a1 ! a2 ! a3 ! is irrational. [PeJs, pp. 95] G 28. Do there exist real numbers a and b such that (a) a + b is rational and an + bn is irrational for all n ∈ N with n ≥ 2? (b) a + b is irrational and an + bn is rational for all n ∈ N with n ≥ 2? (N. Agahanov) [PeJs, pp. 99] G 29. Let p(x) = x3 + a1 x2 + a2 x + a3 have rational coe?cients and have roots r1 , r2 , and r3 . If r1 ? r2 is rational, must r1 , r2 , and r3 be rational? [PbAw, pp. 2] G 30. Let α = 0.d1 d2 d3 · · · be a decimal representation of a real number between 0 and 1. Let r be a real number with |r| < 1. (a) If α and r are rational, must (b) If

∞ i i=1 di r ∞ i i=1 di r ∞ ∞ n=0

1 g n!

be rational?

and r are rational, α must be rational? [Ams, pp. 14]

32

Chapter 6

Diophantine Equations

To divide a cube into two other cubes, a fourth power or in general any power whatever into two powers of the same denomination above the second is impossible, and I have assuredly found an admirable proof of this, but the margin is too narrow to contain it. Pierre de Fermat, in the margin of his copy of Diophantus’ Arithmetica

H 1. One of Euler’s conjectures1 was disproved in the 1980s by three American Mathematicians2 when they showed that there is a positive integer n such that n5 = 1335 + 1105 + 845 + 275 . Find the value of n. AIME 1989/9 H 2. The number 21982145917308330487013369 is the thirteenth power of a positive integer. Which positive integer? UC Berkeley Preliminary Exam 1983 H 3. Does there exist a solution to the equation x2 + y 2 + z 2 + u2 + v 2 = xyzuv ? 65 in integers with x, y, z, u, v greater than 1998? Taiwan 1998 H 4. Find all pairs (x, y) of positive rational numbers such that x2 + 3y 2 = 1.

H 5. Find all pairs (x, y) of rational numbers such that y 2 = x3 ? 3x + 2.

1

In fourth higher 2 L.

1769, Euler, by generalizing Fermat’s Last Theorem, conjectured that ‘it is impossible to exhibit three powers whose sum is a fourth power, four ?fth powers whose sum is a ?fth power, and similarly for powers’ [Rs] J. Lander, T. R. Parkin, and J. L. Selfridge

33

H 6. Show that there are in?nitely many pairs (x, y) of rational numbers such that x3 +y 3 = 9.

H 7. Determine all pairs (x, y) of positive integers satisfying the equation (x + y)2 ? 2(xy)2 = 1. Poland 2002 H 8. Show that the equation x3 + y 3 + z 3 + t3 = 1999 has in?nitely many integral solutions.3 Bulgaria 1999 H 9. Determine all integers a for which the equation x2 + axy + y 2 = 1 has in?nitely many distinct integer solutions x, y. Ireland 1995 H 10. Prove that there are unique positive integers a and n such that an+1 ? (a + 1)n = 2001. Putnam 2001 H 11. Find all (x, y, n) ∈ N3 such that gcd(x, n + 1) = 1 and xn + 1 = y n+1 . India 1998 H 12. Find all (x, y, z) ∈ N3 such that x4 ? y 4 = z 2 .

4

H 13. Find all pairs (x, y) of positive integers that satisfy the equation y 2 = x3 + 16.

Italy 1994 H 14. Show that the equation x2 + y 5 = z 3 has in?nitely many solutions in integers x, y, z for which xyz = 0. Canada 1991

3 More generally, the following result is known: let n be an integer, then the equation x3 + y 3 + z 3 + w3 = n has in?nitely many integral solutions (x, y, z, w) if there can be found one solution (x, y, z, w) = (a, b, c, d) with (a + b)(c + d) negative and with either a = b and c = d. [Eb2, pp.90] 4 It’s known that there are (in?nitely) many integers k so that the equation y 2 = x3 + k has no integral solutions. For example, if k has the form k = (4n ? 1)3 ? 4m2 , where m and n are integers such that no prime p ≡ ?1 (mod 4) divides m, then the equation y 2 = x3 + k has no integral solutions. For a proof, see [Tma, pp. 191].

34

H 15. Prove that there are no integers x and y satisfying x2 = y 5 ? 4. Balkan Mathematical Olympiad 1998 H 16. Find all pairs (a, b) of di?erent positive integers that satisfy the equation W (a) = W (b), where W (x) = x4 ? 3x3 + 5x2 ? 9x. Poland 2003 H 17. Find all positive integers n for which the equation √ a + b + c + d = n abcd has a solution in positive integers. Vietnam 2002 H 18. Determine all positive integer solutions (x, y, z, t) of the equation (x + y)(y + z)(z + x) = xyzt for which gcd(x, y) = gcd(y, z) = gcd(z, x) = 1. Romania 1995, M. Becheanu H 19. Find all (x, y, z, n) ∈ N4 such that x3 + y 3 + z 3 = nx2 y 2 z 2 . [UmDz pp.14] Unused Problem for the Balkan MO H 20. Determine all positive integers n for which the equation xn + (2 + x)n + (2 ? x)n = 0 has an integer as a solution. APMO 1993/4 H 21. Prove that the equation 6(6a2 + 3b2 + c2 ) = 5n2 has no solutions in integers except a = b = c = n = 0. APMO 1989/2 H 22. Find all integers a, b, c, x, y, z such that a + b + c = xyz, x + y + z = abc, a ≥ b ≥ c ≥ 1, x ≥ y ≥ z ≥ 1. Poland 1998 H 23. Find all (x, y, z) ∈ Z3 such that x3 + y 3 + z 3 = x + y + z = 3. H 24. Prove that if n is a positive integer such that the equation x3 ? 3xy 2 + y 3 = n. has a solution in integers (x, y), then it has at least three such solutions. Show that the equation has no solutions in integers when n = 2891. 35

IMO 1982/4 H 25. What is the smallest positive integer t such that there exist integers x1 , x2 , · · · , xt with x1 3 + x2 3 + · · · + xt 3 = 20022002 ? IMO Short List 2002 N1 H 26. Solve in integers the following equation n2002 = m(m + n)(m + 2n) · · · (m + 2001n). Ukraine 2002 H 27. Prove that there exist in?nitely many positive integers n such that p = nr, where p and r are respectively the semi-perimeter and the inradius of a triangle with integer side lengths. IMO Short List 2000 N5 H 28. Let a, b, c be positive integers such that a and b are relatively prime and c is relatively prime either to a or b. Prove that there exist in?nitely many triples (x, y, z) of distinct positive integers such that xa + y b = z c . IMO Short List 1997 N6 H 29. Find all pairs of integers (x, y) satisfying the equality y(x2 + 36) + x(y 2 ? 36) + y 2 (y ? 12) = 0. Belarus 2000 H 30. Let a, b, c be given integers, a > 0, ac ? b2 = p a squarefree positive integer. Let M (n) denote the number of pairs of integers (x, y) for which ax2 + bxy + cy 2 = n. Prove that M (n) is ?nite and M (n) = M (pk · n) for every integer k ≥ 0. IMO Short List 1993 GEO3 H 31. Determine all integer solutions of the system 2uv ? xy = 16, xv ? yu = 12. [Eb1, pp. 19] AMM 61(1954), 126; 62(1955), 263 H 32. Let n be a natural number. Solve in whole numbers the equation xn + y n = (x ? y)n+1 . IMO Long List 1987 (Romania) H 33. Does there exist an integer such that its cube is equal to 3n2 + 3n + 7, where n is integer? IMO Long List 1967 P (PL) 36

H 34. Are there integers m and n such that 5m2 ? 6mn + 7n2 = 1985? IMO Long List 1985 (SE1) H 35. Find all cubic polynomials x3 + ax2 + bx + c admitting the rational numbers a, b and c as roots. IMO Long List 1985 (TR3) H 36. Prove that the equation a2 + b2 = c2 + 3 has in?nitely many integer solutions (a, b, c). Italy 1996 H 37. Prove that for each positive integer n there exist odd positive integers xn and yn such that xn 2 + 7yn 2 = 2n . Bulgaria 1996 H 38. Suppose that p is an odd prime such that 2p + 1 is also prime. Show that the equation xp + 2y p + 5z p = 0 has no solutions in integers other than (0, 0, 0). [JeMm, pp. 10] H 39. Let A, B, C, D, E be integers, B = 0 and F = AD2 ? BCD + B 2 E = 0. Prove that the number N of pairs of integers (x, y) such that Ax2 + Bxy + Cx + Dy + E = 0, satis?es N ≤ 2d(|F |), where d(n) denotes the number of positive divisors of positive integer n. [KhKw, pp. 9] H 40. Determine all pairs of rational numbers (x, y) such that x3 + y 3 = x2 + y 2 . [EbMk, pp. 44] H 41. Suppose that A = 1, 2, or 3. Let a and b be relatively prime integers such that a2 + Ab2 = s3 for some integer s. Then, there are integers u and v such that s = u2 + Av 2 , a = u3 ? 3Avu2 , and b = 3u2 v ? Av 3 . [Wsa, pp. 39] H 42. Find all integers a for which x3 ? x + a has three integer roots. [GML, pp. 2] H 43. Find all solutions in integers of x3 + 2y 3 = 4z 3 . [GML, pp. 33] H 44. For all n ∈ N, show that the number of integral solutions (x, y) of x2 + xy + y 2 = n is ?nite and a multiple of 6. [GML, pp. 192] 37

H 45. Show that there cannot be four squares in arithmetical progression. (Fermat) [Ljm, pp. 21] H 46. Let a, b, c, d, e, f be integers such that b2 ? 4ac > 0 is not a perfect square and 4acf + bde ? ae2 ? cd2 ? f b2 = 0. Let f (x, y) = ax2 + bxy + cy 2 + dx + ey + f Suppose that f (x, y) = 0 has an integral solution. Show that f (x, y) = 0 has in?nitely many integral solutions. (Gauss) [Ljm, pp. 57] H 47. Show that the equation x4 + y 4 + 4z 4 = 1 has in?nitely many rational solutions. [Ljm, pp. 94] H 48. Solve the equation x2 + 7 = 2n in integers. [Ljm, pp. 205] H 49. Show that the only solutions of the equation x3 ? 3xy 2 ? y 3 = 1 are given by (x, y) = (1, 0), (0, ?1), (?1, 1), (1, ?3), (?3, 2), (2, 1). [Ljm, pp. 208] H 50. Show that the equation y 2 = x3 + 2a3 ? 3b2 has no solution in integers if ab = 0, a ≡ 1 (mod 3), 3 does not divide b, a is odd if b is even, and p = t2 + 27u2 has a solution in integers t, u if p|a and p ≡ 1 (mod 3). [Her, pp. 287] H 51. Prove that the product of ?ve consecutive positive integers is never a perfect square. [Rh3, pp. 207] H 52. Do there exist two right-angled triangles with integer length sides that have the lengths of exactly two sides in common?

H 53. Suppose that a, b, and p are integers such that b ≡ 1 (mod 4), p ≡ 3 (mod 4), p is prime, and if q is any prime divisor of a such that q ≡ 3 (mod 4), then q p |a2 and p does not divide q ? 1 (if q = p, then also q|b). Show that the equation x2 + 4a2 = y p ? bp has no solutions in integers. MM, Jan. 1985, Lorraine L. Foster, pp. 50-51 H 54. Show that the number of integral-sided right triangles whose ratio of area to semiperimeter is pm , where p is a prime and m is an integer, is m + 1 if p = 2 and 2m + 1 if p = 2. MM, Sep. 1980, Problem 1077, Henry Klostergaard 38

H 55. Given that 34! = 95232799cd96041408476186096435ab000000(10) , determine the digits a, b, c, and d. British Mathematical Olympiad 2002/2003, 1-1 H 56. Prove that the equation5 numbers where all xi are di?erent.

n k cyc (x1

? x2 ) =

cyc (x1

? x3 ) has a solution in natural Latvia 1995

H 57. Show that the equation

= ml has no integral solution with l ≥ 2 and 4 ≤ k ≤ n?4. (P. Erd¨s) [MaGz pp.13-16] o

H 58. Solve in positive integers the equation 10a + 2b ? 3c = 1997. Belarus 1999, S. Shikh H 59. Solve the equation 28x = 19y + 87z , where x, y, z are integers. IMO Long List 1987 (Greece) H 60. Show that the equation x7 + y 7 = 1998z has no solution in positive integers. [VsAs] H 61. Solve the equation 2x ? 5 = 11y in positive integers. CRUX, Problem 1797, Marcin E. Kuczma H 62. Solve the equation 7x ? 3y = 4 in positive integers. India 1995 H 63. Show that |12m ? 5n | ≥ 7 for all m, n ∈ N.

H 64. Show that there is no positive integer k for which the equation (n ? 1)! + 1 = nk is true when n is greater than 5. [Rdc pp.51] H 65. Determine all pairs (x, y) of integers such that (19a + b)18 + (a + b)18 + (19b + a)18 is a nonzero perfect square. Austria 2002

There stands (x1 ? x2 )(x2 ? x3 )(x3 ? x4 )(x4 ? x5 )(x5 ? x6 )(x6 ? x7 )(x7 ? x1 ) = (x1 ? x3 )(x2 ? x4 )(x3 ? x5 )(x4 ? x6 )(x5 ? x7 )(x6 ? x1 )(x7 ? x2 ).

5

39

H 66. Let b be a positive integer. Determine all 2002-tuples of non-negative integers (a1 , a2 , · · · , a2002 ) satisfying

2002

aj aj = 2002bb .

j=1

Austria 2002 H 67. Is there a positive integer m such that the equation 1 m 1 1 1 + + + = a b c abc a+b+c has in?nitely many solutions in positive integers a, b, c ? IMO Short List 2002 N4 H 68. Consider the system x + y = z + u, 2xy = zu. Find the greatest value of the real constant m such that m ≤ solution (x, y, z, u) of the system, with x ≥ y.

x y

for any positive integer

IMO Short List 2001 N2 √ H 69. Determine all positive rational numbers r = 1 such that r?1 r is rational. Hong Kong 2000 H 70. Show that the equation6 {x3 } + {y 3 } = {z 3 } has in?nitely many rational non-integer solutions. Belarus 1999 H 71. Let n be a positive integer. Prove that the equation x+y+ 1 1 + = 3n x y

does not have solutions in positive rational numbers. Baltic Way 2002 H 72. Find all pairs (x, y) of positive rational numbers such that xy = y x .

H 73. Find all pairs (a, b) of positive integers that satisfy the equation ab = ba . IMO 1997/5 H 74. Find all pairs (a, b) of positive integers that satisfy the equation aa = bb .

6 a 2

Here, {x} denotes x ? x .

40

Belarus 2000 H 75. Let a, b, and x be positive integers such that xa+b = ab b. Prove that a = x and b = xx . Iran 1998 H 76. Find all pairs (m, n) of integers that satisfy the equation (m ? n)2 = 4mn . m+n?1 Belarus 1996 H 77. Find all pairwise relatively prime positive integers l, m, n such that (l + m + n) is an integer. Korea 1998 H 78. Let x, y, and z be integers with z > 1. Show that (x + 1)2 + (x + 2)2 + · · · + (x + 99)2 = y z . Hungary 1998 H 79. Find all positive integers m and n for which 1! + 2! + 3! + · · · + n! = m2 . [Eb2, pp. 20] Q657, MM 52(1979), 47, 55 √ √ H 80. Prove that if a, b, c, d are integers such that d = (a + 3 2b + 3 4c)2 then d is a perfect square. IMO Short List 1980 (GB) H 81. Find a pair of relatively prime four digit natural numbers A and B such that for all natural numbers m and n, |Am ? B n | ≥ 400. [DfAk, pp. 18] Leningrad Mathematical Olympiad 1988 H 82. Find all triples (a, b, c) of positive integers to the equation a!b! = a! + b! + c!. British Mathematical Olympiad 2002/2003, 1-5 H 83. Find all pairs (a, b) of positive integers such that √ √ √ 3 3 ( 3 a + b ? 1)2 = 49 + 20 6. British Mathematical Olympiad 2000, 2-3 1 1 1 + + l m n

41

H 84. For what positive numbers a is

3

2+

√

a+

3

2?

√

a

an integer? MM, Problem 1529, David C. Kay H 85. Find all integer solutions to 2(x5 + y 5 + 1) = 5xy(x2 + y 2 + 1). MM, Problem 1538, Murray S. Klamkin and George T. Gilbert. H 86. A triangle with integer sides is called Heronian if its area is an integer. Does there exist a Heronian triangle whose sides are the arithmetic, geometric and harmonic means of two positive integers? CRUX, Problem 2351, Paul Yiu H 87. What is the smallest perfect square that ends in 9009? [EbMk, pp. 22] H 88. (Leo Moser) Show that the Diophantine equation 1 1 1 1 + + ··· + + =1 x1 x2 xn x1 x2 · · · xn has at least one solution for every positive integers n. [EbMk, pp. 46] √ H 89. Prove that the number 99999 + 111111 3 cannot be written in the form (A + B 3)2 , where A and B are integers. √ [DNI, 42] H 90. Find all triples of positive integers (x, y, z) such that (x + y)(1 + xy) = 2z . Vietnam 2004 H 91. If R and S are two rectangles with integer sides such that the perimeter of R equals the area of S and the perimeter of S equals the area of R, then we call R and S a friendly pair of rectangles. Find all friendly pairs of rectangles. [JDS, pp. 29]

42

Chapter 7

Functions in Number Theory

Number theorists are like lotus-eaters - having tasted this food they can never give it up. Leopold Kronecker

7.1

Floor Function and Fractional Part Function

I 1. Let α be the positive root of the equation x2 = 1991x + 1. For natural numbers m and n de?ne m ? n = mn + αm αn . Prove that for all natural numbers p, q, and r, (p ? q) ? r = p ? (q ? r). IMO ShortList 1991 P20 (IRE 3) I 2. Prove that for any positive integer n, n n+2 n+4 n n+3 + + = + . 3 6 6 2 6 [EbMk, pp. 5] I 3. Prove that for any positive integer n, n+2 n+4 n+8 n+1 + + + + · · · = n. 2 4 8 16 [EbMk, pp. 7] I 4. Show that for all positive integers n, √ √ √ √ √ n+ n+1 = 4n + 1 = 4n + 2 = 4n + 3 . Canada 1987 43

I 5. Find all real numbers α for which the equality √ √ √ n+ n+α = 4n + 1 holds for all positive integers n. CRUX, Problem 1650, Iliya Bluskov I 6. Prove that for all positive integers n, √ √ √ √ n+ n+1+ n+2 = 9n + 8 . Iran 1996 I 7. Prove that for all positive integers n, √ √ √ 3 n + 3 n + 1 = 3 8n + 3 . MM, Problem 1410, Seung-Jin Bang I 8. Prove that √ 3 n+ √ 3 n+1+ √ 3 n+2 = √ 3 27n + 26 for all positive integers n.

Can. Math. Soc. Notes, Problem P11, Mih?ly Bencze a I 9. Show that for all positive integers m and n,

m?1

gcd(m, n) = m + n ? mn + 2

k=0

kn . m Taiwan 1998

I 10. Show that for all primes p,

p?1

k=1

k3 p

=

(p + 1)(p ? 1)(p ? 2) . 4 AMM, Problem 10346, David Doster

I 11. Let p be a prime number of the form 4k + 1. Show that

p?1

i=1

2i2 i2 ?2 p p

=

p?1 . 2 Korea 2000

I 12. Let p = 4k + 1 be a prime. Show that

k

ip =

i=1

p2 ? 1 . 12 [IHH pp.142]

I 13. Suppose that n ≥ 2. Prove that

n k=2

n2 k

n2

=

k=n+1

n2 . k

44

CRUX, Problem 2321, David Doster I 14. Let a, b, n be positive integers with gcd(a, b) = 1. Prove1 that ak + b n = n?1 , 2

k

where k runs through a complete system of residues modulo m.

I 15. Find the total number of di?erent integer values the function f (x) = x + 2x + takes for real numbers x with 0 ≤ x ≤ 100. APMO 1993/2 I 16. Prove or disprove that there exists a positive real number u such that un ? n is an even integer for all positive integer n. 5x + 3x + 4x 3

I 17. Determine all real numbers a such that 4 an = n + a an for all n ∈ N. Bulgaria 2003 I 18. Do there exist irrational numbers a, b > 1 and am = bn for any positive integers m and n? [Tt] Tournament of the Towns 2002 Spring/A-Level I 19. Let a, b, c, and d be real numbers. Suppose that na + nb = nc + nd for all positive integers n. Show that at least one of a + b, a ? c, a ? d is an integer. [PbAw, pp. 5] I 20. Find all integer solutions of the equation x x x + + ··· + = 1001. 1! 2! 10! (S. Reznichenko) [Ams, pp. 45]

7.2

Divisor Functions

J 1. Let n be an integer with n ≥ 2. Show that φ(2n ? 1) is divisible by n.

1

We will denote {x} = x ? x .

45

J 2. Show that for all n ∈ N, n=

d|n

φ(d). Gauss

J 3. If p is a prime and n an integer such that 1 < n ≤ p, then

p?1

φ

k=0

nk

≡0

(mod p). MM, Problem 1376, Eric Canning

J 4. Let m, n be positive integers. Prove that, for some positive integer a, each of φ(a), φ(a + 1), · · · , φ(a + n) is a multiple of m. AMM, Problem 10837, Hojoo Lee J 5. If n is composite, prove that φ(n) ≤ n ? √ n. [Km, Problems Sheet 1-11] J 6. Show that if m and n are relatively prime positive integers, then φ(5m ? 1) = 5n ? 1. AMM, Problem 10626, Florian Luca J 7. Show that if the equation φ(x) = n has one solution, it always has a second solution, n being given and x being the unknown. [Rdc pp.36] J 8. Prove that for any δ ∈ [0, 1] and any ε > 0, there is an n ∈ N such that

φ(n) n

? δ < ε.

[PeJs, pp. 237] J 9. Show that the set of all numbers

φ(n+1) φ(n)

is dense2 in the set of all positive reals. (Schinzel, Sierp? ?nski) [Pr, pp. 38]

J 10. Show that (a) if n > 49, then there are positive integers a > 1 and b > 1 such that a + b = n and φ(a) φ(b) a + b < 1. (b) if n > 4, then there are a > 1 and b > 1 such that a + b = n and

φ(a) a

+

φ(b) b

> 1.

MM, Sep. 1983, Problem 1153, Charles R. Wall J 11. Prove3 that onwards.

2

d (n2 + 1)2

n≥1

does not become monotonic from any given point Russia 1998

A set A is called dense in a set B if if for any point b ∈ B, any neighborhood of b contains at least one point from A. 3 We will denote σ(n) the sum of positive divisors of n and d(n) the number of positive divisors of n.

46

J 12. Determine all positive integers n such that n = d(n)2 . Canada 1999 J 13. Determine all positive integers k such that d(n2 ) =k d(n) for some n ∈ N. IMO 1998/3 J 14. Find all positive integers n such that d(n)3 = 4n. IMO Short List 2000 N2 J 15. Determine all positive integers for which d(n) =

n 3

holds. Canada 1992

J 16. We say that an integer m ≥ 1 is super-abundant if σ(k) σ(m) > m k for all k ∈ {1, 2, · · · , m ? 1}. Prove that there exists an in?nite number of super-abundant numbers. IMO Short List 1983 (Belgium) J 17. Show that φ(n) + σ(n) ≥ 2n for all positive integers n. [Rh pp.104] Quantum, Problem M59, B. Martynov J 18. Prove that for any δ greater than 1 and any positive number , there is an n such that σ(n) n ?δ < . [PeJs, pp. 237] J 19. Prove that σ(n)φ(n) < n2 , but that there is a positive constant c such that σ(n)φ(n) ≥ cn2 holds for all positive integers n. [PeJs, pp. 237] J 20. Show that σ(n) ? d(m) is even for all positive integers m and n where m is the largest odd divisor of n. [Jjt, pp. 95] J 21. Show that for any positive integer n, σ(n!) ≥ n!

n k=1

1 . k [Dmb, pp. 108]

J 22. Let n be an odd positive integer. Prove that σ(n)3 < n4 . Belarus 1999, D. Bazylev 47

7.3

Functional Equations

K 1. Prove that there is a function f from the set of all natural numbers into itself such that f (f (n)) = n2 for all n ∈ N. Singapore 1996 K 2. Find all surjective functions f : N → N such that for all m, n ∈ N: m|n ?? f (m)|f (n). Turkey 1995 K 3. Find all functions f : N → N such that for all n ∈ N: f (n + 1) > f (f (n)). IMO 1977/6 K 4. Find all functions f : N → N such that for all n ∈ N: f (f (f (n))) + f (f (n)) + f (n) = 3n.

K 5. Find all functions f : N → N such that for all n ∈ N: f (f (m) + f (n)) = m + n.

K 6. Find all functions f : N → N such that for all n ∈ N: f (19) (n) + 97f (n) = 98n + 232. IMO unused 1997 K 7. Find all functions f : N → N such that for all n ∈ N: f (f (n)) + f (n) = 2n + 2001 or 2n + 2002. Balkan 2002 K 8. Find all functions f : N → N such that for all n ∈ N: f (f (f (n))) + 6f (n) = 3f (f (n)) + 4n + 2001. USAMO Summer Program 2001 K 9. Find all functions f : N0 → N0 such that for all n ∈ N0 : f (f (n)) + f (n) = 2n + 6. Austria 1989 K 10. Find all functions f : N0 → N0 such that for all n ∈ N0 : f (m + f (n)) = f (f (m)) + f (n). 48

IMO 1996/3 K 11. Find all functions f : N0 → N0 such that for all m, n ∈ N0 : mf (n) + nf (m) = (m + n)f (m2 + n2 ). Canada 2002 K 12. Find all functions f : N → N such that for all m, n ∈ N: ? f (2) = 2, ? f (mn) = f (m)f (n), ? f (n + 1) > f (n). Canada 1969 K 13. Find all functions f : Z → Z such that for all m ∈ Z: f (f (m)) = m + 1. Slovenia 1997 K 14. Find all functions f : Z → Z such that for all m ∈ Z: ? f (m + 8) ≤ f (m) + 8, ? f (m + 11) ≥ f (m) + 11.

K 15. Find all functions f : Z → Z such that for all m, n ∈ Z: f (m + f (n)) = f (m) ? n. APMC 1997 K 16. Find all functions f : Z → Z such that for all m, n ∈ Z: f (m + f (n)) = f (m) + n. South Africa 1997 K 17. Find all functions h : Z → Z such that for all x, y ∈ Z: h(x + y) + h(xy) = h(x)h(y) + 1. Belarus 1999 K 18. Find all functions f : Q → R such that for all x, y ∈ Q: f (xy) = f (x)f (y) ? f (x + y) + 1. APMC 1984 49

K 19. Find all functions f : Q+ → Q+ such that for all x, y ∈ Q: f x+ y f (y) = f (x) + + 2y, x, y ∈ Q+ . x f (x)

K 20. Find all functions f : Q → Q such that for all x, y ∈ Q: f (x + y) + f (x ? y) = 2(f (x) + f (y)). Nordic Mathematics Contest 1998 K 21. Find all functions f, g, h : Q → Q such that for all x, y ∈ Q: f (x + g(y)) = g(h(f (x))) + y. KMO Winter Program Test 2001 K 22. Find all functions f : Q+ → Q+ such that for all x ∈ Q+ : ? f (x + 1) = f (x) + 1, ? f (x2 ) = f (x)2 . Ukrine 1997 K 23. Let Q+ be the set of positive rational numbers. Construct a function f : Q+ → Q+ such that f (x) f (xf (y)) = y for all x, y ∈ Q+ . IMO 1990/4 K 24. A function f is de?ned on the positive integers by ? f (1) = 1, ? ? ? ? f (3) = 3, ? f (2n) = f (n), ? ? f (4n + 1) = 2f (2n + 1) ? f (n), ? ? ? f (4n + 3) = 3f (2n + 1) ? 2f (n), for all positive integers n. Determine the number of positive integers n, less than or equal to 1988, for which f (n) = n. IMO 1988/3 K 25. Consider all functions f : N → N satisfying f (t2 f (s)) = s(f (t))2 for all s and t in N . Determine the least possible value of f (1998). IMO 1998/6 K 26. The function f : N → N0 satis?es for all m, n ∈ N: f (m + n) ? f (m) ? f (n) = 0 or 1, f (2) = 0, f (3) > 0, and f (9999) = 3333. Determine f (1982). 50

IMO 1982/1 K 27. Find all functions f : N → N such that for all m, n ∈ N: f (f (m) + f (n)) = m + n. IMO Short List 1988 K 28. Find all surjective functions f : N → N such that for all n ∈ N: f (n) ≥ n + (?1)n . Romania 1986 K 29. Find all functions f : Z \ {0} → Q such that for all x, y ∈ Z \ {0}: f x+y 3 = f (x) + f (y) , x, y ∈ Z \ {0} 2 Iran 1995 K 30. (copy of K4)

K 31. Find all strictly increasing functions f : N → N such that f (f (n)) = 3n.

K 32. Find all functions f : Z2 → R+ such that for all i, j ∈ Z: f (i, j) = f (i + 1, j) + f (i, j + 1) + f (i ? 1, j) + f (i, j ? 1) . 4

K 33. Find all functions f : Q → Q such that for all x, y, z ∈ Q: f (x + y + z) + f (x ? y) + f (y ? z) + f (z ? x) = 3f (x) + 3f (y) + 3f (z).

K 34. Show that there exists a bijective function f : N0 → N0 such that for all m, n ∈ N0 : f (3mn + m + n) = 4f (m)f (n) + f (m) + f (n). IMO ShortList 1996

51

Chapter 8

Sequences of Integers

A peculiarity of the higher arithmetic is the great di?culty which has often been experienced in proving simple general theorems which had been suggested quite naturally by numerical evidence. Harold Davenport

8.1

Linear Recurrences

L 1. An integer sequence {an }n≥1 is de?ned by a0 = 0, a1 = 1, an+2 = 2an+1 + an Show that 2k divides an if and only if 2k divides n. IMO Short List 1988 L 2. The Fibonacci sequence {Fn } is de?ned by F1 = 1, F2 = 1, Fn+2 = Fn+1 + Fn . Show that gcd(Fm , Fn ) = Fgcd(m,n) for all m, n ∈ N. [Nv pp.58] L 3. The Fibonacci sequence {Fn } is de?ned by F1 = 1, F2 = 1, Fn+2 = Fn+1 + Fn .

m 2 Show that Fmn?1 ? Fn?1 is divisible by Fn for all m ≥ 1 and n > 1.

[Nv pp.74] L 4. The Fibonacci sequence {Fn } is de?ned by F1 = 1, F2 = 1, Fn+2 = Fn+1 + Fn .

m m 3 Show that Fmn ? Fn+1 + Fn?1 is divisible by Fn for all m ≥ 1 and n > 1.

52

[Nv pp.75] L 5. The Fibonacci sequence {Fn } is de?ned by F1 = 1, F2 = 1, Fn+2 = Fn+1 + Fn .

2 2 Show1 that F2n?1 + F2n+1 + 1 = 3F2n?1 F2n+1 for all n ≥ 1.

[Eb1 pp.21] L 6. Prove that no Fibonacci number can be factored into a product of two smaller Fibonacci numbers, each greater than 1. MM, Problem 1390, J. F. Stephany L 7. Let m be a positive integer. De?ne the sequence {an }n≥0 by a0 = 0, a1 = m, an+1 = m2 an ? an?1 . Prove2 that an ordered pair (a, b) of non-negative integers, with a ≤ b, gives a solution to the equation a2 + b2 = m2 ab + 1 if and only if (a, b) is of the form (an , an+1 ) for some n ≥ 0. Canada 1998 L 8. Let {xn }n≥0 and {yn }n≥0 be two sequences de?ned recursively as follows x0 = 1, x1 = 4, xn+2 = 3xn+1 ? xn , y0 = 1, y1 = 2, yn+2 = 3yn+1 ? yn . (a) Prove that xn 2 ? 5yn 2 + 4 = 0 for all non-negative integers. (b) Suppose that a, b are two positive integers such that a2 ? 5b2 + 4 = 0. Prove that there exists a non-negative integer k such that a = xk and b = yk . Vietnam 1999 L 9. Let {un }n≥0 be a sequence of positive integers de?ned by u0 = 1, un+1 = aun + b, where a, b ∈ N. Prove that for any choice of a and b, the sequence {un }n≥0 contains in?nitely many composite numbers. Germany 1995 L 10. The sequence {yn }n≥1 is de?ned by y1 = y2 = 1, yn+2 = (4k ? 5)yn+1 ? yn + 4 ? 2k. Determine all integers k such that each term of this sequence is a perfect square.

1 2

See A5 See A3

53

Bulgaria 2003 L 11. Let the sequence {Kn }n≥1 be de?ned by K1 = 2, K2 = 8, Kn+2 = 3Kn+1 ? Kn + 5(?1)n . Prove that if Kn is prime, then n must be a power of 3. MM, Problem 1558, Mansur Boase L 12. The sequence {an }n≥1 is de?ned by a1 = 1, a2 = 12, a3 = 20, an+3 = 2an+2 + 2an+1 ? an . Prove that 1 + 4an an+1 is a square for all n ∈ N. [Ae, pp. 226] L 13. The sequence {xn }n≥1 is de?ned by x1 = x2 = 1, xn+2 = 14xn+1 ? xn ? 4. Prove that xn is always a perfect square. [Rh2, pp. 197]

8.2

Recursive Sequences

M 1. Let P (x) be a nonzero polynomial with integer coe?cients. Let a0 = 0 and for i ≥ 0 de?ne ai+1 = P (ai ). Show that gcd(am , an ) = agcd(m,n) for all m, n ∈ N.

M 2. An integer sequence {an }n≥1 is de?ned by a1 = 1, an+1 = an + √ an .

Show that an is a square if and only if n = 2k + k ? 2 for some k ∈ N. AMM, Problem E2619, Thomas C. Brown M 3. Let f (n) = n + √ n . Prove that, for every positive integer m, the sequence m, f (m), f (f (m)), f (f (f (m))), · · · contains at least one square of an integer. Putnam 1983 M 4. The sequence {an }n≥1 is de?ned by a1 = 1, a2 = 2, a3 = 24, an = 6a2 an?3 ? 8an?1 a2 n?1 n?2 an?2 an?3 (n ≥ 4).

Show that an is an integer for all n, and show that n|an for every n ∈ N. Putnam 1999 54

M 5. Show that there is a unique sequence of integers {an }n≥1 with a1 = 1, a2 = 2, a4 = 12, an+1 an?1 = a2 ± 1 (n ≥ 2). n United Kingdom 1998 M 6. The sequence {an }n≥1 is de?ned by a1 = 1, an+1 = 2an + Show that an is an integer for every n. Serbia 1998 M 7. Prove that the sequence {yn }n≥1 de?ned by y0 = 1, yn+1 = consists only of integers. United Kingdom 2002 M 8. The Bernoulli sequence3 {Bn }n≥0 is de?ned by 1 B0 = 1, Bn = ? n+1 Show that for all n ∈ N, (?1)n Bn ?

n k=0

3a2 + 1. n

1 3yn + 2

2 5yn ? 4

n+1 Bk (n ≥ 1) k 1 , p C. von Staudt, [KiMr pp. 233]

is an integer where the summation is done over all primes p such that p|2k ? 1.

M 9. An integer sequence {an }n≥1 is de?ned by a1 = 2, an+1 = 3 an . 2

Show that it has in?nitely many even and in?nitely many odd integers. Putnam 1983 M 10. An integer sequence satis?es an+1 = an 3 + 1999. Show that it contains at most one square. APMC 1999 M 11. Let a1 = 1111 , a2 = 1212 , a3 = 1313 , and an = |an?1 ? an?2 | + |an?2 ? an?3 |, n ≥ 4. Determine a1414 .

3 1 B0 = 1, B1 = ? 1 , B2 = 1 , B3 = 0, B4 = ? 30 , B5 = 0, B6 = 2 6 1 ,··· 42

55

IMO Short List 2001 N3 M 12. Let k be a ?xed positive integer. The sequence {an }n≥1 is de?ned by a1 = k + 1, an+1 = a2 ? kan + k. n Show that if m = n, then the numbers am and an are relatively prime. Poland 2002 M 13. The sequence {xn } is de?ned by x0 ∈ [0, 1], xn+1 = 1 ? |1 ? 2xn |. Prove that the sequence is periodic if and only if x0 is irrational. [Ae pp.228] M 14. Let x1 and x2 be relatively prime positive integers. For n ≥ 2, de?ne xn+1 = xn xn?1 + 1. (a) Prove that for every i > 1, there exists j > i such that xi i divides xj j . (b) Is it true that x1 must divide xj j for some j > 1? IMO Short List 1994 N6 M 15. For a given positive integer k denote the square of the sum of its digits by f1 (k) and let fn+1 (k) = f1 (fn (k)). Determine the value of f1991 (21990 ). IMO Short List 1990 HUN1 M 16. De?ne a sequence {ai } by a1 = 3 and ai+1 = 3ai for i ≥ 1. Which integers between 00 and 99 inclusive occur as the last two digits in the decimal expansion of in?nitely many ai ? Putnam 1985/A4 M 17. A sequence of integers, {an }n≥1 with a1 > 0, is de?ned by an+1 = an if n ≡ 0 2 (mod 4), (mod 4), (mod 4), (mod 4).

an+1 = 3an + 1 if n ≡ 1 an+1 = 2an ? 1 if n ≡ 2 an + 1 if n ≡ 3 4 Prove that there is an integer m such that am = 1. an+1 =

CRUX, Problem 2446, Carherine Shevlin M 18. Given is an integer sequence {an }n≥0 such that a0 = 2, a1 = 3 and, for all positive integers n ≥ 1, an+1 = 2an?1 or an+1 = 3an ? 2an?1 . Does there exist a positive integer k such that 1600 < ak < 2000? Netherlands 1994 56

M 19. A sequence with ?rst two terms equal 1 and 24 respectively is de?ned by the following rule: each subsequent term is equal to the smallest positive integer which has not yet occurred in the sequence and is not coprime with the previous term. Prove that all positive integers occur in this sequence. [Tt] Tournament of the Towns 2002 Fall/A-Level M 20. Each term of a sequence of natural numbers is obtained from the previous term by adding to it its largest digit. What is the maximal number of successive odd terms in such a sequence? [Tt] Tournament of the Towns 2003 Spring/O-Level M 21. In the sequence 1, 0, 1, 0, 1, 0, 3, 5, · · · , each member after the sixth one is equal to the last digit of the sum of the six members just preceeding it. Prove that in this sequence one cannot ?nd the following group of six consecutive members: 0, 1, 0, 1, 0, 1 [JtPt, pp. 93] Russia 1984 M 22. Let a, and b be odd positive integers. De?ne the sequence {fn }n≥1 by putting f1 = a, f2 = b, and by letting fn for n ≥ 3 be the greatest odd divisor of fn?1 + fn?2 . Show that fn is constant for su?ciently large n and determine the eventual value as a function of a and b. USA 1993 M 23. De?ne d(n, 0) = d(n, n) = 1 (n ≥ 0), md(n, m) = md(n ? 1, m) + (2n ? m)d(n ? 1, m ? 1) (0 < m < n). Prove that d(n, m) are integers for all m, n ∈ N. IMO Long List 1987 (GB) M 24. Let k be a given positive integer. The sequence xn is de?ned as follows: x1 = 1 and xn+1 is the least positive integer which is not in {x1 , x2 , ..., xn , x1 + k, x2 + 2k, ..., xn + nk}. Show that there exist real number a such that xn = an for all positive integer n. Vietnam 2000 M 25. Let {an }n≥1 be a sequence of positive integers such that 0 < an+1 ? an ≤ 2001 for all n ∈ N. Show that there are in?nitely many pairs (p, q) of positive integers such that p > q and aq | ap . Vietnam 1999 M 26. Let p be an odd prime p such that 2h = 1 (mod p) for all h ∈ N with h < p ? 1, and let a be an even integer with a ∈] p , p[. The sequence {an }n≥0 is de?ned by a0 = a, 2 an+1 = p ? bn (n ≥ 0), where bn is the greatest odd divisor of an . Show that the sequence {an }n≥0 is periodic and ?nd its minimal (positive) period. 57

Poland 1995 M 27. Let p ≥ 3 be a prime number. The sequence {an }n≥0 is de?ned by an = n for all 0 ≤ n ≤ p ? 1, and an = an?1 + an?p for all n ≥ p. Compute ap3 (mod p). Canada 1986 M 28. Let {un }n≥0 be a sequence of integers satisfying the recurrence relation un+2 = u2 ? un (n ∈ N). Suppose that u0 = 39 and u1 = 45. Prove that 1986 divides in?nitely n+1 many terms of this sequence. China 1991 M 29. The sequence {an }n≥1 is de?ned by a1 = 1 and an+1 = Prove that

2 2a2 ?1 n

an 1 (n ∈ N). + 2 4an

is a positive integer for n > 1. MM, Problem 1545, Erwin Just

M 30. Let k be a positive integer. Prove that there exists an in?nite monotone increasing sequence of integers {an }n≥1 such that an divides a2 + k and an+1 divides a2 + k n+1 n for all n ∈ N. [Rh, pp. 276] M 31. Each term of an in?nite sequence of natural numbers is obtained from the previous term by adding to it one of its nonzero digits. Prove that this sequence contains an even number. [Tt] Tournament of the Towns 2002 Fall/O-Level M 32. In an increasing in?nite sequence of positive integers, every term starting from the 2002-th term divides the sum of all preceding terms. Prove that every term starting from some term is equal to the sum of all preceding terms. [Tt] Tournament of the Towns 2002 Spring/A-Level M 33. The sequence {xn }n≥1 is de?ned by x1 = 2, xn+1 = Prove that (a) xn = 0 for all n ∈ N, (b) {xn }n≥1 is not periodic. [Ae, pp. 227] 58 2 + xn (n ∈ N). 1 ? 2xn

M 34. The sequence of integers {xn }n≥1 is de?ned as follows: x1 = 1, xn+1 = 1 + x1 2 + · · · + xn 2 (n = 1, 2, 3 · · · ). Prove that there are no squares of natural numbers in this sequence except x1 . (A. Perlin) [Ams, pp. 104] M 35. The ?rst four terms of an in?nite sequence S of decimal digits are 1, 9, 8, 2, and succeeding terms are given by the ?nal digit in the sum of the four immediately preceding terms. Thus S begins 1, 9, 8, 2, 0, 9, 9, 0, 8, 6, 3, 7, 4, · · · . Do the digits 3, 0, 4, 4 ever come up consecutively in S? [Rh3, pp. 103]

8.3

More Sequences

√ N 1. Show that the sequence {an }n≥1 de?ned by an = n 2 contains an in?nite number of integer powers of 2. IMO Long List 1985 (RO3) N 2. Let an be the last nonzero digit in the decimal representation of the number n!. Does the sequence a1 , a2 , a3 , · · · become periodic after a ?nite number of terms? IMO Short List 1991 P14 (USS 2) N 3. Let n > 6 be an integer and a1 , a2 , . . . , ak be all the natural numbers less than n and relatively prime to n. If a2 ? a1 = a3 ? a2 = · · · = ak ? ak?1 > 0, prove that n must be either a prime number or a power of 2. IMO 1991/2 N 4. Show that if an in?nite arithmetic progression of positive integers contains a square and a cube, it must contain a sixth power. IMO Short List 1997 N 5. Prove that there exist two strictly increasing sequences an and bn such that an (an + 1) divides b2 + 1 for every natural n. n IMO Short List 1999 N3 N 6. Let {an } be a strictly increasing positive integers sequence such that gcd(ai , aj ) = 1 and ai+2 ? ai+1 > ai+1 ? ai . Show that the in?nite series

∞ i=1

1 ai

converges. Pi Mu Epsilon Journal, Problem 339, Paul Erd¨s o 59

N 7. Let {nk }k≥1 be a sequence of natural numbers such that for i < j, the decimal representation of ni does not occur as the leftmost digits of the decimal representation of nj . Prove that ∞ 1 1 1 1 ≤ + + ··· + . nk 1 2 9

k=1

Iran 1998 N 8. An integer sequence {an }n≥1 is given such that 2n =

d|n

ad

for all n ∈ N. Show that an is divisible by n for all n ∈ N. IMO Short List 1989 N 9. Let q0 , q1 , · · · be a sequence of integers such that ? for any m > n, m ? n is a factor of qm ? qn , item |qn | ≤ n10 for all integers n ≥ 0. Show that there exists a polynomial Q(x) satisfying qn = Q(n) for all n. Taiwan 1996 N 10. Let a, b be integers greater than 2. Prove that there exists a positive integer k and a ?nite sequence n1 , n2 , . . . , nk of positive integers such that n1 = a, nk = b, and ni ni+1 is divisible by ni + ni+1 for each i (1 ≤ i < k). USA 2002 N 11. The in?nite sequence of 2’s and 3’s 2, 3, 3, 2, 3, 3, 3, 2, 3, 3, 3, 2, 3, 3, 2, 3, 3, 3, 2, 3, 3, 3, 2, 3, 3, 3, 2, 3, 3, 2, 3, 3, 3, 2, . . . has the property that, if one forms a second sequence that records the number of 3’s between successive 2’s, the result is identical to the given sequence. Show that there exists a real number r such that, for any n, the nth term of the sequence is 2 if and only if n = 1 + rm for some nonnegative integer m. Putnam 1993/A6 N 12. The sequence {an }n≥1 is de?ned by an = 1 + 22 + 33 + · · · + nn . Prove that there are in?nitely many n such that an is composite. Vietnam 2001 N 13. One member of an in?nite arithmetic sequence in the set of natural numbers is a perfect square. Show that there are in?nitely many members of this sequence having this property. Croatia 1994 60

N 14. In the sequence 00, 01, 02, 03, · · · , 99 the terms are rearranged so that each term is obtained from the previous one by increasing or decreasing one of its digits by 1 (for example, 29 can be followed by 19, 39, or 28, but not by 30 or 20). What is the maximal number of terms that could remain on their places? [Tt] Tournament of the Towns 2003 Spring/O-Level N 15. Does there exist positive integers a1 < a2 < · · · < a100 such that for 2 ≤ k ≤ 100, the least common multiple of ak?1 and ak is greater than the least common multiple of ak and ak+1 ? [Tt] Tournament of the Towns 2001 Fall/A-Level N 16. Does there exist positive integers a1 < a2 < · · · < a100 such that for 2 ≤ k ≤ 100, the greatest common divisor of ak?1 and ak is greater than the greatest common divisor of ak and ak+1 ? [Tt] Tournament of the Towns 2001 Fall/A-Level N 17. Suppose that a and b are distinct real numbers such that a ? b, a2 ? b2 , · · · , ak ? bk , · · · are all integers. Show that a and b are integers. [GML, pp. 173]

61

Chapter 9

Combinatorial Number Theory

In great mathematics there is a very high degree of unexpectedness, combined with inevitability and economy. Godfrey Harold Hardy

O 1. Suppose all the pairs of a positive integers from a ?nite collection A = {a1 , a2 , · · · } are added together to form a new collection A? = {ai + aj | 1 ≤ i < j ≤ n}. For example, A = {2, 3, 4, 7} would yield A? = {5, 6, 7, 9, 10, 11} and B = {1, 4, 5, 6} would give B ? = {5, 6, 7, 9, 10, 11}. These examples show that it’s possible for di?erent collections A and B to generate the same collections A? and B ? . Show that if A? = B ? for di?erent sets A and B, then |A| = |B| and |A| = |B| must be a power of 2. (Erd¨s) [Rh2, pp. 243] o O 2. Let p be a prime. Find all positive integers k such that the set {1, 2, · · · , k} can be partitioned into p subsets with equal sum of elements. IMO Long List 1985 (PL2) O 3. Prove that the set of integers of the form 2k ? 3 (k = 2, 3, · · · ) contains an in?nite subset in which every two members are relatively prime. IMO 1971/3 O 4. The set of positive integers is partitioned into ?nitely many subsets. Show that some subset S has the following property: for every positive integer n, S contains in?nitely many multiples of n. Berkeley Math Circle Monthly Contest 1999-2000 O 5. Let M be a positive integer and consider the set S = {n ∈ N | M 2 ≤ n < (M + 1)2 }. Prove that the products of the form ab with a, b ∈ S are distinct. 62

India 1998 O 6. Let S be a set of integers such that ? there exist a, b ∈ S with gcd(a, b) = gcd(a ? 2, b ? 2) = 1, ? if x, y ∈ S, then x2 ? y ∈ S. Prove that S = Z. USA 2001 O 7. Show that for each n ≥ 2, there is a set S of n integers such that (a ? b)2 divides ab for every distinct a, b ∈ S. USA 1998 O 8. Let a and b be positive integers greater than 2. Prove that there exists a positive integer k and a ?nite sequence n1 , · · · , nk of positive integers such that n1 = a, nk = b, and ni ni+1 is divisible by ni + ni+1 for each i (1 ≤ i ≤ k). Romania 1998 O 9. Let n be an integer, and let X be a set of n + 2 integers each of absolute value at most n. Show that there exist three distinct numbers a, b, c ∈ X such that c = a + b. India 1998 O 10. Let m ≥ 2 be an integer. Find the smallest integer n > m such that for any partition of the set {m, m+1, · · · , n} into two subsets, at least one subset contains three numbers a, b, c such that c = ab . Romania 1998 O 11. Let S = {1, 2, 3, . . . , 280}. Find the smallest integer n such that each n-element subset of S contains ?ve numbers which are pairwise relatively prime. IMO 1991/3 O 12. Let m and n be positive integers. If x1 , x2 , · · · , xm are positive integers whose arithmetic mean is less than n + 1 and if y1 , y2 , · · · , yn are positive integers whose arithmetic mean is less than m + 1, prove that some sum of one or more x’s equals some sum of one or more y’s. MM, Problem 1466, David M. Bloom O 13. Let n and k be given relatively prime natural numbers, k < n. Each number in the set M = {1, 2, ..., n ? 1} is colored either blue or white. It is given that ? for each i ∈ M, both i and n ? i have the same color, ? for each i ∈ M, i = k, both i and |i ? k| have the same color. Prove that all numbers in M have the same color. IMO 1985/2 O 14. Let p be a prime number, p ≥ 5, and k be a digit in the p-adic representation of positive integers. Find the maximal length of a non constant arithmetic progression whose terms do not contain the digit k in their p-adic representation. 63

Romania 1997, Marian Andronache and Ion Savu O 15. Is it possible to choose 1983 distinct positive integers, all less than or equal to 105 , no three of which are consecutive terms of an arithmetic progression? IMO 1983/5 O 16. Is it possible to ?nd 100 positive integers not exceeding 25000 such that all pairwise sums of them are di?erent? IMO Short List 2001 O 17. Find the maximum number of pairwise disjoint sets of the form Sa,b = {n2 + an + b | n ∈ Z}, with a, b ∈ Z. Turkey 1996 O 18. Let p be an odd prime number. How many p-element subsets A of {1, 2, . . . 2p} are there, the sum of whose elements is divisible by p? IMO 1995/6 O 19. Let m, n ≥ 2 be positive integers, and let a1 , a2 , · · · , an be integers, none of which is a multiple of mn?1 . Show that there exist integers e1 , e2 , · · · , en , not all zero, with |ei | < m for all i, such that e1 a1 + e2 a2 + · · · + en an is a multiple of mn . IMO Short List 2002 N5 O 20. Determine the smallest integer n ≥ 4 for which one can choose four di?erent numbers a, b, c, and d from any n distinct integers such that a + b ? c ? d is divisible by 20 . IMO Short List 1998 P16 O 21. A sequence of integers a1 , a2 , a3 , · · · is de?ned as follows: a1 = 1, and for n ≥ 1, an+1 is the smallest integer greater than an such that ai + aj = 3ak for any i, j, and k in {1, 2, 3, · · · , n + 1}, not necessarily distinct. Determine a1998 . IMO Short List 1998 P17 O 22. Prove that for each positive integer n, there exists a positive integer with the following properties: ? it has exactly n digits, ? none of the digits is 0, ? it is divisible by the sum of its digits. IMO ShortList 1998 P20 O 23. Let k, m, n be integers such that 1 < n ≤ m ? 1 ≤ k. Determine the maximum size of a subset S of the set {1, 2, · · · , k} such that no n distinct elements of S add up to m. IMO Short List 1996 64

O 24. Find the number of subsets of {1, 2, · · · , 2000}, the sum of whose elements is divisible by 5. [TaZf pp.10] High-School Mathematics (China) 1994/1 O 25. Let A be a non-empty set of positive integers. Suppose that there are positive integers b1 , · · · , bn and c1 , · · · , cn such that ? for each i the set bi A + ci = {bi a + ci |a ∈ A} is a subset of A, ? the sets bi A + ci and bj A + cj are disjoint whenever i = j. Prove that 1 1 + ··· + ≤ 1. b1 bn IMO Short List 2002 A6 O 26. A set of three nonnegative integers {x, y, z} with x < y < z is called historic if {z ? y, y ? x} = {1776, 2001}. Show that the set of all nonnegative integers can be written as the union of pairwise disjoint historic sets. IMO Short List 2001 C4 O 27. Let p and q be relatively prime positive integers. A subset S ? N0 is called ideal if 0 ∈ S and, for each element n ∈ S, the integers n + p and n + q belong to S. Determine the number of ideal subsets of N0 . IMO Short List 2000 C6 O 28. Prove that the set of positive integers cannot be partitioned into three nonempty subsets such that, for any two integers x, y taken from two di?erent subsets, the number x2 ? xy + y 2 belongs to the third subset. IMO Short List 1999 A4 O 29. Let A be a set of N residues (mod N 2 ). Prove that there exists a set B of N residues (mod N 2 ) such that the set A + B = {a + b|a ∈ A, b ∈ B} contains at least half of all the residues (mod N 2 ). IMO Short List 1999 C4 O 30. Determine the largest positive integer n for which there exists a set S with exactly n numbers such that ? each member in S is a positive integer not exceeding 2002, ? if a, b ∈ S (not necessarily di?erent), then ab ∈ S. Australia 2002 O 31. Prove that, for any integer a1 > 1, there exist an increasing sequence of positive integers a1 , a2 , a3 , · · · such that a1 + a2 + · · · + an | a2 + a2 + · · · + a2 1 2 n for all n ∈ N. 65

[Ae pp.228] O 32. An odd integer n ≥ 3 is said to be nice if and only if there is at least one permutation a1 , · · · , an of 1, · · · , n such that the n sums a1 ?a2 +a3 ?· · ·?an?1 +an , a2 ?a3 +a3 ?· · ·?an +a1 , a3 ? a4 + a5 ? · · · ? a1 + a2 , · · · , an ? a1 + a2 ? · · · ? an?2 + an?1 are all positive. Determine the set of all ‘nice’ integers. IMO ShortList 1991 P24 (IND 2) O 33. Assume that the set of all positive integers is decomposed into r disjoint subsets A1 , A2 , · · · , Ar A1 ∪ A2 ∪ · · · ∪ Ar = N. Prove that one of them, say Ai , has the following property: There exist a positive integer m such that for any k one can ?nd numbers a1 , · · · , ak in Ai with 0 < aj+1 ? aj ≤ m (1 ≤ j ≤ k ? 1). IMO Short List 1990 CZE3 O 34. Determine for which positive integers k, the set X = {1990, 1990 + 1, 1990 + 2, · · · , 1990 + k} can be partitioned into two disjoint subsets A and B such that the sum of the elements of A is equal to the sum of the elements of B. IMO Short List 1990 MEX2 O 35. Let n ≥ 3 be a prime number and a1 < a2 < · · · < an be integers. Prove that a1 , · · · , an is an arithmetic progression if and only if there exists a partition of {0, 1, 2, · · · } into sets A1 , A2 , · · · , An such that a1 + A1 = a2 + A2 = · · · = an + An , where x + A denotes the set {x + a|a ∈ A}. USA 2002 O 36. Let a and b be non-negative integers such that ab ≥ c2 where c is an integer. Prove that there is a positive integer n and integers x1 , x2 , · · · , xn , y1 , y2 , · · · , yn such that x1 2 + · · · + xn 2 = a, y1 2 + · · · + yn 2 = b, x1 y1 + · · · + xn yn = c IMO Short List 1995 O 37. Let n, k be positive integers such that n is not divisible by 3 and k ≥ n. Prove that there exists a positive integer m which is divisible by n and the sum of its digits in the decimal representation is k. IMO Short List 1999 O 38. Prove that for every real number M there exists an in?nite arithmetical progression of positive integers such that ? the common di?erence is not divisible by 10, ? the sum of digits of each term exceeds M . IMO Short List 1999 66

O 39. Find the smallest positive integer n for which there exist n di?erent positive integers a1 , a2 , · · · , an satisfying ? lcm(a1 , a2 , · · · , an ) = 1985, ? for each i, j ∈ {1, 2, · · · , n}, gcd(ai , aj ) = 1, ? the product a1 a2 · · · an is a perfect square and is divisible by 243, and ?nd all such n-tuples (a1 , · · · , an ). Romania 1995 O 40. Let X be a non-empty set of positive integers which satis?es the following: ? if x ∈ X, then 4x ∈ X, √ ? if x ∈ X, then x ∈ X. Prove that X = N. Japan 1990 O 41. Prove that for every positive integer n there exists an n-digit number divisible by 5n all of whose digits are odd. USA 2003 O 42. Let Nn denote the number of ordered n-tuples of positive integers (a1 , a2 , . . . , an ) such that 1/a1 + 1/a2 + . . . + 1/an = 1. Determine whether N10 is even or odd. Putnam 1997/A5 O 43. Is it possible to ?nd a set A of eleven positive integers such that no six elements of A have a sum which is divisible by 6? British Mathematical Olympiad 2000 O 44. A set C of positive integers is called good if for every integer k there exist distinct a, b ∈ C such that the numbers a + k and b + k are not relatively prime. Prove that if the sum of the elements of a good set C equals 2003, then there exists c ∈ C such that the set C ? {c} is good. Bulgaria 2003 O 45. Find all positive integers n with the property that the set {n, n + 1, n + 2, n + 3, n + 4, n + 5} can be partitioned into two sets such that the product of the numbers in one set equals the product of the numbers in the other set. IMO 1970/4

67

O 46. Suppose p is a prime with p ≡ 3 (mod 4). Show that for any set of p ? 1 consecutive integers, the set cannot be divided two subsets so that the product of the members of the one set is equal to the product of the members of the other set. CRUX, Problem A233, Mohammed Aassila O 47. Let S be the set of all composite positive odd integers less than 79. (a) Show that S may be written as the union of three (not necessarily disjoint) arithmetic progressions. (b) Show that S cannot be written as the union of two arithmetic progressions. [KhKw, pp. 12] O 48. Let a1 , · · · , a44 be natural numbers such that 0 < a1 < a2 < · · · < a44 < 125. Prove that at least one of the 43 di?erences dj = aj+1 ? aj occurs at least 10 times. [KhKw, pp. 13] O 49. Consider the set of all ?ve-digit numbers whose decimal representation is a permutation of the digits 1, 2, 3, 4, 5. Prove that this set can be divided into two groups, in such a way that the sum of the squares of the numbers in each group is the same. (D. Fomin) [Ams, pp. 12] O 50. What’s the largest number of elements that a set of positive integers between 1 and 100 inclusive can have if it has the property that none of them is divisible by another? [Prh, pp. 29] O 51. Prove the among 16 consecutive integers it is always possible to ?nd one which is relatively prime to all the rest. [DNI, 19] O 52. Is there a set S of positive integers such that a number is in S if and only if it is the sum of two distinct members of S or a sum of two distinct positive integers not in S? [JDS, pp. 31] O 53. Suppose that the set M = {1, 2, · · · , n} is split into t disjoint subsets M1 , · · · , Mt where the cardinality of Mi is mi , and mi ≥ mi+1 , for i = 1, · · · , t ? 1. Show that if n > t! · e then at least one class Mz contains three elements xi , xj , xk with the property that xi ? xj = xk . [Her, pp. 16] O 54. Let S be a subset of {1, 2, 3, · · · , 1989} in which no two members di?er by exactly 4 or by exactly 7. What is the largest number of elements S can have? [Rh2, pp. 89] O 55. The set M consists of integers, the smallest of which is 1 and the greatest 100. Each member of M , except 1, is the sum of two (possibly identical) numbers in M . Of all such sets, ?nd one with the smallest possible number of elements. 68

[Rh2, pp. 125] O 56. Show that it is possible to color the set of integers M = {1, 2, 3, · · · , 1987}, using four colors, so that no arithmetic progression with 10 terms has all its members the same color. [Rh2, pp. 145] O 57. Prove that every selection of 1325 integers from M = {1, 2, · · · , 1987} must contain some three numbers {a, b, c} which are pairwise relatively prime, but that it can be avoided if only 1324 integers are selected. [Rh2, pp. 202] O 58. Prove that every in?nite sequence S of distinct positive integers contains either an in?nite subsequence such that for every pair of terms, neither term ever divides the other, or an in?nite subsequence such that in every pair of terms, one always divides the other. [Rh3, pp. 213] O 59. Let a1 < a2 < a3 < · · · be an in?nite increasing sequence of positive integers in which the number of prime factors of each term, counting repeated factors, is never more than 1987. Prove that it is always possible to extract from A an in?nite subsequence b1 < b2 < b3 < · · · such that the greatest common divisor (bi , bj ) is the same number for every pair of its terms. [Rh3, pp. 51]

69

Chapter 10

Additive Number Theory

I remember once going to see him when he was lying ill at Putney. I had ridden in taxi cab number 1729 and remarked that the number seemed to me rather a dull one, and that I hoped it was not an unfavorable omen. ‘No,’ he replied, ‘it is a very interesting number; it is the smallest number expressible as the sum of two cubes in two di?erent ways.’ G. H. Hardy, on Ramanujan

P 1. Show that any integer can be expressed as a sum of two squares and a cube. AMM, Problem 10426, Noam Elkies and Irving Kaplanky P 2. Show that each integer n can be written as the sum of ?ve perfect cubes (not necessarily positive). Netherlands 1994 P 3. Prove that in?nitely many positive integers cannot be written in the form x1 3 + x2 5 + x3 7 + x4 9 + x5 11 , where x1 , x2 , x3 , x4 , x5 ∈ N. Belarus 2002, V. Bernik P 4. Determine all positive integers that are expressible in the form a2 + b2 + c2 + c, where a, b, c are integers. MM, Problem Q817, Robert B. McNeill P 5. Show that any positive rational number can be represented as the sum of three positive rational cubes. P 6. Show that every integer greater than 1 can be written as a sum of two square-free1 integers.

1

A positive integer n is square-free if there is no prime p such that p2 | n.

70

[IHH, pp. 474] P 7. Prove that every integer n ≥ 12 is the sum of two composite numbers. [Tma, pp. 22] P 8. Prove that any positive integer can be represented as an aggregate of di?erent powers of 3, the terms in the aggregate being combined by the signs + and ? appropriately chosen. [Rdc pp.24] P 9. The integer 9 can be written as a sum of two consecutive integers: 9=4+5. Moreover it can be written as a sum of (more than one) consecutive positive integers in exactly two ways, namely 9=4+5= 2+3+4. Is there an integer which can be written as a sum of 1990 consecutive integers and which can be written as a sum of (more than one) consecutive positive integers in exactly 1990 ways? IMO Short List 1990 AUS3 P 10. For each positive integer n, S(n) is de?ned to be the greatest integer such that, for every positive integer k ≤ S(n), n2 can be written as the sum of k positive squares. (a) Prove that S(n) ≤ n2 ? 14 for each n ≥ 4. (b) Find an integer n such that S(n) = n2 ? 14. (c) Prove that there are in?nitely many integers n such that S(n) = n2 ? 14. IMO 1992/6 P 11. For each positive integer n, let f (n) denote the number of ways of representing n as a sum of powers of 2 with nonnegative integer exponents. Representations which di?er only in the ordering of their summands are considered to be the same. For instance, f (4) = 4, because the number 4 can be represented in the following four ways: 4, 2 + 2, 2 + 1 + 1, 1 + 1 + 1 + 1. Prove that, for any integer n ≥ 3, 2n

2 /4

< f (2n ) < 2n

2 /2

. IMO 1997/6

P 12. The positive function p(n) is de?ned as the number of ways that the positive integer n can be written as a sum of positive integers.2 Show that, for all positive integers n ≥ 2,

√

2

n

< p(n) < n3

√

n

. [Hua pp.199]

P 13. Let a1 = 1, a2 = 2, a3 , a4 , · · · be the sequence of positive integers of the form 2α 3β , where α and β are nonnegative integers. Prove that every positive integer is expressible in the form ai1 + ai2 + · · · + ain , where no summand is a multiple of any other.

2

For example, 5 = 4 + 1 = 3 + 2 = 3 + 1 + 1 = 2 + 2 + 1 = 2 + 1 + 1 + 1 = 1 + 1 + 1 + 1 + 1 gives us p(5) = 7.

71

MM, Problem Q814, Paul Erd¨s o P 14. Let n be a non-negative integer. Find all non-negative integers a, b, c, d such that a2 + b2 + c2 + d2 = 7 · 4n . Romania 2001, Laurentiu Panaitopol P 15. Find all integers m > 1 such that m3 is a sum of m squares of consecutive integers. AMM, Problem E3064, Ion Cucurezeanu P 16. Prove that there exist in?nitely many integers n such that n, n + 1, n + 2 are each the sum of the squares of two integers. Putnam 2000 P 17. Let p be a prime number of the form 4k + 1. Suppose that r is a quadratic residue of p and that s is a quadratic nonresidue of p. Show that p = a2 + b2 , where 1 a= 2 Here,

k p p?1

i=1

i(i2 ? r) p

1 ,b = 2

p?1

i=1

i(i2 ? s) p

.

denotes the Legendre Symbol. Jacobsthal

P 18. Let p be a prime with p ≡ 1 (mod 4). Let a be the unique integer such that p = a2 + b2 , a ≡ ?1 Prove that

p?1

(mod 4), b ≡ 0

(mod 2)

i=0

i3 + 6i2 + i p

=2

2 p

,

where

k p

denotes the Legendre Symbol. AMM, Problem 2760, Kenneth S. Williams

P 19. Let n be an integer of the form a2 + b2 , where a and b are relatively prime integers √ and such that if p is a prime, p ≤ n, then p divides ab. Determine all such n. APMO 1994/3 P 20. If an integer n is such that 7n is the form a2 + 3b2 , prove that n is also of that form. India 1998 P 21. Let A be the set of positive integers of the form a2 + 2b2 , where a and b are integers and b = 0. Show that if p is a prime number and p2 ∈ A, then p ∈ A. Romania 1997, Marcel Tena P 22. Show that an integer can be expressed as the di?erence of two squares if and only if it is not of the form 4k + 2 (k ∈ Z).

72

P 23. Show that there are in?nitely many positive integers which cannot be expressed as the sum of squares.

P 24. Show that any integer can be expressed as the form a2 + b2 ? c2 , where a, b, c ∈ Z.

P 25. Let a and b be positive integers with gcd(a, b) = 1. Show that every integer greater than ab ? a ? b can be expressed in the form ax + by, where x, y ∈ N0 .

P 26. Let a, b and c be positive integers, no two of which have a common divisor greater than 1. Show that 2abc ? ab ? bc ? ca is the largest integer which cannot be expressed in the form xbc + yca + zab, where x, y, z ∈ N0 IMO 1983/3 P 27. Determine, with proof, the largest number which is the product of positive integers whose sum is 1976. IMO 1976/4 P 28. Prove that any positive integer can be represented as a sum of Fibonacci numbers, no two of which are consecutive. Zeckendorf P 29. Show that the set of positive integers which cannot be represented as a sum of distinct perfect squares is ?nite. IMO Short List 2000 N6 P 30. Let a1 , a2 , a3 , · · · be an increasing sequence of nonnegative integers such that every nonnegative integer can be expressed uniquely in the form ai + 2aj + 4ak , where i, j, and k are not necessarily distinct. Determine a1998 . IMO Short List 1998 P21 P 31. A ?nite sequence of integers a0 , a1 , · · · , an is called quadratic if for each i ∈ {1, 2, · · · , n} we have the equality |ai ? ai?1 | = i2 . (a) Prove that for any two integers b and c, there exists a natural number n and a quadratic sequence with a0 = b and an = c. (b) Find the smallest natural number n for which there exists a quadratic sequence with a0 = 0 and an = 1996. IMO Short List 1996 N3 P 32. A composite positive integer is a product ab with a and b not necessarily distinct integers in {2, 3, 4, . . . }. Show that every composite positive integer is expressible as xy + xz + yz + 1, with x, y, z positive integers. Putnam 1988/B1 73

P 33. Let a1 , a2 , · · · , ak be relatively prime positive integers. Determine the largest integer which cannot be expressed in the form x1 a2 a3 · · · ak + x2 a1 a3 · · · ak + · · · + xk a1 a2 · · · ak?1 for some nonnegative integers x1 , x2 , · · · , xk . MM, Problem 1561, Emre Alkan P 34. If n is a positive integer which can be expressed in the form n = a2 + b2 + c2 , where a, b, c are positive integers, prove that for each positive integer k, n2k can be expressed in the form A2 + B 2 + C 2 , where A, B, C are positive integers. [KhKw, pp. 21] P 35. Prove that every positive integer which is not a member of the in?nite set below is equal to the sum of two or more distinct numbers of the set {3, ?2, 22 3, ?23 , · · · , 22k 3, ?22k+1 , · · · } = {3, ?2, 12, ?8, 48, ?32, 192, · · · }. [EbMk, pp. 46] P 36. Let k and s be odd positive integers such that √ √ 3k ? 2 ? 1 ≤ s ≤ 4k. Show that there are nonnegative integers t, u, v, and w such that k = t2 + u2 + v 2 + w2 , and s = t + u + v + w. [Wsa, pp. 271] P 37. Let Sn = {1, n, n2 , n3 , · · · }, where n is an integer greater than 1. Find the smallest number k = k(n) such that there is a number which may be expressed as a sum of k (possibly repeated) elements in Sn in more than one way. (Rearrangements are considered the same.) [GML, pp. 37] P 38. Find the smallest possible n for which there exist integers x1 , x2 , · · · , xn such that each integer between 1000 and 2000 (inclusive) can be written as the sum (without repetition), of one or more of the integers x1 , x2 , · · · , xn . [GML, pp. 144] P 39. In how many ways can 2n be expressed as the sum of four squares of natural numbers? [DNI, 28] P 40. Show that (a) in?nitely many perfect squares are a sum of a perfect square and a prime number, (b) in?nitely many perfect squares are not a sum of a perfect square and a prime number. [JDS, pp. 25] 74

P 41. The famous conjecture of Goldbach is the assertion that every even integer greater than 2 is the sum of two primes. Except 2, 4, and 6, every even integer is a sum of two positive composite integers: n = 4 + (n ? 4). What is the largest positive even integer that is not a sum of two odd composite integers? [JDS, pp. 25] P 42. Prove that for each positive integer K there exist in?nitely many even positive integers which can be written in more than K ways as the sum of two odd primes. MM, Feb. 1986, Problem 1207, Barry Powell P 43. A positive integer n is abundant if the sum of its proper divisors exceeds n. Show that every integer greater than 89 × 315 is the sum of two abundant numbers. MM, Nov. 1982, Problem 1130, J. L. Selfridge

75

Chapter 11

Various Problems

The only way to learn Mathematics is to do Mathematics. Paul Halmos

11.1

Polynomials

Q 1. Suppose p(x) ∈ Z[x] and P (a)P (b) = ?(a ? b)2 for some distinct a, b ∈ Z. Prove that P (a) + P (b) = 0. MM, Problem Q800, Bjorn Poonen Q 2. Prove that there is no nonconstant polynomial f (x) with integral coe?cients such that f (n) is prime for all n ∈ N. Q 3. Let n ≥ 2 be an integer. Prove that if k 2 + k + n is prime for all integers k such that 0 ≤ k ≤ n , then k 2 + k + n is prime for all integers k such that 0 ≤ k ≤ n ? 2. 3 IMO 1987/6 Q 4. A prime p has decimal digits pn pn?1 · · · p0 with pn > 1. Show that the polynomial pn xn + pn?1 xn?1 + · · · + p1 x + p0 cannot be represented as a product of two nonconstant polynomials with integer coe?cients Balkan Mathematical Olympiad 1989 Q 5. (Eisentein’s Criterion) Let f (x) = an xn + · · · + a1 x + a0 be a nonconstant polynomial with integer coe?cients. If there is a prime p such that p divides each of a0 , a1 , · · · ,an?1 but p does not divide an and p2 does not divide a0 , then f (x) is irreducible in Q[x]. [Twh, pp. 111] Q 6. Prove that for a prime p, xp?1 + xp?2 + · · · + x + 1 is irreducible in Q[x]. [Twh, pp. 114] Q 7. Let f (x) = xn + 5xn?1 + 3, where n > 1 is an integer. Prove that f (x) cannot be expressed as the product of two nonconstant polynomials with integer coe?cients. 76

IMO 1993/1 Q 8. Show that a polynomial of odd degree 2m + 1 over Z, f (x) = c2m+1 x2m+1 + · · · + c1 x + c0 , is irreducible if there exists a prime p such that p |c2m+1 , p|cm+1 , cm+2 , · · · , c2m , p2 |c0 , c1 , · · · , cm , and p3 |c0 . (Eugen Netto) [Ac, pp. 87] For a proof, see [En]. Q 9. For non-negative integers n and k, let Pn,k (x) denote the rational function (xn ? 1)(xn ? x) · · · (xn ? xk?1 ) . (xk ? 1)(xk ? x) · · · (xk ? xk?1 ) Show that Pn,k (x) is actually a polynomial for all n, k ∈ N. CRUX, Problem A230, Naoki Sato Q 10. Suppose that the integers a1 , a2 , · · · , an are distinct. Show that (x ? a1 )(x ? a2 ) · · · (x ? an ) ? 1 cannot be expressed as the product of two nonconstant polynomials with integer coe?cients. [Ae, pp. 257] Q 11. Show that the polynomial x8 + 98x4 + 1 can be expressed as the product of two nonconstant polynomials with integer coe?cients. [Ae, pp. 258] Q 12. Prove that if the integers a1 , a2 , · · · , an are all distinct, then the polynomial (x ? a1 )2 (x ? a2 )2 · · · (x ? an )2 + 1 cannot be expressed as the product of two nonconstant polynomials with integer coe?cients. [DNI, 47] Q 13. On Christmas Eve, 1983, Dean Jixon, the famous seer who had made startling predictions of the events of the preceding year that the volcanic and seismic activities of 1980 and 1981 were connected with mathematics. The diminishing of this geological activity depended upon the existence of an elementary proof of the irreducibility of the polynomial P (x) = x1981 + x1980 + 12x2 + 24x + 1983. Is there such a proof? MM, Jan. 1982, Problem 1113, William H.Gustafson

77

11.2

The Geometry of Numbers

R 1. Does there exist a convex pentagon, all of whose vertices are lattice1 points in the plane, with no lattice point in the interior? MM, Problem 1409, Gerald A. Heur R 2. Show there do not exist four points in the Euclidean plane such that the pairwise distances between the points are all odd integers. Putnam 1993/B5 R 3. Prove no three lattice points in the plane form an equilateral triangle. R 4. The sidelengths of a polygon with 1994 sides are ai = Prove that its vertices are not all on lattice points. √ i2 + 4 (i = 1, 2, · · · , 1994).

Israel 1994 R 5. A triangle has lattice points as vertices and contains no other lattice points. Prove that its area is 1 . 2 R 6. Let R be a convex region symmetrical about the origin with area greater than 4. Show that R must contain a lattice point di?erent from the origin. [Hua pp.535] R 7. Show that the number r(n) of representations of n as a sum of two squares has π as arithmetic mean, that is n 1 r(m) = π. lim n→∞ n

m=1

[GjJj pp.215] R 8. Prove that on a coordinate plane it is impossible to draw a closed broken line such that ? coordinates of each vertex are rational, ? the length of its every edge is equal to 1, ? the line has an odd number of vertices. IMO Short List 1990 USS3 R 9. Prove that if a lattice parallellogram contains an odd number of lattice points, then its centroid. [PeJs, pp. 125] R 10. Prove that if a lattice triangle has no lattice points on its boundary in addition to its vertices, and one point in its interior, then this interior point is its center of gravity. [PeJs, pp. 125] R 11. Prove that if a lattice parallelogram contains at most three lattice points in addition to its vertices, then those are on one of the diagonals. [PeJs, pp. 125] R 12. Find coordinates of a set of eight non-collinear planar points so that each has an integral distance from others. [Jjt, pp. 75]

1

A point with integral coordinates

78

11.3

Miscellaneous problems

Paul Erd¨s o

Mathematics is not yet ready for such problems.

S 1. Two positive integers are chosen. The sum is revealed to logician A, and the sum of squares is revealed to logician B. Both A and B are given this information and the information contained in this sentence. The conversation between A and B goes as follows: B starts B: ‘ I can’t tell what they are.’ A: ‘ I can’t tell what they are.’ B: ‘ I can’t tell what they are.’ A: ‘ I can’t tell what they are.’ B: ‘ I can’t tell what they are.’ A: ‘ I can’t tell what they are.’ B: ‘ Now I can tell what they are.’ (a) What are the two numbers? (b) When B ?rst says that he cannot tell what the two numbers are, A receives a large amount of information. But when A ?rst says that he cannot tell what the two numbers are, B already knows that A cannot tell what the two numbers are. What good does it do B to listen to A? MM, May 1984, Problem 1173, Thomas S.Ferguson S 2. It is given that 2333 is a 101-digit number whose ?rst digit is 1. How many of the numbers 2k , 1 ≤ k ≤ 332, have ?rst digit 4? [Tt] Tournament of the Towns 2001 Fall/A-Level S 3. Is there a power of 2 such that it is possible to rearrange the digits giving another power of 2? [Pt] Tournament of the Towns S 4. If x is a real number such that x2 ? x is an integer, and for some n ≥ 3, xn ? x is also an integer, prove that x is an integer. Ireland 1998 S 5. Suppose that both x3 ? x and x4 ? x are integers for some real number x. Show that x is an integer. Vietnam 2003 (Tran Nam Dung) S 6. Suppose that x and y are complex numbers such that xn ? y n x?y are integers for some four consecutive positive integers n. Prove that it is an integer for all positive integers n. 79

AMM, Problem E2998, Clark Kimberling S 7. Let n be a positive integer. Show that

n

tan2

k=1

kπ 2n + 1

is an odd integer.

1 S 8. The set S = { n | n ∈ N} contains arithmetic progressions of various lengths. For 1 3 instance, 20 , 1 , 1 is such a progression of length 3 and common di?erence 40 . Moreover, this 8 5 is a maximal progression in S since it cannot be extended to the left or the right within S ( 11 40 and ?1 not being members of S). Prove that for all n ∈ N, there exists a maximal arithmetic 40 progression of length n in S.

British Mathematical Olympiad 1997 S 9. Suppose that

1996

(1 + nx3 ) = 1 + a1 xk1 + a2 xk2 + · · · + am xkm

n=1

n

where a1 , a2 ,..., am are nonzero and k1 < k2 < · · · < km . Find a1996 . Turkey 1996 S 10. Let p be an odd prime. Show that there is at most one non-degenerate integer triangle with perimeter 4p and integer area. Characterize those primes for which such triangle exist. CRUX, Problem 2331, Paul Yiu S 11. For each positive integer n, prove that there are two consecutive positive integers each of which is the product of n positive integers greater than 1. [Rh, pp. 165] Unused problems for 1985 CanMO S 12. Let a1,1 a1,2 a1,3 . . . a2,1 a2,2 a2,3 . . . a3,1 a3,2 a3,3 . . . . . . .. . . . . . . . be a doubly in?nite array of positive integers, and suppose each positive integer appears exactly eight times in the array. Prove that am,n > mn for some pair of positive integers (m, n). Putnam 1985/B3 S 13. The sum of the digits of a natural number n is denoted by S(n). Prove that S(8n) ≥ 1 8 S(n) for each n. Latvia 1995

80

S 14. Let p be an odd prime. Determine positive integers x and y for which x ≤ y and √ √ √ 2p ? x ? y is nonnegative and as small as possible. IMO Short List 1992 P17 S 15. Let α(n) be the number of digits equal to one in the dyadic representation of a positive integer n. Prove that

1 (a) the inequality α(n2 ) ≤ 2 α(n)(1 + α(n)) holds,

(b) equality is attained for in?nitely n ∈ N, (c) there exists a sequence {ni } such that limi→∞

α(ni 2 ) α(ni )

= 0.

S 16. Show that if a and b are positive integers, then a+ 1 2

n

+ b+

1 2

n

is an integer for only ?nitely many positive integer n. [Ns pp.4] S 17. Determine the maximum value of m2 + n2 , where m and n are integers satisfying m, n ∈ {1, 2, ..., 1981} and (n2 ? mn ? m2 )2 = 1. IMO 1981/3

1 S 18. Denote by S the set of all primes p such that the decimal representation of p has the 1 fundamental period of divisible by 3. For every p ∈ S such that p has the fundamental period 3r one may write 1 = 0.a1 a2 · · · a3r a1 a2 · · · a3r · · · , p

where r = r(p). For every p ∈ S and every integer k ≥ 1 de?ne f (k, p) = ak + ak+r(p) + ak+2r(p) . (a) Prove that S is ?nite. (b) Find the highest value of f (k, p) for k ≥ 1 and p ∈ S. IMO Short List 1999 N4 S 19. Determine all pairs (a, b) of real numbers such that a bn = b an for all positive integer n. IMO Short List 1998 P15 S 20. Let n be a positive integer that is not a perfect cube. De?ne real numbers a, b, c by a= √ 3 n, b = 1 1 , c= . a? a b? b

Prove that there are in?nitely many such integers n with the property that there exist integers r, s, t, not all zero, such that ra + sb + tc = 0. 81

IMO Short List 2002 A5 S 21. Find, with proof, the number of positive integers whose base-n representation consists of distinct digits with the property that, except for the leftmost digit, every digit di?ers by ±1 from some digit further to the left. USA 1990 S 22. The decimal expression of the natural number a consists of n digits, while that of a3 consists of m digits. Can n + m be equal to 2001? [Tt] Tournament of the Towns 2001 Spring/O-Level 1 1 4 + = , 42 + 32 = 52 , 1 3 3 1 1 8 + = , 82 + 152 = 172 , 3 5 15 12 1 1 + = , 122 + 352 = 372 . 5 7 35 State and prove a generalization suggested by these examples. [EbMk, pp. 10] S 24. A number n is called a Niven number, named for Ivan Niven, if it is divisible by the sum of its digits. For example, 24 is a Niven number. Show that it is not possible to have more than 20 consecutive Niven numbers. (C. Cooper, R. E. Kennedy) [Jjt, pp. 58] S 25. Prove that if the number α is given by decimal 0.9999 · · · , where there are at least 100 √ nines, then α also has 100 nines at the beginning. [DNI, 20] S 26. Prove that there does not exist a natural number which, upon transfer of its initial digit to the end, is increased ?ve, six or eight times. [DNI, 12] S 27. Which integers have the following property? If the ?nal digit is deleted, the integer is divisible by the new number. [DNI, 11] S 28. Let A be the set of the 16 ?rst positive integers. Find the least positive integer k satisfying the condition: In every k-subset of A, there exist two distinct a, b ∈ A such that a2 + b2 is prime. Vietnam 2004 S 29. What is the rightmost nonzero digit of 1000000!? [JDS, pp. 28] S 23. Observe that

82

S 30. For how many positive integers n is 1 1999 + 2 an integer? [JDS, pp. 30] S 31. Is there a 3 × 3 square consisting of distinct Fibonacci numbers (both f1 and f2 may be used; thus two 1s are allowed)? [JDS, pp. 31] S 32. Alice and Bob play the following number-guessing game. Alice writes down a list of positive integers x1 , · · · , xn , but does not reveal them to Bob, who will try to determine the numbers by asking Alice questions. Bob chooses a list of positive integers a1 , · · · , an and asks Alice to tell him the value of a1 x1 + · · · + an xn . Then Bob chooses another list of positive integers b1 , · · · , bn and asks Alice for b1 x1 + · · · + bn xn . Play continues in this way until Bob is able to determine Alice’s numbers. How many rounds will Bob need in order to determine Alice’s numbers? [JDS, pp. 57] S 33. Four consecutive even numbers are removed from the set magic2 A = {1, 2, 3, · · · , n}. If the arithmetic mean of the remaining numbers is 51.5625, which four numbers were removed? [Rh2, pp. 78] n . Prove or disprove that S S 34. Let Sn be the sum of the digits of 2 n+1 = Sn for some positive integer n. MM Nov. 1982, Q679, M. S. Klamkin and M. R.Spiegel S 35. Counting from the right end, what is the 2500th digit of 10000!? MM Sep. 1980, Problem 1075, Phillip M.Dunson S 36. For every natural number n, denote Q(n) the sum of the digits in the decimal representation of n. Prove that there are in?nitely many natural numbers k with Q(3k ) > Q(3k+1 ). Germany 1996 S 37. Let n and k are integers with n > 0. Prove that ? 1 2n

n?1 n

1 + 2000 + 2

n

cot

m=1

πm 2πkm sin = n n

k n

?

k n

?

1 2

0

if k|n . otherwise [Tma, pp.175]

S 38. The function ? : N → C is de?ned by ?(n) =

k∈Rn

cos

2kπ 2kπ + i sin n n

,

where Rn = {k ∈ N|1 ≤ k ≤ n, gcd(k, n) = 1}. Show that ?(n) is an integer for all positive integer n.

2 A magic square is an n × n matrix, containing the numbers 1, 2, · · · n2 exactly once each, such that the sum of the elements in each row, each colum, and each of both main diagonals is equal.

83

Chapter 12

References

Abbreviations used in the book

AIME APMO IMO CRUX MM AMM American Invitational Mathematics Examination Asian Paci?c Mathematics Olympiads International Mathematical Olympiads Crux Mathematicorum (with Mathematical Mayhem) Math. Magazine American Math. Monthly

References

AaJc Andrew Adler, John E. Coury, The Theory of Numbers - A Text and Source Book of Problems, John and Bartlet Publishers Ab Alan Baker, A Consise Introduction to the Theory of Numbers, Cambridge University Press Ac Allan Clark, Elements of Abstract Algebra, Dover Ae Arthur Engel, Problem-Solving Strategies, Springer-Verlag Ams A. M. Slinko, USSR Mathematical Olympiads 1989-1992, AMT1 AI A. N. Parshin, I. R. Shafarevich, Number Theory IV - Encyclopaedia of Mathematical Sciences, Volume 44, Spinger-Verlag DfAk Dmitry Fomin, Alexey Kirichenko, Leningrad Mathematical Olympiads 1987-1991, MathPro Press Dmb David M. Burton, Elementary Number Theory, MathPro Press DNI D. O. Shklarsky, N. N. Chentzov, I. M. Yaglom, The USSR Olympiad Problem Book, Dover Dz http://www-gap.dcs.st-and.ac.uk/?john/Zagier/Problems.html

1

Australian Mathematics Trust

84

Eb1 Edward J. Barbeau, Pell’s Equation, Springer-Verlag Eb2 Edward J. Barbeau, Power Play, MAA2 EbMk Edward J. Barbeau, Murry S. Klamkin Five Hundred Mathematical Challenges, MAA ElCr Edward Lozansky, Cecil Rousseau, Winning Solutions, Springer-Verlag En Eugen Netto, ??, Mathematische Annalen, vol 48(1897) Er Elvira Rapaport, Hungarian Problem Book I, MAA GhEw G. H. Hardy, E. M. Wright, An Introduction to the theory of numbers, Fifth Edition, Oxford University Press GjJj Gareth A. Jones, J. Mary Jones, Elementary Number Theory, Springer-Verlag GML George T. Gilbert, Mark I. Krusemeyer, Loren C. Larson, The Wohascum County Problem Book, MAA Her H. E. Rose, A Course in Number Theory, Cambridge University Press Hs http://www-gap.dcs.st-and.ac.uk/?history/index.html, The MacTutor History of Mathematics Archive Hua Hua Loo Keng, Introduction to Number Theory, Springer-Verlag IHH Ivan Niven, Herbert S. Zuckerman, Hugh L. Montogomery, An Introduction to the Theory of Numbers, Fifth Edition, John Wiley and Sons, Inc. Imv I. M. Vinogradov, An Introduction to The Theory of Numbers, Pergamon Press JDS Joseph D. E. Konhauser, Dan Velleman, Stan Wagon, Which Way Did The Bicycle Go?, MAA Jjt James J. Tattersall, Elementary Number Theory in Nine Chapters, Cambridge University Press JtPt Jordan B. Tabov, Peter J. Taylor, Methods of Problem Solving Book 1, AMT JeMm J. Esmonde, M. R. Murty, Problems in Algebraic Number Theory, Springer-Verlag KaMr K. Alladi, M. Robinson, On certain irrational values of the logarithm. Lect. Notes Math. 751, 1-9 KhKw Kenneth Hardy, Kenneth S. Williams, The Green Book of Mathematical Problems, Dover KiMr Kenneth Ireland, Michael Rosen, A Classical Introduction to Modern Number Theory, Springer-Verlag Km http://www.numbertheory.org/courses/MP313/index.html, Keith Matthews, MP313 Number Theory III, Semester 2, 1999

2

Mathematical Association of America

85

Kmh K. Mahler, On the approximation of π, Proc. Kon. Akad. Wet. A., Vol 56, 30-42 Ksk Kiran S. Kedlaya, When is (xy+1)(yz+1)(zx+1) a square?, Math. Magazine, Vol 71 (1998), 61-63 Ljm L. J. Mordell, Diophantine Equations, Acadmic Press MaGz Martin Aigner, G¨nter M. Ziegler, Proofs from THE BOOK, Springer-Verlag u Nv Nicolai N. Vorobiev, Fibonacci Numbers, Birkh¨user a PbAw Pitor Biler, Alfred Witkowski, Problems in Mathematical Analysis, Marcel Dekker, Inc. PJ Paulo Ney de Souza, Jorge-Nuno Silva, Berkeley Problems in Mathematics, Second Edition, Springer-Verlag Pp Purdue Univ. POW, http://www.math.purdue.edu/academics/pow Pr Paulo Ribenboim, The New Book of Prime Number Records, Springer-Verlag Hrh Paul R. Halmos, Problems for Mathematicians, Young and Old, MAA Pt Peter J. Taylor, Tournament of the Towns 1984-1989, Questions and Solutions, AMT PeJs Paul Erd¨s, J?nos Sur?nyi, Topics in the Theory of Numbers, Springer-Verlag o a a Rc Robin Chapman, A Polynomial Taking Integer Values, Math. Magazine, Vol 69 (1996), 121 Rdc Robert D. Carmichael, The Theory of Numbers Rh R. Honsberger, Mathematical Chestnuts from Around the World, MAA Rh2 R. Honsberger, In P?lya’s Footsteps, MAA o Rh3 R. Honsberger, From Erd¨s To Kiev, MAA o Rs http://www.cs.man.ac.uk/cnc/EqualSums/equalsums.html, Rizos Sakellariou, On Equal Sums of Like Powers (Euler’s Conjecture) TaZf Titu Andreescu, Zuming Feng, 102 Combinatorial Problems From the Training of the USA IMO Team, Birkh¨user a Tma Tom M. Apostol, Introduction to Analytic Number Theory, Springer-Verlag Twh Thomas W. Hungerford, ABSTRACT ALGEBRA - An Introduction, Brooks/Cole ? UmDz Uro? Milutinovi?, Darko Zubrini?, Balkanian Mathematical Olmpiades 1984-1991 s c c VsAs V. Senderov, A. Spivak, Fermat’s Little Theorem, Quantum, May/June 2000 Vvp V. V. Prasolov, Problems and Theorems in Linear Algebra, AMS3

3

American Mathematical Society

86

Wlp http://www.unl.edu/amc/a-activities/a7-problems/putnam/-pindex.html, Kiran S. Kedlaya, William Lowell Putnam Mathematics Competition Archive Wsa W. S. Anglin, The Queen of Mathematics, Kluwer Academic Publishers Zh Zeljko Hanjs, Mediterranean Mathematics Competition MMC, Mathematics Competitions, Vol 12 (1999), 37-41

87

相关文章:

- 高三数学函数重点难题
*Math*.round(x) 取最接近整数 x 的数值*Math*.floor(x) 取最接近整数 x ...因为普通的解不会是整数,这是*数论*中的一 个主要*问题*。 需要说明的,在 Wiles ...

- 世界未解数学难题
- 透过研究黎曼猜想数学家们认为除了能解开质数分布之 谜外,对於解析
*数论*、函数理论...同日深具影 响力的数学网站*Math*World 刊出的头条文章为「庞加莱臆测被证明...

- 世界近代三大数学难题之一----哥德巴赫猜想
- 透过研究黎曼猜想数学家们认为除了能解开质数分布之谜外,对於解析
*数论*、 函数理论...同日深具影响力的数学网站*Math*World 刊出的头条文章为「庞加莱臆测被证明了,...

- 大四生破解数学难题 丘成桐问是否想去清华深造
- 韶关学院刚上大四的学生王骁威,否定了
*数论*界多年未解的猜想——“仅用1表示数...“*math*overflow”, 讨论的多是国际前沿数学*问题*, 更有教授学者在论坛“不耻下...

- 为了人类心智的荣耀
- http://www.
*math*.purdue.edu/~ttm/ZhangYt.pdf ...对儿间隔界的*问题*时用了由他改进的 解析*数论*中的...他的文章中给出了一个*LINK*,目前 在 6 月 12 ...

- 清华的同学写的GRE math sub攻略
- 清华的同学写的GRE
*math*sub攻略_生活休闲。转载的...5、初等*数论*、 欧几里得算法,同余式的相关公式,...不粗心,2 分半钟内把正确选项选出来基本没有*问题*...

- 初等数论在中学数学竞赛中的应用
- 因此,初等数论与竞赛数学中的
*数论问题*是一般与特殊的关系;是系统与分支的关系;...Jianping Qiu.105012011097 [Model] With the development of*math*contest, has...

- 新GRE数学的十个知识点_GRE数学
- 是很多即将参加 GRE 数学考试的同学最关心的
*问题*。...线性代数、初等*数论*、抽象代数等 10 个知识点进行...说明:Cracking the GRE*Math*Test 里面第一章就是...

- sub math
- sub
*math*_理学_高等教育_教育专区。sub 数学登录...初等*数论*欧几里得算法,同余式的相关公式,欧拉-费马...的傻*问题*第一部分 非数学专业应考策略 将 hitomi...

- 数学网站
- Spring
*link*Projectmuse*Math*ann 图书馆外文期刊 ...同时包括了 一些尚未解决和*难题*,对从事该领域研究的...*数论*(Ⅳ超越数影印版)(精)/国外数学名著系列 ￥76...

更多相关标签:

- 初等数论难题集 | 初等数论难题集第二卷 | 数论难题 | 初等数论难题集 pdf | 初等数论难题集 2 pdf | mathlink | 初等数论 | 数论四大定理 |