MathLabs

Problem 6

The sequence a1,a2,…a_1,a_2,\dots of integers satisfies the conditions: (i) 1≤aj≤20151\le a_j\le 2015 for all j≥1j\ge1; (ii) k+ak≠ℓ+aℓk+a_k\ne \ell+a_\ell for all 1≤k<ℓ1\le k<\ell. Prove that there exist two positive integers bb and NN for which ∣∑j=m+1n(aj−b)∣≤10072\left|\sum_{j=m+1}^{n}(a_j-b)\right|\le 1007^2 for all integers mm and nn such that n>m≥Nn>m\ge N.
Step 1 of 6: The map k↦k+akk\mapsto k+a_k never repeats
In plain words

Condition (ii) is exactly the statement that no two indices map to the same value.

f(k)=k+ak is injective on the positive integersf(k)=k+a_k\ \text{is injective on the positive integers}
Detailed analysis

Condition (ii), k+ak≠ℓ+aℓk+a_k\ne\ell+a_\ell for k≠ℓk\ne\ell, says precisely that the map f(k)=k+akf(k)=k+a_k is injective on the positive integers. Since 1≤ak≤20151\le a_k\le2015, we have f(k)∈{k+1,…,k+2015}f(k)\in\{k+1,\dots,k+2015\}: each arrow k↦f(k)k\mapsto f(k) jumps forward by at most 20152015.