Consider an infinite sequence a1,a2,… of positive integers with ai⩽2015 for all i⩾1. Suppose that for any two distinct indices i and j we have i+ai=j+aj. Prove that there exist two positive integers b and N such that i=m+1∑n(ai−b)⩽10072 whenever n>m⩾N.
Solution
We visualize the set of positive integers as a sequence of points. For each n we draw an arrow emerging from n that points to n+an; so the length of this arrow is an. Due to the condition that m+am=n+an for m=n, each positive integer receives at most one arrow. There are some positive integers, such as 1, that receive no arrows; these will be referred to as starting points in the sequel. When one starts at any of the starting points and keeps following the arrows, one is led to an infinite path, called its ray, that visits a strictly increasing sequence of positive integers. Since the length of any arrow is at most 2015, such a ray, say with starting point s, meets every interval of the form [n,n+2014] with n⩾s at least once.
Suppose for the sake of contradiction that there would be at least 2016 starting points. Then we could take an integer n that is larger than the first 2016 starting points. But now the interval [n,n+2014] must be met by at least 2016 rays in distinct points, which is absurd. We have thereby shown that the number b of starting points satisfies 1⩽b⩽2015. Let N denote any integer that is larger than all starting points. We contend that b and N are as required.
To see this, let any two integers m and n with n>m⩾N be given. The sum ∑i=m+1nai gives the total length of the arrows emerging from m+1,…,n. Taken together, these arrows form b subpaths of our rays, some of which may be empty. Now on each ray we look at the first number that is larger than m; let x1,…,xb denote these numbers, and let y1,…,yb enumerate in corresponding order the numbers defined similarly with respect to n. Then the list of differences y1−x1,…,yb−xb consists of the lengths of these paths and possibly some zeros corresponding to empty paths. Consequently, we obtain i=m+1∑nai=j=1∑b(yj−xj) whence i=m+1∑n(ai−b)=j=1∑b(yj−n)−j=1∑b(xj−m) Now each of the b rays meets the interval [m+1,m+2015] at some point and thus x1−m,…,xb−m are b distinct members of the set {1,2,…,2015}. Moreover, since m+1 is not a starting point, it must belong to some ray; so 1 has to appear among these numbers, wherefore 1+j=1∑b−1(j+1)⩽j=1∑b(xj−m)⩽1+j=1∑b−1(2016−b+j) The same argument applied to n and y1,…,yb yields 1+j=1∑b−1(j+1)⩽j=1∑b(yj−n)⩽1+j=1∑b−1(2016−b+j) So altogether we get i=m+1∑n(ai−b)⩽j=1∑b−1((2016−b+j)−(j+1))=(b−1)(2015−b)⩽(2(b−1)+(2015−b))2=10072 as desired.
Solution 2:
Set sn=n+an for all positive integers n. By our assumptions, we have n+1⩽sn⩽n+2015 for all n∈Z>0. The members of the sequence s1,s2,… are distinct. We shall investigate the set M=Z>0\{s1,s2,…} Claim. At most 2015 numbers belong to M.
Proof. Otherwise let m1<m2<⋯<m2016 be any 2016 distinct elements from M. For n=m2016 we have {s1,…,sn}∪{m1,…,m2016}⊆{1,2,…,n+2015} where on the left-hand side we have a disjoint union containing altogether n+2016 elements. But the set on the right-hand side has only n+2015 elements. This contradiction proves our claim. □
Now we work towards proving that the positive integers b=∣M∣ and N=max(M) are as required. Recall that we have just shown b⩽2015.
Let us consider any integer r⩾N. As in the proof of the above claim, we see that Br=M∪{s1,…,sr}(1) is a subset of [1,r+2015]∩Z with precisely b+r elements. Due to the definitions of M and N, we also know [1,r+1]∩Z⊆Br. It follows that there is a set Cr⊆{1,2,…,2014} with ∣Cr∣=b−1 and Br=([1,r+1]∩Z)∪{r+1+x∣x∈Cr}.(2) For any finite set of integers J we denote the sum of its elements by ∑J. Now the equations (1) and (2) give rise to two ways of computing ∑Br and the comparison of both methods leads to ∑M+i=1∑rsi=i=1∑ri+b(r+1)+∑Cr or in other words to ∑M+i=1∑r(ai−b)=b+∑Cr(3) After this preparation, we consider any two integers m and n with n>m⩾N. Plugging r=n and r=m into (3) and subtracting the estimates that result, we deduce i=m+1∑n(ai−b)=∑Cn−∑Cm Since Cn and Cm are subsets of {1,2,…,2014} with ∣Cn∣=∣Cm∣=b−1, it is clear that the absolute value of the right-hand side of the above inequality attains its largest possible value if either Cm={1,2,…,b−1} and Cn={2016−b,…,2014}, or the other way around. In these two cases we have ∑Cn−∑Cm=(b−1)(2015−b), so in the general case we find i=m+1∑n(ai−b)⩽(b−1)(2015−b)⩽(2(b−1)+(2015−b))2=10072 as desired.
Looking for a route rather than an archive? The track puts 2,000
problems in a working order, from AMC 10 level to the IMO shortlist.
Source: MathNet,
licensed CC-BY-4.0.
Statement and solution reproduced as published; topic and difficulty added by this site.