Olympiad Maths Prep

Track / Stage 6 / 164 of 400 #1164 of 2000

Problem 1164

National olympiad, first round
Combinatorics Difficulty 6.3 Prove it

5. Let x1,x2,x3,x_{1}, x_{2}, x_{3}, \ldots be a sequence of positive integers such that, for every positive integers m,nm, n, it holds that xmnxm(n+1)x_{m n} \neq x_{m(n+1)}. Prove that there exists a positive integer ii such that xi2017x_{i} \geq 2017.

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

SOLUTION: Let's say that two numbers ii and jj are connected if they can be written one in the form mnm n and the other in the form m(n+1)m(n+1) for suitable mm and nn. The problem statement tells us that xix_{i} is different from xjx_{j} whenever ii and jj are connected. We want to prove that there are at least 2017 positive integers i1i2017i_{1} \ldots i_{2017} such that the 2017 terms xi1,,xi2017x_{i_{1}}, \ldots, x_{i_{2017}} of the sequence are all different from each other: this implies the statement by the pigeonhole principle. It is therefore enough to prove that there are 2017 positive integers i1i2017i_{1} \ldots i_{2017} that are pairwise connected.

We prove by induction on nn that for every nn there exist nn positive integers i1ini_{1} \ldots i_{n} that are pairwise connected. In the case n=1n=1, the base of the induction, it is enough to fix i1=1i_{1}=1 and there is nothing to prove.

We observe that ii and jj, with i<ji<j, are connected if and only if jij-i is a divisor of ii. Therefore, if ii and jj are connected and kk is a multiple of ii then k+ik+i and k+jk+j are connected.

For the inductive step, we have by hypothesis nn positive integers that are pairwise connected i1,,ini_{1}, \ldots, i_{n}. Let kk be their product. By our observation, the numbers k+i1,,k+ink+i_{1}, \ldots, k+i_{n} are pairwise connected. These numbers are also all connected to kk. We have therefore constructed n+1n+1 numbers that are pairwise connected, as required to complete the induction.

Alternative Solution: Assume for contradiction that xix_{i} is less than 2017 for every ii. We will prove by induction on nn that for every kk there exists an interval of kk consecutive numbers such that the sequence xix_{i} takes at most 2016n2016-n different values for ii varying in the interval. This immediately leads to a contradiction by considering the case n=2016,k=1n=2016, k=1.

The base of the induction, n=0n=0, is an immediate consequence of the absurd hypothesis.

For the inductive step, we want to prove that there exists an interval of length kk such that xix_{i} takes at most 2016 - (n+1)(n+1) different values in that interval. By the inductive hypothesis, we have an interval II of length 3k3 k ! on which the sequence takes at most 2016 - nn different values. This interval must contain two consecutive multiples of kk !, say mkm k ! and (m+1)k(m+1) k !, and therefore also the numbers of the form mk!+jm k !+j with 1jkk1 \leq j \leq k \leq k !. Observing that mkm k ! is a multiple of jj for every j=1,,kj=1, \ldots, k, we see that the numbers xmk!+jx_{m k !+j} are all different from xmk!x_{m k !}. The sequence xix_{i} cannot therefore assume 2016-n or more different values for ii in the interval mk!+m k !+ 1,,mk!+k1, \ldots, m k !+k, otherwise it would assume 2016-n+1 or more different values in the interval II, contradicting the inductive hypothesis.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.