Maths Olympiad Prep

Library / International Mathematical Olympiad /74 of 110

International Mathematical Olympiad

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+an−1, if bn−1=1anbn−an−1, if bn−1>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 an⩾1a_{n} \geqslant 1 for all n⩾1n \geqslant 1.

Proof. Let us suppose otherwise in order to obtain a contradiction. Let
n⩾1 be the smallest integer with an⩽0.  \begin{equation*} n \geqslant 1 \text{ be the smallest integer with } a_{n} \leqslant 0 \text{. } \tag{1} \end{equation*}
Note that n⩾2n \geqslant 2. It follows that an−1⩾1a_{n-1} \geqslant 1 and an−2⩾0a_{n-2} \geqslant 0. Thus we cannot have an=an−1bn−1+an−2a_{n}= a_{n-1} b_{n-1}+a_{n-2}, so we must have an=an−1bn−1−an−2a_{n}=a_{n-1} b_{n-1}-a_{n-2}. Since an⩽0a_{n} \leqslant 0, we have an−1⩽an−2a_{n-1} \leqslant a_{n-2}. Thus we have an−2⩾an−1⩾ana_{n-2} \geqslant a_{n-1} \geqslant a_{n}.

Let
r be the smallest index with ar⩾ar+1⩾ar+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 r⩽n−2r \leqslant n-2 by the above, but also r⩾2r \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 ar−1<ara_{r-1}<a_{r}. And since 2⩽r⩽n−22 \leqslant r \leqslant n-2, by the minimal choice (1) of nn we have ar−1,ar,ar+1>0a_{r-1}, a_{r}, a_{r+1}>0. In order to have ar+1⩾ar+2a_{r+1} \geqslant a_{r+2}, we must have ar+2=ar+1br+1−ara_{r+2}=a_{r+1} b_{r+1}-a_{r} so that br⩾2b_{r} \geqslant 2. Putting everything together, we conclude that
ar+1=arbr±ar−1⩾2ar−ar−1=ar+(ar−ar−1)>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 n⩾2n \geqslant 2. There are two cases:

Case 1: bn−1=1b_{n-1}=1.

Then an+1=anbn+an−1a_{n+1}=a_{n} b_{n}+a_{n-1}. By the inductive assumption one of an−1,ana_{n-1}, a_{n} is at least n−1n-1 and the other, by the lemma, is at least 1. Hence
an+1=anbn+an−1⩾an+an−1⩾(n−1)+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: bn−1>1b_{n-1}>1.

Since we defined b0=1b_{0}=1 there is an index rr with 1⩽r⩽n−11 \leqslant r \leqslant n-1 such that
bn−1,bn−2,…,br⩾2 and br−1=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+ar−1⩾2ar+ar−1a_{r+1}=a_{r} b_{r}+a_{r-1} \geqslant 2 a_{r}+a_{r-1}. Thus ar+1−ar⩾ar+ar−1a_{r+1}-a_{r} \geqslant a_{r}+a_{r-1}.

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

Since r⩾1r \geqslant 1 and, by the lemma, ar⩾1a_{r} \geqslant 1, from ar+1−ar⩾ra_{r+1}-a_{r} \geqslant r we get the following two inequalities:
ar+1⩾r+1 and ar+1>ar. a_{r+1} \geqslant r+1 \quad \text{ and } \quad a_{r+1}>a_{r} .
Now observe that
am>am−1⟹am+1>am for m=r+1,r+2,…,n−1,  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=ambm−am−1⩾2am−am−1=am+(am−am−1)>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>an−1>⋯>ar+1⩾r+1⟹an⩾n 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 bn−1=1b_{n-1}=1 and bn−2>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) an⩾1a_{n} \geqslant 1 for all n>0n>0.
(b) If n>1n>1 is good, then an>an−1a_{n}>a_{n-1}.

Proof. Induction on nn. In the base cases n=1,2n=1,2 we have a1=1⩾1,a2=b1a1⩾1a_{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 k⩾2k \geqslant 2, and prove it for n=k+1n=k+1. Recall that aka_{k} and ak−1a_{k-1} are positive by the induction hypothesis.

Case 1: kk is bad.
We have bk−1=1b_{k-1}=1, so ak+1=bkak+ak−1⩾ak+ak−1>ak⩾1a_{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>ak−1⩾1a_{k}>a_{k-1} \geqslant 1 by the induction hypothesis. We consider three easy subcases.

Subcase 2.1: bk>1b_{k}>1.
Then ak+1⩾bkak−ak−1⩾ak+(ak−ak−1)>ak⩾1a_{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=bk−1=1b_{k}=b_{k-1}=1.
Then ak+1=ak+ak−1>ak⩾1a_{k+1}=a_{k}+a_{k-1}>a_{k} \geqslant 1.

Subcase 2.3: bk=1b_{k}=1 but bk−1>1b_{k-1}>1.
Then k+1k+1 is bad, and we need to prove only (a), which is trivial: ak+1=ak−ak−1⩾1a_{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+j⩾an−1+j+1a_{n+j} \geqslant a_{n-1}+j+1, and an+i⩾an−1+ia_{n+i} \geqslant a_{n-1}+i for all 1⩽i<j1 \leqslant i<j.

Proof. Recall that bn−1=1b_{n-1}=1. Set
m=inf⁡{i>0:bn+i−1>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+1⩾2an+an−1⩾an−1+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+an−1⩾an−1+1,an+2⩾2an+1+an=2(an−1+1)+an=an−1+(an−1+an+2)⩾an−1+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+an−1⩾an−1+1,an+2=an+1+an⩾an−1+1+an⩾an−1+2,an+3⩾an+2+an+1⩾(an−1+1)+(an−1+2)⩾an−1+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 an⩾na_{n} \geqslant n often enough. Indeed, assume that we have found some nn with an−1⩾n−1a_{n-1} \geqslant n-1. If nn is good, then by Lemma 1(b) we have an⩾na_{n} \geqslant n as well. If nn is bad, then Lemma 2 yields max⁡{an+i,an+i+1}⩾an−1+i+1⩾n+i\max \left\{a_{n+i}, a_{n+i+1}\right\} \geqslant a_{n-1}+i+1 \geqslant n+i for all 0⩽i<j0 \leqslant i<j and an+j⩾an−1+j+1⩾n+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,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.