Maths Olympiad Prep

Library / /74 of 106

Algebra Difficulty 8.6 Shortlist Prove it IMO

Let a0,a1,a2,a_{0}, a_{1}, a_{2}, \ldots be a sequence of integers and b0,b1,b2,b_{0}, b_{1}, b_{2}, \ldots be a sequence of positive integers such that a0=0a_{0}=0, a1=1a_{1}=1, and
an+1={anbn+an1, if bn1=1anbnan1, if bn1>1 for n=1,2, a_{n+1}=\left\{\begin{array}{ll} a_{n} b_{n}+a_{n-1}, & \text{ if } b_{n-1}=1 \\ a_{n} b_{n}-a_{n-1}, & \text{ if } b_{n-1}>1 \end{array} \quad \text{ for } n=1,2, \ldots\right.
Prove that at least one of the two numbers a2017a_{2017} and a2018a_{2018} must be greater than or equal to 20172017.

Solutions — 2

Solution 1

The value of b0b_{0} is irrelevant since a0=0a_{0}=0, so we may assume that b0=1b_{0}=1.

Lemma. We have an1a_{n} \geqslant 1 for all n1n \geqslant 1.

Proof. Let us suppose otherwise in order to obtain a contradiction. Let
n1 be the smallest integer with an0 \begin{equation*} n \geqslant 1 \text{ be the smallest integer with } a_{n} \leqslant 0 \text{. } \tag{1} \end{equation*}
Note that n2n \geqslant 2. It follows that an11a_{n-1} \geqslant 1 and an20a_{n-2} \geqslant 0. Thus we cannot have an=an1bn1+an2a_{n}= a_{n-1} b_{n-1}+a_{n-2}, so we must have an=an1bn1an2a_{n}=a_{n-1} b_{n-1}-a_{n-2}. Since an0a_{n} \leqslant 0, we have an1an2a_{n-1} \leqslant a_{n-2}. Thus we have an2an1ana_{n-2} \geqslant a_{n-1} \geqslant a_{n}.

Let
r be the smallest index with arar+1ar+2 \begin{equation*} r \text{ be the smallest index with } a_{r} \geqslant a_{r+1} \geqslant a_{r+2} \text{. } \tag{2} \end{equation*}
Then rn2r \leqslant n-2 by the above, but also r2r \geqslant 2 : if b1=1b_{1}=1, then a2=a1=1a_{2}=a_{1}=1 and a3=a2b2+a1>a2a_{3}=a_{2} b_{2}+a_{1}>a_{2}; if b1>1b_{1}>1, then a2=b1>1=a1a_{2}=b_{1}>1=a_{1}.

By the minimal choice (2) of rr, it follows that ar1<ara_{r-1}<a_{r}. And since 2rn22 \leqslant r \leqslant n-2, by the minimal choice (1) of nn we have ar1,ar,ar+1>0a_{r-1}, a_{r}, a_{r+1}>0. In order to have ar+1ar+2a_{r+1} \geqslant a_{r+2}, we must have ar+2=ar+1br+1ara_{r+2}=a_{r+1} b_{r+1}-a_{r} so that br2b_{r} \geqslant 2. Putting everything together, we conclude that
ar+1=arbr±ar12arar1=ar+(arar1)>ar, a_{r+1}=a_{r} b_{r} \pm a_{r-1} \geqslant 2 a_{r}-a_{r-1}=a_{r}+\left(a_{r}-a_{r-1}\right)>a_{r},
which contradicts (2). \square

To complete the problem, we prove that max{an,an+1}n\max \left\{a_{n}, a_{n+1}\right\} \geqslant n by induction. The cases n=0,1n=0,1 are given. Assume it is true for all non-negative integers strictly less than nn, where n2n \geqslant 2. There are two cases:

Case 1: bn1=1b_{n-1}=1.

Then an+1=anbn+an1a_{n+1}=a_{n} b_{n}+a_{n-1}. By the inductive assumption one of an1,ana_{n-1}, a_{n} is at least n1n-1 and the other, by the lemma, is at least 1. Hence
an+1=anbn+an1an+an1(n1)+1=n. a_{n+1}=a_{n} b_{n}+a_{n-1} \geqslant a_{n}+a_{n-1} \geqslant(n-1)+1=n .
Thus max{an,an+1}n\max \left\{a_{n}, a_{n+1}\right\} \geqslant n, as desired.

Case 2: bn1>1b_{n-1}>1.

Since we defined b0=1b_{0}=1 there is an index rr with 1rn11 \leqslant r \leqslant n-1 such that
bn1,bn2,,br2 and br1=1. b_{n-1}, b_{n-2}, \ldots, b_{r} \geqslant 2 \quad \text{ and } \quad b_{r-1}=1 .
We have ar+1=arbr+ar12ar+ar1a_{r+1}=a_{r} b_{r}+a_{r-1} \geqslant 2 a_{r}+a_{r-1}. Thus ar+1arar+ar1a_{r+1}-a_{r} \geqslant a_{r}+a_{r-1}.

Now we claim that ar+ar1ra_{r}+a_{r-1} \geqslant r. Indeed, this holds by inspection for r=1r=1; for r2r \geqslant 2, one of ar,ar1a_{r}, a_{r-1} is at least r1r-1 by the inductive assumption, while the other, by the lemma, is at least 1. Hence ar+ar1ra_{r}+a_{r-1} \geqslant r, as claimed, and therefore ar+1arra_{r+1}-a_{r} \geqslant r by the last inequality in the previous paragraph.

Since r1r \geqslant 1 and, by the lemma, ar1a_{r} \geqslant 1, from ar+1arra_{r+1}-a_{r} \geqslant r we get the following two inequalities:
ar+1r+1 and ar+1>ar. a_{r+1} \geqslant r+1 \quad \text{ and } \quad a_{r+1}>a_{r} .
Now observe that
am>am1am+1>am for m=r+1,r+2,,n1 a_{m}>a_{m-1} \Longrightarrow a_{m+1}>a_{m} \text{ for } m=r+1, r+2, \ldots, n-1 \text{, }
since am+1=ambmam12amam1=am+(amam1)>ama_{m+1}=a_{m} b_{m}-a_{m-1} \geqslant 2 a_{m}-a_{m-1}=a_{m}+\left(a_{m}-a_{m-1}\right)>a_{m}. Thus
an>an1>>ar+1r+1ann a_{n}>a_{n-1}>\cdots>a_{r+1} \geqslant r+1 \Longrightarrow a_{n} \geqslant n
So max{an,an+1}n\max \left\{a_{n}, a_{n+1}\right\} \geqslant n, as desired.

Solution 2

We say that an index n>1n>1 is bad if bn1=1b_{n-1}=1 and bn2>1b_{n-2}>1; otherwise nn is good. The value of b0b_{0} is irrelevant to the definition of (an)\left(a_{n}\right) since a0=0a_{0}=0; so we assume that b0>1b_{0}>1.

Lemma 1. (a) an1a_{n} \geqslant 1 for all n>0n>0.
(b) If n>1n>1 is good, then an>an1a_{n}>a_{n-1}.

Proof. Induction on nn. In the base cases n=1,2n=1,2 we have a1=11,a2=b1a11a_{1}=1 \geqslant 1, a_{2}=b_{1} a_{1} \geqslant 1, and finally a2>a1a_{2}>a_{1} if 2 is good, since in this case b1>1b_{1}>1.

Now we assume that the lemma statement is proved for n=1,2,,kn=1,2, \ldots, k with k2k \geqslant 2, and prove it for n=k+1n=k+1. Recall that aka_{k} and ak1a_{k-1} are positive by the induction hypothesis.

Case 1: kk is bad.
We have bk1=1b_{k-1}=1, so ak+1=bkak+ak1ak+ak1>ak1a_{k+1}=b_{k} a_{k}+a_{k-1} \geqslant a_{k}+a_{k-1}>a_{k} \geqslant 1, as required.

Case 2: kk is good.
We already have ak>ak11a_{k}>a_{k-1} \geqslant 1 by the induction hypothesis. We consider three easy subcases.

Subcase 2.1: bk>1b_{k}>1.
Then ak+1bkakak1ak+(akak1)>ak1a_{k+1} \geqslant b_{k} a_{k}-a_{k-1} \geqslant a_{k}+\left(a_{k}-a_{k-1}\right)>a_{k} \geqslant 1.

Subcase 2.2: bk=bk1=1b_{k}=b_{k-1}=1.
Then ak+1=ak+ak1>ak1a_{k+1}=a_{k}+a_{k-1}>a_{k} \geqslant 1.

Subcase 2.3: bk=1b_{k}=1 but bk1>1b_{k-1}>1.
Then k+1k+1 is bad, and we need to prove only (a), which is trivial: ak+1=akak11a_{k+1}=a_{k}-a_{k-1} \geqslant 1.

So, in all three subcases we have verified the required relations.

Lemma 2. Assume that n>1n>1 is bad. Then there exists a j{1,2,3}j \in\{1,2,3\} such that an+jan1+j+1a_{n+j} \geqslant a_{n-1}+j+1, and an+ian1+ia_{n+i} \geqslant a_{n-1}+i for all 1i<j1 \leqslant i<j.

Proof. Recall that bn1=1b_{n-1}=1. Set
m=inf{i>0:bn+i1>1} m=\inf \left\{i>0: b_{n+i-1}>1\right\}
(possibly m=+m=+\infty ). We claim that j=min{m,3}j=\min \{m, 3\} works. Again, we distinguish several cases, according to the value of mm; in each of them we use Lemma 1 without reference.

Case 1: m=1m=1, so bn>1b_{n}>1.
Then an+12an+an1an1+2a_{n+1} \geqslant 2 a_{n}+a_{n-1} \geqslant a_{n-1}+2, as required.

Case 2: m=2m=2, so bn=1b_{n}=1 and bn+1>1b_{n+1}>1.
Then we successively get
an+1=an+an1an1+1,an+22an+1+an=2(an1+1)+an=an1+(an1+an+2)an1+4, \begin{gathered} a_{n+1}=a_{n}+a_{n-1} \geqslant a_{n-1}+1, \\ a_{n+2} \geqslant 2 a_{n+1}+a_{n}=2\left(a_{n-1}+1\right)+a_{n}=a_{n-1}+\left(a_{n-1}+a_{n}+2\right) \geqslant a_{n-1}+4, \end{gathered}
which is even better than we need.

Case 3: m>2m>2, so bn=bn+1=1b_{n}=b_{n+1}=1.
Then we successively get
an+1=an+an1an1+1,an+2=an+1+anan1+1+anan1+2,an+3an+2+an+1(an1+1)+(an1+2)an1+4, \begin{gathered} a_{n+1}=a_{n}+a_{n-1} \geqslant a_{n-1}+1, \quad a_{n+2}=a_{n+1}+a_{n} \geqslant a_{n-1}+1+a_{n} \geqslant a_{n-1}+2, \\ a_{n+3} \geqslant a_{n+2}+a_{n+1} \geqslant\left(a_{n-1}+1\right)+\left(a_{n-1}+2\right) \geqslant a_{n-1}+4, \end{gathered}
as required. \square

Lemmas 1(b) and 2 provide enough information to prove that max{an,an+1}n\max \left\{a_{n}, a_{n+1}\right\} \geqslant n for all nn and, moreover, that anna_{n} \geqslant n often enough. Indeed, assume that we have found some nn with an1n1a_{n-1} \geqslant n-1. If nn is good, then by Lemma 1(b) we have anna_{n} \geqslant n as well. If nn is bad, then Lemma 2 yields max{an+i,an+i+1}an1+i+1n+i\max \left\{a_{n+i}, a_{n+i+1}\right\} \geqslant a_{n-1}+i+1 \geqslant n+i for all 0i<j0 \leqslant i<j and an+jan1+j+1n+ja_{n+j} \geqslant a_{n-1}+j+1 \geqslant n+j; so n+jn+j is the next index to start with.

Want a route through all this instead of 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.