Maths Olympiad Prep

Track / Stage 7 / 237 of 300 #2277 of 2604

Problem 2277

National Olympiad second round; IMO P1/P4
Combinatorics Difficulty 7.7 Prove it Auswahlklausur · Germany

Let a positive integer dd and a sequence (ai)i=1,2,3,…\left(a_{i}\right)_{i=1,2,3, \ldots} of positive integers be given. We assume that the following two conditions are satisfied:
- Every positive integer occurs exactly once in the sequence.
- For all indices i≥10100i \geq 10^{100} we have ∣ai+1−ai∣≤2d\left|a_{i+1}-a_{i}\right| \leq 2 d.
Prove that there exist infinitely many indices jj for which ∣aj−j∣<d\left|a_{j}-j\right|<d holds.

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Next problem →

Official solution

Solution:

Suppose the claim were not satisfied. Then there exists an index N>10100N>10^{100} such that for all i≥Ni \geq N either ai≤i−da_{i} \leq i-d or ai≥i+da_{i} \geq i+d holds. In the first case, since i≥N>10100i \geq N>10^{100}, by the second assumption on the sequence we also have
ai+1≤ai+2d≤i−d+2d=(i+1)+(d−1) a_{i+1} \leq a_{i}+2 d \leq i-d+2 d=(i+1)+(d-1)
so ai+1≤(i+1)−da_{i+1} \leq(i+1)-d must hold. By induction it follows that ai≤j−da_{i} \leq j-d for all j≥ij \geq i.
We have thus shown:
(A) Either ai≥i+da_{i} \geq i+d holds for all i≥Ni \geq N, or
(B) there exists an M≥NM \geq N such that ai≤i−da_{i} \leq i-d holds for all i≥Mi \geq M.
Let us first assume that (A) is satisfied. The numbers 1,…,N1, \ldots, N must, by the first assumption on the sequence, each occur once in the sequence. However, we have ai≥i+d>i≥Na_{i} \geq i+d>i \geq N for all i≥Ni \geq N, that is, there are only the N−1N-1 sequence terms a1,…,aN−1a_{1}, \ldots, a_{N-1} that can take one of these values. By the pigeonhole principle this yields a contradiction.
Now let us assume that (B) is satisfied. Let k=max⁡{M,a1,…,aM}k=\max \left\{M, a_{1}, \ldots, a_{M}\right\}. Then the kk sequence terms a1,…,aka_{1}, \ldots, a_{k} are all less than kk, since for i=1,…M−1i=1, \ldots M-1 we have ai≤max⁡{a1,…,aM−1}≤ka_{i} \leq \max \left\{a_{1}, \ldots, a_{M-1}\right\} \leq k and for i=M,…,ki=M, \ldots, k we have ai≤i−d<i≤ka_{i} \leq i-d<i \leq k. These kk numbers thus all lie in the set {1,2,…,k−1}\{1,2, \ldots, k-1\}. By the pigeonhole principle there therefore exist two indices 1≤i<j≤k1 \leq i<j \leq k with ai=aja_{i}=a_{j}, which contradicts the first assumption on the sequence.
Since we have obtained a contradiction in every case, the claim holds.

Source: MathNet, licensed CC-BY-4.0. Statement translated into English from de; metadata (topic, difficulty, ordering) added by this project.