5. Let be a sequence of positive integers such that, for every positive integers , it holds that . Prove that there exists a positive integer such that .
Problem 1164
Official solution
SOLUTION: Let's say that two numbers and are connected if they can be written one in the form and the other in the form for suitable and . The problem statement tells us that is different from whenever and are connected. We want to prove that there are at least 2017 positive integers such that the 2017 terms 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 that are pairwise connected.
We prove by induction on that for every there exist positive integers that are pairwise connected. In the case , the base of the induction, it is enough to fix and there is nothing to prove.
We observe that and , with , are connected if and only if is a divisor of . Therefore, if and are connected and is a multiple of then and are connected.
For the inductive step, we have by hypothesis positive integers that are pairwise connected . Let be their product. By our observation, the numbers are pairwise connected. These numbers are also all connected to . We have therefore constructed numbers that are pairwise connected, as required to complete the induction.
Alternative Solution: Assume for contradiction that is less than 2017 for every . We will prove by induction on that for every there exists an interval of consecutive numbers such that the sequence takes at most different values for varying in the interval. This immediately leads to a contradiction by considering the case .
The base of the induction, , is an immediate consequence of the absurd hypothesis.
For the inductive step, we want to prove that there exists an interval of length such that takes at most 2016 - different values in that interval. By the inductive hypothesis, we have an interval of length ! on which the sequence takes at most 2016 - different values. This interval must contain two consecutive multiples of !, say ! and !, and therefore also the numbers of the form with !. Observing that ! is a multiple of for every , we see that the numbers are all different from . The sequence cannot therefore assume 2016-n or more different values for in the interval , otherwise it would assume 2016-n+1 or more different values in the interval , contradicting the inductive hypothesis.