olymmath

ISL 2017

IMO Shortlist 2017.

Other problems

A1

Let a1,a2,…,an,ka_{1}, a_{2}, \ldots, a_{n}, k, and MM be positive integers such that 1a1+1a2+⋯+1an=k and a1a2…an=M\frac{1}{a_{1}}+\frac{1}{a_{2}}+\cdots+\frac{1}{a_{n}}=k \text { and } a_{1} a_{2} \ldots a_{n}=M If M>1M>1, prove that the polynomial P(x)=M(x+1)k−(x+a1)(x+a2)⋯(x+an)P(x)=M(x+1)^{k}-\left(x+a_{1}\right)\left(x+a_{2}\right) \cdots\left(x+a_{n}\right) has no positive roots. (Trinidad and Tobago)

A2

Let qq be a real number. Gugu has a napkin with ten distinct real numbers written on it, and he writes the following three lines of real numbers on the blackboard: - In the first line, Gugu writes down every number of the form a−ba-b, where aa and bb are two (not necessarily distinct) numbers on his napkin. - In the second line, Gugu writes down every number of the form qab, where aa and bb are two (not necessarily distinct) numbers from the first line. - In the third line, Gugu writes down every number of the form a2+b2−c2−d2a^{2}+b^{2}-c^{2}-d^{2}, where a,b,c,da, b, c, d are four (not necessarily distinct) numbers from the first line. Determine all values of qq such that, regardless of the numbers on Gugu's napkin, every number in the second line is also a number in the third line. (Austria)

A3

Let SS be a finite set, and let A\mathcal{A} be the set of all functions from SS to SS. Let ff be an element of A\mathcal{A}, and let T=f(S)T=f(S) be the image of SS under ff. Suppose that f∘g∘f≠g∘f∘gf \circ g \circ f \neq g \circ f \circ g for every gg in A\mathcal{A} with g≠fg \neq f. Show that f(T)=Tf(T)=T. (India)

A4

A sequence of real numbers a1,a2,…a_{1}, a_{2}, \ldots satisfies the relation an=−max⁡i+j=n(ai+aj) for all n>2017a_{n}=-\max _{i+j=n}\left(a_{i}+a_{j}\right) \text { for all } n>2017 Prove that this sequence is bounded, i.e., there is a constant MM such that ∣an∣⩽M\left|a_{n}\right| \leqslant M for all positive integers nn. (Russia)

A5

An integer n⩾3n \geqslant 3 is given. We call an nn-tuple of real numbers (x1,x2,…,xn)\left(x_{1}, x_{2}, \ldots, x_{n}\right) Shiny if for each permutation y1,y2,…,yny_{1}, y_{2}, \ldots, y_{n} of these numbers we have ∑i=1n−1yiyi+1=y1y2+y2y3+y3y4+⋯+yn−1yn⩾−1\sum_{i=1}^{n-1} y_{i} y_{i+1}=y_{1} y_{2}+y_{2} y_{3}+y_{3} y_{4}+\cdots+y_{n-1} y_{n} \geqslant-1 Find the largest constant K=K(n)K=K(n) such that ∑1⩽i<j⩽nxixj⩾K\sum_{1 \leqslant i<j \leqslant n} x_{i} x_{j} \geqslant K holds for every Shiny nn-tuple (x1,x2,…,xn)\left(x_{1}, x_{2}, \ldots, x_{n}\right).

A6

Find all functions f:R→Rf: \mathbb{R} \rightarrow \mathbb{R} such that f(f(x)f(y))+f(x+y)=f(xy)f(f(x) f(y))+f(x+y)=f(x y) for all x,y∈Rx, y \in \mathbb{R}. (Albania)

A7

Let a0,a1,a2,…a_{0}, a_{1}, a_{2}, \ldots be a sequence of integers and b0,b1,b2,…b_{0}, b_{1}, b_{2}, \ldots be a sequence of positive integers such that a0=0,a1=1a_{0}=0, a_{1}=1, and an+1={anbn+an−1, if bn−1=1anbn−an−1, if bn−1>1 for n=1,2,…a_{n+1}=\left\{\begin{array}{ll} a_{n} b_{n}+a_{n-1}, & \text { if } b_{n-1}=1 \\ a_{n} b_{n}-a_{n-1}, & \text { if } b_{n-1}>1 \end{array} \text { for } n=1,2, \ldots\right. Prove that at least one of the two numbers a2017a_{2017} and a2018a_{2018} must be greater than or equal to 2017 . (Australia)

A8

Assume that a function f:R→Rf: \mathbb{R} \rightarrow \mathbb{R} satisfies the following condition: For every x,y∈Rx, y \in \mathbb{R} such that (f(x)+y)(f(y)+x)>0(f(x)+y)(f(y)+x)>0, we have f(x)+y=f(y)+xf(x)+y=f(y)+x. Prove that f(x)+y⩽f(y)+xf(x)+y \leqslant f(y)+x whenever x>yx>y. (Netherlands)

C1

A rectangle R\mathcal{R} with odd integer side lengths is divided into small rectangles with integer side lengths. Prove that there is at least one among the small rectangles whose distances from the four sides of R\mathcal{R} are either all odd or all even. (Singapore)

C2

Let nn be a positive integer. Define a chameleon to be any sequence of 3n3 n letters, with exactly nn occurrences of each of the letters a,ba, b, and cc. Define a swap to be the transposition of two adjacent letters in a chameleon. Prove that for any chameleon XX, there exists a chameleon YY such that XX cannot be changed to YY using fewer than 3n2/23 n^{2} / 2 swaps. (Australia)

C3

Sir Alex plays the following game on a row of 9 cells. Initially, all cells are empty. In each move, Sir Alex is allowed to perform exactly one of the following two operations: (1) Choose any number of the form 2j2^{j}, where jj is a non-negative integer, and put it into an empty cell. (2) Choose two (not necessarily adjacent) cells with the same number in them; denote that number by 2j2^{j}. Replace the number in one of the cells with 2j+12^{j+1} and erase the number in the other cell. At the end of the game, one cell contains the number 2n2^{n}, where nn is a given positive integer, while the other cells are empty. Determine the maximum number of moves that Sir Alex could have made, in terms of nn. (Thailand)

C4

Let N⩾2N \geqslant 2 be an integer. N(N+1)N(N+1) soccer players, no two of the same height, stand in a row in some order. Coach Ralph wants to remove N(N−1)N(N-1) people from this row so that in the remaining row of 2N2 N players, no one stands between the two tallest ones, no one stands between the third and the fourth tallest ones, ..., and finally no one stands between the two shortest ones. Show that this is always possible. (Russia)

C5

A hunter and an invisible rabbit play a game in the Euclidean plane. The hunter's starting point H0H_{0} coincides with the rabbit's starting point R0R_{0}. In the nth n^{\text {th }} round of the game ( n⩾1n \geqslant 1 ), the following happens. (1) First the invisible rabbit moves secretly and unobserved from its current point Rn−1R_{n-1} to some new point RnR_{n} with Rn−1Rn=1R_{n-1} R_{n}=1. (2) The hunter has a tracking device (e.g. dog) that returns an approximate position Rn′R_{n}^{\prime} of the rabbit, so that RnRn′⩽1R_{n} R_{n}^{\prime} \leqslant 1. (3) The hunter then visibly moves from point Hn−1H_{n-1} to a new point HnH_{n} with Hn−1Hn=1H_{n-1} H_{n}=1. Is there a strategy for the hunter that guarantees that after 10910^{9} such rounds the distance between the hunter and the rabbit is below 100 ? (Austria)

C6

Let n>1n>1 be an integer. An n×n×nn \times n \times n cube is composed of n3n^{3} unit cubes. Each unit cube is painted with one color. For each n×n×1n \times n \times 1 box consisting of n2n^{2} unit cubes (of any of the three possible orientations), we consider the set of the colors present in that box (each color is listed only once). This way, we get 3n3 n sets of colors, split into three groups according to the orientation. It happens that for every set in any group, the same set appears in both of the other groups. Determine, in terms of nn, the maximal possible number of colors that are present. (Russia)

C7

For any finite sets XX and YY of positive integers, denote by fX(k)f_{X}(k) the kthk^{\mathrm{th}} smallest positive integer not in XX, and let X∗Y=X∪{fX(y):y∈Y}X * Y=X \cup\left\{f_{X}(y): y \in Y\right\} Let AA be a set of a>0a>0 positive integers, and let BB be a set of b>0b>0 positive integers. Prove that if A∗B=B∗AA * B=B * A, then A∗(A∗⋯∗(A∗(A∗A))…)⏟A appears b times =B∗(B∗⋯∗(B∗(B∗B))…)⏟B appears a times .\underbrace{A *(A * \cdots *(A *(A * A)) \ldots)}_{A \text { appears } b \text { times }}=\underbrace{B *(B * \cdots *(B *(B * B)) \ldots)}_{B \text { appears } a \text { times }} .

C8

Let nn be a given positive integer. In the Cartesian plane, each lattice point with nonnegative coordinates initially contains a butterfly, and there are no other butterflies. The neighborhood of a lattice point cc consists of all lattice points within the axis-aligned (2n+1)×(2n+1)(2 n+1) \times(2 n+1) square centered at cc, apart from cc itself. We call a butterfly lonely, crowded, or comfortable, depending on whether the number of butterflies in its neighborhood NN is respectively less than, greater than, or equal to half of the number of lattice points in NN. Every minute, all lonely butterflies fly away simultaneously. This process goes on for as long as there are any lonely butterflies. Assuming that the process eventually stops, determine the number of comfortable butterflies at the final state.

G1

Let ABCDEA B C D E be a convex pentagon such that AB=BC=CD,∠EAB=∠BCDA B=B C=C D, \angle E A B=\angle B C D, and ∠EDC=∠CBA\angle E D C=\angle C B A. Prove that the perpendicular line from EE to BCB C and the line segments ACA C and BDB D are concurrent. (Italy)

G2

Let RR and SS be distinct points on circle Ω\Omega, and let tt denote the tangent line to Ω\Omega at RR. Point R′R^{\prime} is the reflection of RR with respect to SS. A point II is chosen on the smaller arc RSR S of Ω\Omega so that the circumcircle Γ\Gamma of triangle ISR′I S R^{\prime} intersects tt at two different points. Denote by AA the common point of Γ\Gamma and tt that is closest to RR. Line AIA I meets Ω\Omega again at JJ. Show that JR′J R^{\prime} is tangent to Γ\Gamma. (Luxembourg)

G3

Let OO be the circumcenter of an acute scalene triangle ABCA B C. Line OAO A intersects the altitudes of ABCA B C through BB and CC at PP and QQ, respectively. The altitudes meet at HH. Prove that the circumcenter of triangle PQHP Q H lies on a median of triangle ABCA B C. (Ukraine)

G4

In triangle ABCA B C, let ω\omega be the excircle opposite AA. Let D,ED, E, and FF be the points where ω\omega is tangent to lines BC,CAB C, C A, and ABA B, respectively. The circle AEFA E F intersects line BCB C at PP and QQ. Let MM be the midpoint of ADA D. Prove that the circle MPQM P Q is tangent to ω\omega. (Denmark)

G5

Let ABCC1B1A1A B C C_{1} B_{1} A_{1} be a convex hexagon such that AB=BCA B=B C, and suppose that the line segments AA1,BB1A A_{1}, B B_{1}, and CC1C C_{1} have the same perpendicular bisector. Let the diagonals AC1A C_{1} and A1CA_{1} C meet at DD, and denote by ω\omega the circle ABCA B C. Let ω\omega intersect the circle A1BC1A_{1} B C_{1} again at E≠BE \neq B. Prove that the lines BB1B B_{1} and DED E intersect on ω\omega. (Ukraine)

G6

Let n⩾3n \geqslant 3 be an integer. Two regular nn-gons A\mathcal{A} and B\mathcal{B} are given in the plane. Prove that the vertices of A\mathcal{A} that lie inside B\mathcal{B} or on its boundary are consecutive. (That is, prove that there exists a line separating those vertices of A\mathcal{A} that lie inside B\mathcal{B} or on its boundary from the other vertices of A\mathcal{A}.) (Czech Republic)

G7

A convex quadrilateral ABCDA B C D has an inscribed circle with center II. Let Ia,Ib,IcI_{a}, I_{b}, I_{c}, and IdI_{d} be the incenters of the triangles DAB,ABC,BCDD A B, A B C, B C D, and CDAC D A, respectively. Suppose that the common external tangents of the circles AIbIdA I_{b} I_{d} and CIbIdC I_{b} I_{d} meet at XX, and the common external tangents of the circles BIaIcB I_{a} I_{c} and DIaIcD I_{a} I_{c} meet at YY. Prove that ∠XIY=90∘\angle X I Y=90^{\circ}. (Kazakhstan)

G8

There are 2017 mutually external circles drawn on a blackboard, such that no two are tangent and no three share a common tangent. A tangent segment is a line segment that is a common tangent to two circles, starting at one tangent point and ending at the other one. Luciano is drawing tangent segments on the blackboard, one at a time, so that no tangent segment intersects any other circles or previously drawn tangent segments. Luciano keeps drawing tangent segments until no more can be drawn. Find all possible numbers of tangent segments when he stops drawing. (Australia)

N1

The sequence a0,a1,a2,…a_{0}, a_{1}, a_{2}, \ldots of positive integers satisfies an+1={an, if an is an integer an+3, otherwise  for every n⩾0a_{n+1}=\left\{\begin{array}{ll} \sqrt{a_{n}}, & \text { if } \sqrt{a_{n}} \text { is an integer } \\ a_{n}+3, & \text { otherwise } \end{array} \text { for every } n \geqslant 0\right. Determine all values of a0>1a_{0}>1 for which there is at least one number aa such that an=aa_{n}=a for infinitely many values of nn. (South Africa)

N2

Let p⩾2p \geqslant 2 be a prime number. Eduardo and Fernando play the following game making moves alternately: in each move, the current player chooses an index ii in the set {0,1,…,p−1}\{0,1, \ldots, p-1\} that was not chosen before by either of the two players and then chooses an element aia_{i} of the set {0,1,2,3,4,5,6,7,8,9}\{0,1,2,3,4,5,6,7,8,9\}. Eduardo has the first move. The game ends after all the indices i∈{0,1,…,p−1}i \in\{0,1, \ldots, p-1\} have been chosen. Then the following number is computed: M=a0+10⋅a1+⋯+10p−1⋅ap−1=∑j=0p−1aj⋅10jM=a_{0}+10 \cdot a_{1}+\cdots+10^{p-1} \cdot a_{p-1}=\sum_{j=0}^{p-1} a_{j} \cdot 10^{j} The goal of Eduardo is to make the number MM divisible by pp, and the goal of Fernando is to prevent this. Prove that Eduardo has a winning strategy. (Morocco)

N3

Determine all integers n⩾2n \geqslant 2 with the following property: for any integers a1,a2,…,ana_{1}, a_{2}, \ldots, a_{n} whose sum is not divisible by nn, there exists an index 1⩽i⩽n1 \leqslant i \leqslant n such that none of the numbers ai,ai+ai+1,…,ai+ai+1+⋯+ai+n−1a_{i}, a_{i}+a_{i+1}, \ldots, a_{i}+a_{i+1}+\cdots+a_{i+n-1} is divisible by nn. (We let ai=ai−na_{i}=a_{i-n} when i>ni>n.) (Thailand)

N4

Call a rational number short if it has finitely many digits in its decimal expansion. For a positive integer mm, we say that a positive integer tt is mm-tastic if there exists a number c∈{1,2,3,…,2017}c \in\{1,2,3, \ldots, 2017\} such that 10t−1c⋅m\frac{10^{t}-1}{c \cdot m} is short, and such that 10k−1c⋅m\frac{10^{k}-1}{c \cdot m} is not short for any 1⩽k<t1 \leqslant k<t. Let S(m)S(m) be the set of mm-tastic numbers. Consider S(m)S(m) for m=1,2,…m=1,2, \ldots. What is the maximum number of elements in S(m)S(m) ? (Turkey)

N5

Find all pairs (p,q)(p, q) of prime numbers with p>qp>q for which the number (p+q)p+q(p−q)p−q−1(p+q)p−q(p−q)p+q−1\frac{(p+q)^{p+q}(p-q)^{p-q}-1}{(p+q)^{p-q}(p-q)^{p+q}-1} is an integer.

N6

Find the smallest positive integer nn, or show that no such nn exists, with the following property: there are infinitely many distinct nn-tuples of positive rational numbers ( a1,a2,…,ana_{1}, a_{2}, \ldots, a_{n} ) such that both a1+a2+⋯+an and 1a1+1a2+⋯+1ana_{1}+a_{2}+\cdots+a_{n} \text { and } \frac{1}{a_{1}}+\frac{1}{a_{2}}+\cdots+\frac{1}{a_{n}} are integers. (Singapore)

N7

Say that an ordered pair (x,y)(x, y) of integers is an irreducible lattice point if xx and yy are relatively prime. For any finite set SS of irreducible lattice points, show that there is a homogenous polynomial in two variables, f(x,y)f(x, y), with integer coefficients, of degree at least 1 , such that f(x,y)=1f(x, y)=1 for each (x,y)(x, y) in the set SS. Note: A homogenous polynomial of degree nn is any nonzero polynomial of the form f(x,y)=a0xn+a1xn−1y+a2xn−2y2+⋯+an−1xyn−1+anyn.f(x, y)=a_{0} x^{n}+a_{1} x^{n-1} y+a_{2} x^{n-2} y^{2}+\cdots+a_{n-1} x y^{n-1}+a_{n} y^{n} .

N8

Let pp be an odd prime number and Z>0\mathbb{Z}_{>0} be the set of positive integers. Suppose that a function f:Z>0×Z>0→{0,1}f: \mathbb{Z}_{>0} \times \mathbb{Z}_{>0} \rightarrow\{0,1\} satisfies the following properties: - f(1,1)=0f(1,1)=0; - f(a,b)+f(b,a)=1f(a, b)+f(b, a)=1 for any pair of relatively prime positive integers (a,b)(a, b) not both equal to 1 ; - f(a+b,b)=f(a,b)f(a+b, b)=f(a, b) for any pair of relatively prime positive integers (a,b)(a, b). Prove that ∑n=1p−1f(n2,p)⩾2p−2\sum_{n=1}^{p-1} f\left(n^{2}, p\right) \geqslant \sqrt{2 p}-2