Olympiad Maths Prep

Track / Stage 9 / 35 of 80 #1915 of 2000

Problem 1915

IMO P2/P5; hard shortlist
Algebra Difficulty 9.1 Prove it IMO Problem Shortlist · IMO

Let nn be a positive integer. Given a sequence ε1,,εn1\varepsilon_{1}, \ldots, \varepsilon_{n-1} with εi=0\varepsilon_{i}=0 or εi=1\varepsilon_{i}=1 for each i=1,,n1i=1, \ldots, n-1, the sequences a0,,ana_{0}, \ldots, a_{n} and b0,,bnb_{0}, \ldots, b_{n} are constructed by the following rules:
a0=b0=1,a1=b1=7ai+1={2ai1+3ai, if εi=0,3ai1+ai, if εi=1, for each i=1,,n1,bi+1={2bi1+3bi, if εni=0,3bi1+bi, if εni=1, for each i=1,,n1 \begin{gathered} a_{0}=b_{0}=1, \quad a_{1}=b_{1}=7 \\ a_{i+1}=\left\{\begin{array}{ll} 2 a_{i-1}+3 a_{i}, & \text{ if } \varepsilon_{i}=0, \\ 3 a_{i-1}+a_{i}, & \text{ if } \varepsilon_{i}=1, \end{array}\right. \quad \text{ for each } i=1, \ldots, n-1, \\ b_{i+1}=\left\{\begin{array}{ll} 2 b_{i-1}+3 b_{i}, & \text{ if } \varepsilon_{n-i}=0, \\ 3 b_{i-1}+b_{i}, & \text{ if } \varepsilon_{n-i}=1, \end{array}\right. \text{ for each } i=1, \ldots, n-1 \end{gathered}
Prove that an=bna_{n}=b_{n}.

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

For a binary word w=σ1σnw=\sigma_{1} \ldots \sigma_{n} of length nn and a letter σ{0,1}\sigma \in\{0,1\} let wσ=σ1σnσw \sigma= \sigma_{1} \ldots \sigma_{n} \sigma and σw=σσ1σn\sigma w=\sigma \sigma_{1} \ldots \sigma_{n}. Moreover let wˉ=σnσ1\bar{w}=\sigma_{n} \ldots \sigma_{1} and let \emptyset be the empty word (of length 0 and with ˉ=\bar{\emptyset}=\emptyset ). Let (u,v)( u, v ) be a pair of two real numbers. For binary words ww we define recursively the numbers (u,v)w(u, v)^{w} as follows:
(u,v)=v,(u,v)0=2u+3v,(u,v)1=3u+v(u,v)wσε={2(u,v)w+3(u,v)wσ, if ε=03(u,v)w+(u,v)wσ, if ε=1 \begin{gathered} (u, v)^{\emptyset}=v, \quad(u, v)^{0}=2 u+3 v, \quad(u, v)^{1}=3 u+v \\ (u, v)^{w \sigma \varepsilon}= \begin{cases}2(u, v)^{w}+3(u, v)^{w \sigma}, & \text{ if } \varepsilon=0 \\ 3(u, v)^{w}+(u, v)^{w \sigma}, & \text{ if } \varepsilon=1\end{cases} \end{gathered}
It easily follows by induction on the length of ww that for all real numbers u1,v1,u2,v2,λ1u_{1}, v_{1}, u_{2}, v_{2}, \lambda_{1} and λ2\lambda_{2}
(λ1u1+λ2u2,λ1v1+λ2v2)w=λ1(u1,v1)w+λ2(u2,v2)w \begin{equation*} \left(\lambda_{1} u_{1}+\lambda_{2} u_{2}, \lambda_{1} v_{1}+\lambda_{2} v_{2}\right)^{w}=\lambda_{1}\left(u_{1}, v_{1}\right)^{w}+\lambda_{2}\left(u_{2}, v_{2}\right)^{w} \tag{1} \end{equation*}
and that for ε{0,1}\varepsilon \in\{0,1\}
(u,v)εw=(v,(u,v)ε)w \begin{equation*} (u, v)^{\varepsilon w}=\left(v,(u, v)^{\varepsilon}\right)^{w} \tag{2} \end{equation*}
Obviously, for n1n \geq 1 and w=ε1εn1w=\varepsilon_{1} \ldots \varepsilon_{n-1}, we have an=(1,7)wa_{n}=(1,7)^{w} and bn=(1,7)wˉb_{n}=(1,7)^{\bar{w}}. Thus it is sufficient to prove that
(1,7)w=(1,7)wˉ \begin{equation*} (1,7)^{w}=(1,7)^{\bar{w}} \tag{3} \end{equation*}
for each binary word ww. We proceed by induction on the length of ww. The assertion is obvious if ww has length 0 or 1. Now let wσεw \sigma \varepsilon be a binary word of length n2n \geq 2 and suppose that the assertion is true for all binary words of length at most n1n-1.
Note that (2,1)σ=7=(1,7)(2,1)^{\sigma}=7=(1,7)^{\emptyset} for σ{0,1},(1,7)0=23\sigma \in\{0,1\}, (1,7)^{0}=23, and (1,7)1=10(1,7)^{1}=10.

First let ε=0\varepsilon=0. Then in view of the induction hypothesis and the equalities (1) and (2), we obtain
(1,7)wσ0=2(1,7)w+3(1,7)wσ=2(1,7)wˉ+3(1,7)σwˉ=2(2,1)σwˉ+3(1,7)σwˉ=(7,23)σwˉ=(1,7)0σwˉ \begin{aligned} (1,7)^{w \sigma 0}&=2(1,7)^{w}+3(1,7)^{w \sigma}=2(1,7)^{\bar{w}}+3(1,7)^{\sigma \bar{w}}=2(2,1)^{\sigma \bar{w}}+3(1,7)^{\sigma \bar{w}} \\ &=(7,23)^{\sigma \bar{w}}=(1,7)^{0 \sigma \bar{w}} \end{aligned}
Now let ε=1\varepsilon=1. Analogously, we obtain
(1,7)wσ1=3(1,7)w+(1,7)wσ=3(1,7)wˉ+(1,7)σwˉ=3(2,1)σwˉ+(1,7)σwˉ=(7,10)σwˉ=(1,7)1σwˉ \begin{aligned} (1,7)^{w \sigma 1}&=3(1,7)^{w}+(1,7)^{w \sigma}=3(1,7)^{\bar{w}}+(1,7)^{\sigma \bar{w}}=3(2,1)^{\sigma \bar{w}}+(1,7)^{\sigma \bar{w}} \\ &=(7,10)^{\sigma \bar{w}}=(1,7)^{1 \sigma \bar{w}} \end{aligned}
Thus the induction step is complete, (3) and hence also an=bna_{n}=b_{n} are proved.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.