olymmath

ISL 2019

IMO Shortlist 2019.

Other problems

A1

Let Z\mathbb{Z} be the set of integers. Determine all functions f:Z→Zf: \mathbb{Z} \rightarrow \mathbb{Z} such that, for all integers aa and bb, f(2a)+2f(b)=f(f(a+b))f(2 a)+2 f(b)=f(f(a+b)) (South Africa)

A2

Let u1,u2,…,u2019u_{1}, u_{2}, \ldots, u_{2019} be real numbers satisfying u1+u2+⋯+u2019=0 and u12+u22+⋯+u20192=1.u_{1}+u_{2}+\cdots+u_{2019}=0 \text { and } u_{1}^{2}+u_{2}^{2}+\cdots+u_{2019}^{2}=1 . Let a=min⁡(u1,u2,…,u2019)a=\min \left(u_{1}, u_{2}, \ldots, u_{2019}\right) and b=max⁡(u1,u2,…,u2019)b=\max \left(u_{1}, u_{2}, \ldots, u_{2019}\right). Prove that ab⩽−12019a b \leqslant-\frac{1}{2019} (Germany)

A3

Let n⩾3n \geqslant 3 be a positive integer and let (a1,a2,…,an)\left(a_{1}, a_{2}, \ldots, a_{n}\right) be a strictly increasing sequence of nn positive real numbers with sum equal to 2 . Let XX be a subset of {1,2,…,n}\{1,2, \ldots, n\} such that the value of ∣1−∑i∈Xai∣\left|1-\sum_{i \in X} a_{i}\right| is minimised. Prove that there exists a strictly increasing sequence of nn positive real numbers (b1,b2,…,bn)\left(b_{1}, b_{2}, \ldots, b_{n}\right) with sum equal to 2 such that ∑i∈Xbi=1\sum_{i \in X} b_{i}=1 (New Zealand) Common remarks. In all solutions, we say an index set XX is (ai)\left(a_{i}\right)-minimising if it has the property in the problem for the given sequence (ai)\left(a_{i}\right). Write XcX^{c} for the complement of XX, and [a,b][a, b] for the interval of integers kk such that a⩽k⩽ba \leqslant k \leqslant b. Note that ∣1−∑i∈Xai∣=∣1−∑i∈Xcai∣,\left|1-\sum_{i \in X} a_{i}\right|=\left|1-\sum_{i \in X^{c}} a_{i}\right|, so we may exchange XX and XcX^{c} where convenient. Let Δ=∑i∈Xcai−∑i∈Xai\Delta=\sum_{i \in X^{c}} a_{i}-\sum_{i \in X} a_{i} and note that XX is (ai)\left(a_{i}\right)-minimising if and only if it minimises ∣Δ∣|\Delta|, and that ∑i∈Xai=1\sum_{i \in X} a_{i}=1 if and only if Δ=0\Delta=0. In some solutions, a scaling process is used. If we have a strictly increasing sequence of positive real numbers cic_{i} (typically obtained by perturbing the aia_{i} in some way) such that ∑i∈Xci=∑i∈Xcci\sum_{i \in X} c_{i}=\sum_{i \in X^{c}} c_{i} then we may put bi=2ci/∑j=1ncjb_{i}=2 c_{i} / \sum_{j=1}^{n} c_{j}. So it suffices to construct such a sequence without needing its sum to be 2 . The solutions below show various possible approaches to the problem. Solutions 1 and 2 perturb a few of the aia_{i} to form the bib_{i} (with scaling in the case of Solution 1, without scaling in the case of Solution 2). Solutions 3 and 4 look at properties of the index set XX. Solution 3 then perturbs many of the aia_{i} to form the bib_{i}, together with scaling. Rather than using such perturbations, Solution 4 constructs a sequence (bi)\left(b_{i}\right) directly from the set XX with the required properties. Solution 4 can be used to give a complete description of sets XX that are (ai)\left(a_{i}\right)-minimising for some (ai)\left(a_{i}\right).

A4

Let n⩾2n \geqslant 2 be a positive integer and a1,a2,…,ana_{1}, a_{2}, \ldots, a_{n} be real numbers such that a1+a2+⋯+an=0a_{1}+a_{2}+\cdots+a_{n}=0 Define the set AA by A={(i,j)∣1⩽i<j⩽n,∣ai−aj∣⩾1}.A=\left\{(i, j)\left|1 \leqslant i<j \leqslant n,\left|a_{i}-a_{j}\right| \geqslant 1\right\} .\right. Prove that, if AA is not empty, then ∑(i,j)∈Aaiaj<0\sum_{(i, j) \in A} a_{i} a_{j}<0 (China)

A5

Let x1,x2,…,xnx_{1}, x_{2}, \ldots, x_{n} be different real numbers. Prove that ∑1⩽i⩽n∏j≠i1−xixjxi−xj={0, if n is even 1, if n is odd \sum_{1 \leqslant i \leqslant n} \prod_{j \neq i} \frac{1-x_{i} x_{j}}{x_{i}-x_{j}}= \begin{cases}0, & \text { if } n \text { is even } \\ 1, & \text { if } n \text { is odd }\end{cases}

A6

A polynomial P(x,y,z)P(x, y, z) in three variables with real coefficients satisfies the identities P(x,y,z)=P(x,y,xy−z)=P(x,zx−y,z)=P(yz−x,y,z).P(x, y, z)=P(x, y, x y-z)=P(x, z x-y, z)=P(y z-x, y, z) . Prove that there exists a polynomial F(t)F(t) in one variable such that P(x,y,z)=F(x2+y2+z2−xyz).P(x, y, z)=F\left(x^{2}+y^{2}+z^{2}-x y z\right) .

A7

Let Z\mathbb{Z} be the set of integers. We consider functions f:Z→Zf: \mathbb{Z} \rightarrow \mathbb{Z} satisfying f(f(x+y)+y)=f(f(x)+y)f(f(x+y)+y)=f(f(x)+y) for all integers xx and yy. For such a function, we say that an integer vv is ff-rare if the set Xv={x∈Z:f(x)=v}X_{v}=\{x \in \mathbb{Z}: f(x)=v\} is finite and nonempty. (a) Prove that there exists such a function ff for which there is an ff-rare integer. (b) Prove that no such function ff can have more than one ff-rare integer.

C1

The infinite sequence a0,a1,a2,…a_{0}, a_{1}, a_{2}, \ldots of (not necessarily different) integers has the following properties: 0⩽ai⩽i0 \leqslant a_{i} \leqslant i for all integers i⩾0i \geqslant 0, and (ka0)+(ka1)+⋯+(kak)=2k\binom{k}{a_{0}}+\binom{k}{a_{1}}+\cdots+\binom{k}{a_{k}}=2^{k} for all integers k⩾0k \geqslant 0. Prove that all integers N⩾0N \geqslant 0 occur in the sequence (that is, for all N⩾0N \geqslant 0, there exists i⩾0i \geqslant 0 with ai=Na_{i}=N ).

C2

You are given a set of nn blocks, each weighing at least 1 ; their total weight is 2n2 n. Prove that for every real number rr with 0⩽r⩽2n−20 \leqslant r \leqslant 2 n-2 you can choose a subset of the blocks whose total weight is at least rr but at most r+2r+2. (Thailand)

C3

Let nn be a positive integer. Harry has nn coins lined up on his desk, each showing heads or tails. He repeatedly does the following operation: if there are kk coins showing heads and k>0k>0, then he flips the kth k^{\text {th }} coin over; otherwise he stops the process. (For example, the process starting with THT would be THT →HHT→HTT→TTT\rightarrow H H T \rightarrow H T T \rightarrow T T T, which takes three steps.) Letting CC denote the initial configuration (a sequence of nHn H 's and TT 's), write ℓ(C)\ell(C) for the number of steps needed before all coins show TT. Show that this number ℓ(C)\ell(C) is finite, and determine its average value over all 2n2^{n} possible initial configurations CC.

C4

On a flat plane in Camelot, King Arthur builds a labyrinth L\mathfrak{L} consisting of nn walls, each of which is an infinite straight line. No two walls are parallel, and no three walls have a common point. Merlin then paints one side of each wall entirely red and the other side entirely blue. At the intersection of two walls there are four corners: two diagonally opposite corners where a red side and a blue side meet, one corner where two red sides meet, and one corner where two blue sides meet. At each such intersection, there is a two-way door connecting the two diagonally opposite corners at which sides of different colours meet. After Merlin paints the walls, Morgana then places some knights in the labyrinth. The knights can walk through doors, but cannot walk through walls. Let k(L)k(\mathfrak{L}) be the largest number kk such that, no matter how Merlin paints the labyrinth L\mathfrak{L}, Morgana can always place at least kk knights such that no two of them can ever meet. For each nn, what are all possible values for k(L)k(\mathfrak{L}), where L\mathfrak{L} is a labyrinth with nn walls? (Canada)

C5

On a certain social network, there are 2019 users, some pairs of which are friends, where friendship is a symmetric relation. Initially, there are 1010 people with 1009 friends each and 1009 people with 1010 friends each. However, the friendships are rather unstable, so events of the following kind may happen repeatedly, one at a time: Let A,BA, B, and CC be people such that AA is friends with both BB and CC, but BB and CC are not friends; then BB and CC become friends, but AA is no longer friends with them. Prove that, regardless of the initial friendships, there exists a sequence of such events after which each user is friends with at most one other user. (Croatia)

C6

Let n>1n>1 be an integer. Suppose we are given 2n2 n points in a plane such that no three of them are collinear. The points are to be labelled A1,A2,…,A2nA_{1}, A_{2}, \ldots, A_{2 n} in some order. We then consider the 2n2 n angles ∠A1A2A3,∠A2A3A4,…,∠A2n−2A2n−1A2n,∠A2n−1A2nA1\angle A_{1} A_{2} A_{3}, \angle A_{2} A_{3} A_{4}, \ldots, \angle A_{2 n-2} A_{2 n-1} A_{2 n}, \angle A_{2 n-1} A_{2 n} A_{1}, ∠A2nA1A2\angle A_{2 n} A_{1} A_{2}. We measure each angle in the way that gives the smallest positive value (i.e. between 0∘0^{\circ} and 180∘180^{\circ} ). Prove that there exists an ordering of the given points such that the resulting 2n2 n angles can be separated into two groups with the sum of one group of angles equal to the sum of the other group. Comment. The first three solutions all use the same construction involving a line separating the points into groups of nn points each, but give different proofs that this construction works. Although Solution 1 is very short, the Problem Selection Committee does not believe any of the solutions is easy to find and thus rates this as a problem of medium difficulty.

C7

There are 60 empty boxes B1,…,B60B_{1}, \ldots, B_{60} in a row on a table and an unlimited supply of pebbles. Given a positive integer nn, Alice and Bob play the following game. In the first round, Alice takes nn pebbles and distributes them into the 60 boxes as she wishes. Each subsequent round consists of two steps: (a) Bob chooses an integer kk with 1⩽k⩽591 \leqslant k \leqslant 59 and splits the boxes into the two groups B1,…,BkB_{1}, \ldots, B_{k} and Bk+1,…,B60B_{k+1}, \ldots, B_{60}. (b) Alice picks one of these two groups, adds one pebble to each box in that group, and removes one pebble from each box in the other group. Bob wins if, at the end of any round, some box contains no pebbles. Find the smallest nn such that Alice can prevent Bob from winning. (Czech Republic)

C8

Alice has a map of Wonderland, a country consisting of n⩾2n \geqslant 2 towns. For every pair of towns, there is a narrow road going from one town to the other. One day, all the roads are declared to be "one way" only. Alice has no information on the direction of the roads, but the King of Hearts has offered to help her. She is allowed to ask him a number of questions. For each question in turn, Alice chooses a pair of towns and the King of Hearts tells her the direction of the road connecting those two towns. Alice wants to know whether there is at least one town in Wonderland with at most one outgoing road. Prove that she can always find out by asking at most 4n4 n questions. Comment. This problem could be posed with an explicit statement about points being awarded for weaker bounds cnc n for some c>4c>4, in the style of IMO 2014 Problem 6. (Thailand)

C9

For any two different real numbers xx and yy, we define D(x,y)D(x, y) to be the unique integer dd satisfying 2d⩽∣x−y∣<2d+12^{d} \leqslant|x-y|<2^{d+1}. Given a set of reals F\mathcal{F}, and an element x∈Fx \in \mathcal{F}, we say that the scales of xx in F\mathcal{F} are the values of D(x,y)D(x, y) for y∈Fy \in \mathcal{F} with x≠yx \neq y. Let kk be a given positive integer. Suppose that each member xx of F\mathcal{F} has at most kk different scales in F\mathcal{F} (note that these scales may depend on xx ). What is the maximum possible size of F\mathcal{F} ? (Italy)

G1

Let ABCA B C be a triangle. Circle Γ\Gamma passes through AA, meets segments ABA B and ACA C again at points DD and EE respectively, and intersects segment BCB C at FF and GG such that FF lies between BB and GG. The tangent to circle BDFB D F at FF and the tangent to circle CEGC E G at GG meet at point TT. Suppose that points AA and TT are distinct. Prove that line ATA T is parallel to BCB C. (Nigeria)

G2

Let ABCA B C be an acute-angled triangle and let D,ED, E, and FF be the feet of altitudes from A,BA, B, and CC to sides BC,CAB C, C A, and ABA B, respectively. Denote by ωB\omega_{B} and ωC\omega_{C} the incircles of triangles BDFB D F and CDEC D E, and let these circles be tangent to segments DFD F and DED E at MM and NN, respectively. Let line MNM N meet circles ωB\omega_{B} and ωC\omega_{C} again at P≠MP \neq M and Q≠NQ \neq N, respectively. Prove that MP=NQM P=N Q. (Vietnam)

G3

In triangle ABCA B C, let A1A_{1} and B1B_{1} be two points on sides BCB C and ACA C, and let PP and QQ be two points on segments AA1A A_{1} and BB1B B_{1}, respectively, so that line PQP Q is parallel to ABA B. On ray PB1P B_{1}, beyond B1B_{1}, let P1P_{1} be a point so that ∠PP1C=∠BAC\angle P P_{1} C=\angle B A C. Similarly, on ray QA1Q A_{1}, beyond A1A_{1}, let Q1Q_{1} be a point so that ∠CQ1Q=∠CBA\angle C Q_{1} Q=\angle C B A. Show that points P,Q,P1P, Q, P_{1}, and Q1Q_{1} are concyclic. (Ukraine)

G4

Let PP be a point inside triangle ABCA B C. Let APA P meet BCB C at A1A_{1}, let BPB P meet CAC A at B1B_{1}, and let CPC P meet ABA B at C1C_{1}. Let A2A_{2} be the point such that A1A_{1} is the midpoint of PA2P A_{2}, let B2B_{2} be the point such that B1B_{1} is the midpoint of PB2P B_{2}, and let C2C_{2} be the point such that C1C_{1} is the midpoint of PC2P C_{2}. Prove that points A2,B2A_{2}, B_{2}, and C2C_{2} cannot all lie strictly inside the circumcircle of triangle ABCA B C. (Australia)

G5

Let ABCDEA B C D E be a convex pentagon with CD=DEC D=D E and ∠EDC≠2⋅∠ADB\angle E D C \neq 2 \cdot \angle A D B. Suppose that a point PP is located in the interior of the pentagon such that AP=AEA P=A E and BP=BCB P=B C. Prove that PP lies on the diagonal CEC E if and only if area⁡(BCD)+area⁡(ADE)=\operatorname{area}(B C D)+\operatorname{area}(A D E)= area⁡(ABD)+area⁡(ABP)\operatorname{area}(A B D)+\operatorname{area}(A B P). (Hungary)

G6

Let II be the incentre of acute-angled triangle ABCA B C. Let the incircle meet BC,CAB C, C A, and ABA B at D,ED, E, and FF, respectively. Let line EFE F intersect the circumcircle of the triangle at PP and QQ, such that FF lies between EE and PP. Prove that ∠DPA+∠AQD=∠QIP\angle D P A+\angle A Q D=\angle Q I P. (Slovakia)

G7

The incircle ω\omega of acute-angled scalene triangle ABCA B C has centre II and meets sides BCB C, CAC A, and ABA B at D,ED, E, and FF, respectively. The line through DD perpendicular to EFE F meets ω\omega again at RR. Line ARA R meets ω\omega again at PP. The circumcircles of triangles PCEP C E and PBFP B F meet again at Q≠PQ \neq P. Prove that lines DID I and PQP Q meet on the external bisector of angle BACB A C. (India) Common remarks. Throughout the solution, ∠(a,b)\angle(a, b) denotes the directed angle between lines aa and bb, measured modulo π\pi.

G8

Let L\mathcal{L} be the set of all lines in the plane and let ff be a function that assigns to each line ℓ∈L\ell \in \mathcal{L} a point f(ℓ)f(\ell) on ℓ\ell. Suppose that for any point XX, and for any three lines ℓ1,ℓ2,ℓ3\ell_{1}, \ell_{2}, \ell_{3} passing through XX, the points f(ℓ1),f(ℓ2),f(ℓ3)f\left(\ell_{1}\right), f\left(\ell_{2}\right), f\left(\ell_{3}\right) and XX lie on a circle. Prove that there is a unique point PP such that f(ℓ)=Pf(\ell)=P for any line ℓ\ell passing through PP. (Australia)

N1

Find all pairs (m,n)(m, n) of positive integers satisfying the equation (2n−1)(2n−2)(2n−4)⋯(2n−2n−1)=m!\left(2^{n}-1\right)\left(2^{n}-2\right)\left(2^{n}-4\right) \cdots\left(2^{n}-2^{n-1}\right)=m! (El Salvador)

N2

Find all triples (a,b,c)(a, b, c) of positive integers such that a3+b3+c3=(abc)2a^{3}+b^{3}+c^{3}=(a b c)^{2}. (Nigeria)

N3

We say that a set SS of integers is rootiful if, for any positive integer nn and any a0,a1,…,an∈Sa_{0}, a_{1}, \ldots, a_{n} \in S, all integer roots of the polynomial a0+a1x+⋯+anxna_{0}+a_{1} x+\cdots+a_{n} x^{n} are also in SS. Find all rootiful sets of integers that contain all numbers of the form 2a−2b2^{a}-2^{b} for positive integers aa and bb. (Czech Republic)

N4

Let Z>0\mathbb{Z}_{>0} be the set of positive integers. A positive integer constant CC is given. Find all functions f:Z>0→Z>0f: \mathbb{Z}_{>0} \rightarrow \mathbb{Z}_{>0} such that, for all positive integers aa and bb satisfying a+b>Ca+b>C, a+f(b)∣a2+bf(a)a+f(b) \mid a^{2}+b f(a) (Croatia)

N5

Let aa be a positive integer. We say that a positive integer bb is aa-good if (anb)−1\binom{a n}{b}-1 is divisible by an+1a n+1 for all positive integers nn with an⩾ba n \geqslant b. Suppose bb is a positive integer such that bb is aa-good, but b+2b+2 is not aa-good. Prove that b+1b+1 is prime. (Netherlands)

N6

Let H={⌊i2⌋:i∈Z>0}={1,2,4,5,7,…}H=\left\{\lfloor i \sqrt{2}\rfloor: i \in \mathbb{Z}_{>0}\right\}=\{1,2,4,5,7, \ldots\}, and let nn be a positive integer. Prove that there exists a constant CC such that, if A⊂{1,2,…,n}A \subset\{1,2, \ldots, n\} satisfies ∣A∣⩾Cn|A| \geqslant C \sqrt{n}, then there exist a,b∈Aa, b \in A such that a−b∈Ha-b \in H. (Brazil)

N7

Prove that there is a constant c>0c>0 and infinitely many positive integers nn with the following property: there are infinitely many positive integers that cannot be expressed as the sum of fewer than cnlog⁡(n)c n \log (n) pairwise coprime nth n^{\text {th }} powers. (Canada)

N8

Let aa and bb be two positive integers. Prove that the integer a2+⌈4a2b⌉a^{2}+\left\lceil\frac{4 a^{2}}{b}\right\rceil is not a square. (Here ⌈z⌉\lceil z\rceil denotes the least integer greater than or equal to zz.)