Solutions of APMO 2017

Similar documents
37th United States of America Mathematical Olympiad

1. Suppose that a, b, c and d are four different integers. Explain why. (a b)(a c)(a d)(b c)(b d)(c d) a 2 + ab b = 2018.

Baltic Way 2003 Riga, November 2, 2003

15th Bay Area Mathematical Olympiad. BAMO Exam. February 26, Solutions to BAMO-8 and BAMO-12 Problems

8 th December th December 2018 Junior Category. a 2 + b + c = 1 a, b 2 + c + a = 1 b, c 2 + a + b = 1 c.

Nozha Directorate of Education Form : 2 nd Prep. Nozha Language Schools Ismailia Road Branch

Nozha Directorate of Education Form : 2 nd Prep

1. Prove that for every positive integer n there exists an n-digit number divisible by 5 n all of whose digits are odd.

Geometry Problem Solving Drill 08: Congruent Triangles

(q 1)p q. = 1 (p 1)(q 1).

XX Asian Pacific Mathematics Olympiad

2010 Shortlist JBMO - Problems

Mathematics 2260H Geometry I: Euclidean geometry Trent University, Winter 2012 Quiz Solutions

2007 Shortlist JBMO - Problems

UNC Charlotte 2005 Comprehensive March 7, 2005

SOLUTIONS EGMO AND UCD ENRICHMENT PROGRAMME IN MATHEMATICS SELECTION TEST 24 FEBRUARY 2018

41st International Mathematical Olympiad

21. Prove that If one side of the cyclic quadrilateral is produced then the exterior angle is equal to the interior opposite angle.

0 Sets and Induction. Sets

32 nd United States of America Mathematical Olympiad Recommended Marking Scheme May 1, 2003

International Mathematical Olympiad. Preliminary Selection Contest 2004 Hong Kong. Outline of Solutions 3 N

Solutions of APMO 2016

2003 AIME2 SOLUTIONS (Answer: 336)

Chapter 2 Preliminaries

0811ge. Geometry Regents Exam BC, AT = 5, TB = 7, and AV = 10.

Number Theory Solutions Packet

EGMO 2016, Day 1 Solutions. Problem 1. Let n be an odd positive integer, and let x1, x2,..., xn be non-negative real numbers.

Singapore International Mathematical Olympiad 2008 Senior Team Training. Take Home Test Solutions. 15x 2 7y 2 = 9 y 2 0 (mod 3) x 0 (mod 3).

Sydney University Mathematical Society Problems Competition Solutions.

T-2 In the equation A B C + D E F = G H I, each letter denotes a distinct non-zero digit. Compute the greatest possible value of G H I.

Solutions to Practice Final

20th Bay Area Mathematical Olympiad. BAMO 2018 Problems and Solutions. February 27, 2018

International Mathematics TOURNAMENT OF THE TOWNS

2014 Canadian Senior Mathematics Contest

XIX Asian Pacific Mathematics Olympiad

Alg. (( Sheet 1 )) [1] Complete : 1) =.. 3) =. 4) 3 a 3 =.. 5) X 3 = 64 then X =. 6) 3 X 6 =... 7) 3

2015 Canadian Team Mathematics Contest

Mathematical Structures for Computer Graphics Steven J. Janke John Wiley & Sons, 2015 ISBN: Exercise Answers

1 2n. i=1. 2m+1 i = m, while. 2m + 1 = 1. is the best possible for any odd n.

2 BAMO 2015 Problems and Solutions February 26, 2015

Baltic Way 2008 Gdańsk, November 8, 2008

IMO Training Camp Mock Olympiad #2 Solutions

International Mathematical Olympiad. Preliminary Selection Contest 2011 Hong Kong. Outline of Solutions

JBMO 2016 Problems and solutions

14 th Annual Harvard-MIT Mathematics Tournament Saturday 12 February 2011

NEWTON AND MIDPOINTS OF DIAGONALS OF CIRCUMSCRIPTIBLE QUADRILATERALS

USA Mathematical Talent Search Round 3 Solutions Year 20 Academic Year

SOLUTIONS TO EXERCISES FOR. MATHEMATICS 133 Part 4. Basic Euclidean concepts and theorems

SMT 2018 Geometry Test Solutions February 17, 2018

1998 IMO Shortlist BM BN BA BC AB BC CD DE EF BC CA AE EF FD

INMO-2001 Problems and Solutions

OLYMON. Produced by the Canadian Mathematical Society and the Department of Mathematics of the University of Toronto. Issue 9:4.

1. Let g(x) and h(x) be polynomials with real coefficients such that

COMP239: Mathematics for Computer Science II. Prof. Chadi Assi EV7.635

SMT 2011 General Test and Solutions February 19, F (x) + F = 1 + x. 2 = 3. Now take x = 2 2 F ( 1) = F ( 1) = 3 2 F (2)

SOLUTIONS FOR IMO 2005 PROBLEMS

0809ge. Geometry Regents Exam Based on the diagram below, which statement is true?

2008 Euclid Contest. Solutions. Canadian Mathematics Competition. Tuesday, April 15, c 2008 Centre for Education in Mathematics and Computing

Exercises for Unit I I (Vector algebra and Euclidean geometry)

The CENTRE for EDUCATION in MATHEMATICS and COMPUTING cemc.uwaterloo.ca Euclid Contest. Wednesday, April 15, 2015

5-1 Practice Form K. Midsegments of Triangles. Identify three pairs of parallel segments in the diagram.

chapter 1 vector geometry solutions V Consider the parallelogram shown alongside. Which of the following statements are true?

ALGEBRA. 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers

The Advantage Testing Foundation Olympiad Solutions

Baltic Way 2016 Solutions

NAME: Mathematics 133, Fall 2013, Examination 3

This class will demonstrate the use of bijections to solve certain combinatorial problems simply and effectively.

Problems and Solutions

Exercises for Unit I I I (Basic Euclidean concepts and theorems)

International Mathematics TOURNAMENT OF THE TOWNS: SOLUTIONS

13 th Annual Harvard-MIT Mathematics Tournament Saturday 20 February 2010

First selection test

RMT 2013 Geometry Test Solutions February 2, = 51.

HANOI OPEN MATHEMATICS COMPETITON PROBLEMS

Solutions. cos ax + cos bx = 0. a sin ax + b sin bx = 0.

Basic Quadrilateral Proofs

HANOI OPEN MATHEMATICAL COMPETITON PROBLEMS

Mathematics 2260H Geometry I: Euclidean geometry Trent University, Fall 2016 Solutions to the Quizzes

Exercises for Unit V (Introduction to non Euclidean geometry)

0811ge. Geometry Regents Exam

PUTNAM TRAINING EASY PUTNAM PROBLEMS

nx + 1 = (n + 1)x 13(n + 1) and nx = (n + 1)x + 27(n + 1).

34 th United States of America Mathematical Olympiad

D-MATH Algebra I HS18 Prof. Rahul Pandharipande. Solution 1. Arithmetic, Zorn s Lemma.

Some Basic Logic. Henry Liu, 25 October 2010

PUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime.

Individual Round CHMMC November 20, 2016

6 Permutations Very little of this section comes from PJE.

2003 AIME Given that ((3!)!)! = k n!, where k and n are positive integers and n is as large as possible, find k + n.

2011 Olympiad Solutions

4 a b 1 1 c 1 d 3 e 2 f g 6 h i j k 7 l m n o 3 p q 5 r 2 s 4 t 3 3 u v 2

11 th Philippine Mathematical Olympiad Questions, Answers, and Hints

CONGRUENCE OF TRIANGLES

The sum x 1 + x 2 + x 3 is (A): 4 (B): 6 (C): 8 (D): 14 (E): None of the above. How many pairs of positive integers (x, y) are there, those satisfy

UNC Charlotte 2005 Comprehensive March 7, 2005

First selection test. a n = 3n + n 2 1. b n = 2( n 2 + n + n 2 n),

M381 Number Theory 2004 Page 1

Notes: Review of Algebra I skills

Similarity of Triangle

1 Line n intersects lines l and m, forming the angles shown in the diagram below. 4 In the diagram below, MATH is a rhombus with diagonals AH and MT.

Transcription:

Solutions of APMO 2017 Problem 1. We call a 5-tuple of integers arrangeable if its elements can be labeled a, b, c, d, e in some order so that a b + c d + e = 29. Determine all 2017-tuples of integers n 1, n 2,..., n 2017 such that if we place them in a circle in clockwise order, then any 5-tuple of numbers in consecutive positions on the circle is arrangeable. Answer: n 1 = = n 2017 = 29. Solution. A valid 2017-tuple is n 1 = = n 2017 = 29. We will show that it is the only solution. We first replace each number n i in the circle by m i := n i 29. Since the condition a b + c d + e = 29 can be rewritten as (a 29) (b 29) + (c 29) (d 29) + (e 29) = 0, we have that any five consecutive replaced integers in the circle can be labeled a, b, c, d, e in such a way that a b + c d + e = 0. We claim that this is possible only when all of the m i s are 0 (and thus all of the original n i s are 29). We work with indexes modulo 2017. Notice that for every i, m i and m i+5 have the same parity. Indeed, this follows from m i m i+1 + m i+2 + m i+3 + m i+4 m i+5 (mod 2). Since gcd(5, 2017) = 1, this implies that all m i s are of the same parity. Since m 1 +m 2 +m 3 +m 4 +m 5 is even, all m i s must be even as well. Suppose for the sake of contradiction that not all m i s are zero. Then our condition still holds when we divide each number in the circle by 2. However, by performing repeated divisions, we eventually reach a point where some m i is odd. This is a contradiction. Problem 2. Let ABC be a triangle with AB < AC. Let D be the intersection point of the internal bisector of angle BAC and the circumcircle of ABC. Let Z be the intersection point of the perpendicular bisector of AC with the external bisector of angle BAC. Prove that the midpoint of the segment AB lies on the circumcircle of triangle ADZ. Solution 1. Let N be the midpoint of AC. Let M be the intersection point of the circumcircle of triangle ADZ and the segment AB. We will show that M is the midpoint of AB. To do this, let D the reflection of D with respect to M. It suffices to show that ADBD is a parallelogram. The internal and external bisectors of an angle in a triangle are perpendicular. This implies that ZD is a diameter of the circumcircle of AZD and thus ZMD = 90. This means that ZM is the perpendicular bisector of D D and thus ZD = ZD. By construction, Z is in the perpendicular bisector of AC and thus ZA = ZC. Now, let α be the angle BAD = DAC. In the cyclic quadrilateral AZDM we get MZD = MAD = α, and thus D ZD = 2α. By angle chasing we get which implies that AZC = 2α. Therefore, AZN = 90 ZAN = DAC = α, D ZA = D ZD AZD = 2α AZD = AZC AZD = DZC. Combining D ZA = DZC, ZD = ZD and ZA = ZC, we obtain by the SAS criterion that the triangles D ZA and DZC are congruent. In particular, D A = DC and D AZ = DCZ. From here DB = DC = D A. Finally, let β = ABC = ADC. We get the first of the following equalities by the sum of angles around point A and the second one by the sum of internal angles of quadrilateral AZCD 1

360 = D AZ + ZAD + DAB + BAD = D AZ + 90 + α + BAD 360 = DCZ + ZAD + CZA + ADC = DCZ + 90 + 2α + β. By canceling equal terms we conclude that BAD = α + β. Also, ABD = α + β. Therefore, the segments D A and DB are parallel and have the same length. We conclude that ADBD is a parallelogram. As the diagonals of a parallelogram intersect at their midpoints, we obtain that M is the midpoint of AB as desired. Variant of solution. The solution above is indirect in the sense that it assumes that M is in the circumcircle of AZD and then shows that M is the midpoint of AB. We point out that the same ideas in the solution can be used to give a direct solution. Here we present a sketch on how to proceed in this manner. Now we know that M is the midpoint of the side AB. We construct the point D in the same way. Now we have directly that ADBD is a parallelogram and thus D A = DB = DC. By construction ZA = ZC. Also, the two sums of angles equal to 360 in the previous solution let us conclude that D AZ = DCZ. Once again, we use (differently) the SAS criterion and obtain that the triangles D AZ and DCZ are congruent. Thus, D Z = DZ. We finish the problem by noting that ZM is a median of the isosceles triangle D ZD, so it is also a perpendicular bisector. This shows that DMZ = 90 = DAZ, and therefore M lies in the circumcircle of DAZ. Solution 2. We proceed directly. As above, we name α = DAC = AZN = CZN = DCB. Let L be the midpoint of the segment BC. Since M and N are midpoints of AB and AC, we have that MN = CL and that the segment MN is parallel to BC. Thus, ANM = ACB. 2

Therefore, ZNM = ACB +90. Also, DCZ = DCB + ACB + ZCA = ACB +90. We conclude that ZNM = DCZ. Now, the triangles ZNC and CLD are similar since DCL = 90 = CNZ and DCL = α = CZN. We use this fact to obtain the following chain of equalities CD MN = CD CL = CZ ZN. We combine the equality above with ZN M = DCZ to conclude that the triangles ZNM and ZCD are similar. In particular, MZN = DZC and ZM ZN = ZD ZC. Since we also have MZD = MZN + NZD = DZC + NZD = NZC, we conclude that the triangles MZD and NZC are similar. This yields that ZMD = 90 and therefore M is in the circumcircle of triangle DAZ. Solution 3. Let m be the perpendicular bisector of AD; thus m passes through the center O of the circumcircle of triangle ABC. Since AD is the internal angle bisector of A and OM and ON are perpendicular to AB and AC respectively, we obtain that OM and ON form equal angles with AD. This implies that they are symmetric with respect to M. Therefore, the line MO passes through the point Z symmetrical to Z with respect to m. Since DAZ = 90, then also ADZ = 90. Moreover, since AZ = DZ, we have that AZZ = DZ Z = 90, so AZZ D is a rectangle. Since AMZ = AMO = 90, we conclude that M is in the circle with diameter AZ, which is the circumcircle of the rectangle. Thus M lies on the circumcircle of the triangle ADZ. Problem 3. Let A(n) denote the number of sequences a 1 a 2... a k of positive integers for which a 1 + + a k = n and each a i + 1 is a power of two (i = 1, 2,..., k). Let B(n) denote the number of sequences b 1 b 2... b m of positive integers for which b 1 + + b m = n and each inequality b j 2b j+1 holds (j = 1, 2,..., m 1). Prove that A(n) = B(n) for every positive integer n. Solution. We say that a sequence a 1 a 2... a k of positive integers has type A if a i + 1 is a power of two for i = 1, 2,..., k. We say that a sequence b 1 b 2... b m of positive integer has type B if b j 2b j+1 for j = 1, 2,..., m 1. Recall that the binary representation of a positive integer expresses it as a sum of distinct powers of two in a unique way. Furthermore, we have the following formula for every positive integer N 2 N 1 = 2 N 1 + 2 N 2 + + 2 1 + 2 0. Given a sequence a 1 a 2... a k of type A, use the preceding formula to express each term as a sum of powers of two. Write these powers of two in left-aligned rows, in decreasing order of size. By construction, a i is the sum of the numbers in the ith row. For example, we obtain the following array when we start with the type A sequence 15, 15, 7, 3, 3, 3, 1. 8 4 2 1 8 4 2 1 4 2 1 2 1 2 1 2 1 1 27 13 5 2 3

Define the sequence b 1, b 2,..., b n by setting b j to be the sum of the numbers in the jth column of the array. For example, we obtain the sequence 27, 13, 5, 2 from the array above. We now show that this new sequence has type B. This is clear from the fact that each column in the array contains at least as many entries as the column to the right of it and that each number larger than 1 in the array is twice the number to the right of it. Furthermore, it is clear that a 1 + a 2 + + a k = b 1 + b 2 + + b m, since both are equal to the sum of all the entries in the array. We now show that we can do this operation backwards. Suppose that we are given a type B sequence b 1 b 2... b m. We construct an array inductively as follows: We fill b m left-aligned rows with the numbers 2 m 1, 2 m 2,..., 2 1, 2 0. Then we fill b m 1 2b m left aligned rows with the numbers 2 m 2, 2 m 3,..., 2 1, 2 0. Then we fill b m 2 2b m 1 left aligned rows with the numbers 2 m 3, 2 m 4,..., 2 1, 2 0, and so on. In the last step we fill b 1 2b 2 left-aligned rows with the number 1. For example, if we start with the type B sequence 27, 13, 5, 2, we obtain once again the array above. We define the sequence a 1, a 2,..., a k by setting a i to be the sum of the numbers in the ith row of the array. By construction, this sequence has type A. Furthermore, it is clear that a 1 + + a k = b 1 + + b m, since once again both sums are equal to the sum of all the entries in the array. We have defined an operation that starts with a sequence of type A, produces an array whose row sums are given by the sequence, and outputs a sequence of type B corresponding to the column sums. We have also defined an operation that starts with a sequence of type B, produces an array whose column sums are given by the sequence, and outputs a sequence of type A corresponding to the row sums. The arrays produced in both cases comprise leftaligned rows of the form 2 N 1, 2 N 2,..., 2 1, 2 0, with non-increasing lengths. Let us refer to arrays obeying these properties as marvelous. To show that these two operations are inverses of each other, it then suffices to prove that marvelous arrays are uniquely defined by either their row sums or their column sums. The former is obviously true and the latter arises from the observation that each step in the above inductive algorithm was forced in order to create a marvelous array with the prescribed column sums. Thus, we have produced a bijection between the sequences of type A with sum n and the sequences of type B with sum n. So we can conclude that A(n) = B(n) for every positive integer n. Remark The solution above provides a bijection between type A and type B sequences via an algorithm. There are alternative ways to provide such a bijection. For example, given the numbers a 1... a k we may define the b i s as b j = ai + 1. 2 j i Conversely, given the numbers b 1... b m, one may define the a i s by taking, as in the solution, b m numbers equal to 2 m 1, b m 1 2b m numbers equal to 2 m 1 1,..., and b 1 2b 2 numbers equal to 2 1 1. One now needs to verify that these maps are mutually inverse. Problem 4. Call a rational number r powerful if r can be expressed in the form pk q for some relatively prime positive integers p, q and some integer k > 1. Let a, b, c be positive 4

rational numbers such that abc = 1. Suppose there exist positive integers x, y, z such that a x + b y + c z is an integer. Prove that a, b, c are all powerful. Solution. Let a = a 1 b, b = a 2 1 b, where gcd(a 1, b 1 ) = gcd(a 2, b 2 ) = 1. Then c = b 1b 2 2 a 1 a 2. The condition that a x + b y + c z is an integer becomes which can be restated as a1 x+z a z 2b y 2 + a z 1a y+z 2 a z 1a z 2b x 1b y 2 Z, a z 1a z 2b x 1b y 2 a x+z 1 a z 2b y 2 + a z 1a y+z 2. (1) In particular, a z 1 divides the right-hand side. Since it divides the first and second terms in the sum, we conclude that a z 1 b1 x+z b y+z 2. Since gcd(a 1, b 1 ) = 1, we have a z 1 b y+z 2. Let p be a prime that divides a 1. Let m, n 1 be integers such that p n a 1 (i.e. p n a 1 but p n+1 a 1 ) and p m b 2. The fact that a z 1 b y+z 2 implies nz m(y + z). Since gcd(a 1, b 1 ) = gcd(a 2, b 2 ) = 1, we have p does not divide b 1 and does not divide a 2. Thus On the other hand, (1) implies that p nz a z 1a y+z 2 b x 1 and p m(y+z) b x+z 2. (2) p nz+my a z 1a y+z 2. (3) If nz < m(y + z), then (2) gives p nz a z 1a y+z 2, which contradicts (3). Thus y + z nz = m(y + z) so n is divisible by k := > 1. Thus each exponent in the prime gcd(z, y + z) decomposition of a 1 must be divisible by k. Hence a 1 is a perfect k-power which means a is powerful. Similarly, b and c are also powerful. Problem 5. Let n be a positive integer. A pair of n-tuples (a 1,..., a n ) and (b 1,..., b n ) with integer entries is called an exquisite pair if a 1 b 1 + + a n b n 1. Determine the maximum number of distinct n-tuples with integer entries such that any two of them form an exquisite pair. Answer: The maximum is n 2 + n + 1. Solution. First, we construct an example with n 2 + n + 1 n-tuples, each two of them forming an exquisite pair. In the following list, represents any number of zeros as long as the total number of entries is n. ( ) (, 1, ) (, 1, ) (, 1,, 1, ) (, 1,, 1, ) 5

For example, for n = 2 we have the tuples (0, 0), (0, 1), (1, 0), (0, 1), ( 1, 0), (1, 1), (1, 1). The total number of such tuples is 1 + n + n + ( ( n 2) + n 2) = n 2 + n + 1. For any two of them, at most two of the products a i b i are non-zero. The only case in which two of them are non-zero is when we take a sequence (, 1,, 1, ) and a sequence (, 1,, 1, ) with zero entries in the same places. But in this case one a i b i is 1 and the other 1. This shows that any two of these sequences form an exquisite pair. Next, we claim that among any n 2 +n+2 tuples, some two of them do not form an exquisite pair. We begin with lemma. Lemma. Given 2n + 1 distinct non-zero n-tuples of real numbers, some two of them (a 1,..., a n ) and (b 1,..., b n ) satisfy a 1 b 1 + + a n b n > 0. Proof of Lemma. We proceed by induction. The statement is easy for n = 1 since for every three non-zero numbers there are two of them with the same sign. Assume that the statement is true for n 1 and consider 2n + 1 tuples with n entries. Since we are working with tuples of real numbers, we claim that we may assume that one of the tuples is a = (0, 0,..., 0, 1). Let us postpone the proof of this claim for the moment. If one of the remaining tuples b has a negative last entry, then a and b satisfy the desired condition. So we may assume all the remaining tuples has a non-negative last entry. Now, from each tuple remove the last number. If two n-tuples b and c yield the same (n 1)-tuple, then b 1 c 1 + + b n 1 c n 1 + b n c n = b 2 1 + + b 2 n 1 + b n c n > 0, and we are done. The remaining case is that all the n-tuples yield distinct (n 1)-tuples. Then at most one of them is the zero (n 1)-tuple, and thus we can use the inductive hypothesis on 2n 1 of them. So we find b and c for which (b 1 c 1 + + b n 1 c n 1 ) + b n c n > 0 + b n c n > 0. The only thing that we are left to prove is that in the inductive step we may assume that one of the tuples is a = (0, 0,..., 0, 1). Fix one of the tuples x = (x 1,..., x n ). Set a real number ϕ for which tan ϕ = x 1 x 2. Change each tuple a = (a 1, a 2,..., a n ) (including x), to the tuple (a 1 cos ϕ a 2 sin ϕ, a 1 sin ϕ + a 2 cos ϕ, a 3, a 4,..., a n ). A straightforward calculation shows that the first coordinate of the tuple x becomes 0, and that all the expressions of the form a 1 b 1 + + a n b n are preserved. We may iterate this process until all the entries of x except for the last one are equal to 0. We finish by multiplying all the entries in all the tuples by a suitable constant that makes the last entry of x equal to 1. This preserves the sign of all the expressions of the form a 1 b 1 + + a n b n. We proceed to the proof of our claim. Let A be a set of non-zero tuples among which any two form an exquisite pair. It suffices to prove that A n 2 + n. We can write A as a disjoint union of subsets A 1 A 2... A n, where A i is the set of tuples in A whose last non-zero entry appears in the ith position. We will show that A i 2i, which will finish our proof since 2 + 4 + + 2n = n 2 + n. Proceeding by contradiction, suppose that A i 2i + 1. If A i has three or more tuples whose only non-zero entry is in the ith position, then for two of them this entry has the same sign. Since the tuples are different and their entries are integers, this yields two tuples for which a i b i 2, a contradiction. So there are at most two such tuples. We remove them from A i. Now, for each of the remaining tuples a, if it has a positive ith coordinate, we keep a as it is. If it has a negative ith coordinate, we replace it with the opposite tuple a with entries with opposite signs. This does not changes the exquisite pairs condition. 6

After making the necessary changes, we have two cases. The first case is that there are two tuples a and b that have the same first i 1 coordinates and thus a 1 b 1 + + a i 1 b i 1 = a 2 1 + + a 2 i 1 > 0, and thus is at least 1 (the entries are integers). The second case is that no two tuples have the same first i 1 coordinates, but then by the Lemma we find two tuples a and b for which In any case, we obtain a 1 b 1 + + a i 1 b i 1 1. a 1 b 1 + + a i 1 b i 1 + a i b i 2. This yields a final contradiction to the exquisite pair hypothesis. 7