Olympiad Maths Prep

Track / Stage 6 / 158 of 400 #1158 of 2000

Problem 1158

National olympiad, first round
Number theory Difficulty 6.2 Prove it

Given the sequences {xn}n=0,{yn}n=0\left\{x_{n}\right\}_{n=0}^{\infty},\left\{y_{n}\right\}_{n=0}^{\infty} satisfy
x0=1,x1=4,xn+2=3xn+1xn(n=0,1,2,)y0=1,y1=2,yn+2=3yn+1yn(n=0,1,2,) \begin{array}{l} x_{0}=1, \quad x_{1}=4, \quad x_{n+2}=3 x_{n+1}-x_{n} \quad(n=0,1,2, \cdots) \text {; } \\ y_{0}=1, \quad y_{1}=2, \quad y_{n+2}=3 y_{n+1}-y_{n} \quad(n=0,1,2, \cdots) \text {. } \\ \end{array}
(1) Prove: For all non-negative integers nn, xn25yn2+4=0x_{n}^{2}-5 y_{n}^{2}+4=0;
(2) If positive integers a,ba, b satisfy a25b2+4=0a^{2}-5 b^{2}+4=0, prove: There exists a non-negative integer kk, such that xk=a,yk=bx_{k}=a, y_{k}=b.

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

Four (1) Prove by mathematical induction:
xn25yn2+4=0 and 5yn+1ynxn+1xn=6(n=0,1,2,). x_{n}^{2}-5 y_{n}^{2}+4=0 \quad \text { and } \quad 5 y_{n+1} y_{n}-x_{n+1} x_{n}=6 \quad(n=0,1,2, \cdots).

First, when n=0n=0 and n=1n=1, according to the initial values of {xn}\left\{x_{n}\right\} and {yn}\left\{y_{n}\right\}, it can be verified that equation (1) holds.
Assume that equation (1) is correct for nk+1n \leqslant k+1 (k0)(k \geqslant 0). For n=k+2n=k+2,
xk+225yk+22+4=(3xk+1xk)25(3yk+1yk)2+4=9(xk+125yk+12)+(xk25yk2)+6(5yk+1ykxk+1xk)+4=9(xk+125yk+12+4)+(xk25yk2+4)+6(5yk+1ykxk+1xk6), \begin{aligned} x_{k+2}^{2}-5 y_{k+2}^{2}+4 & =\left(3 x_{k+1}-x_{k}\right)^{2}-5\left(3 y_{k+1}-y_{k}\right)^{2}+4 \\ & =9\left(x_{k+1}^{2}-5 y_{k+1}^{2}\right)+\left(x_{k}^{2}-5 y_{k}^{2}\right)+6\left(5 y_{k+1} y_{k}-x_{k+1} x_{k}\right)+4 \\ & =9\left(x_{k+1}^{2}-5 y_{k+1}^{2}+4\right)+\left(x_{k}^{2}-5 y_{k}^{2}+4\right)+6\left(5 y_{k+1} y_{k}-x_{k+1} x_{k}-6\right), \end{aligned}

By the induction hypothesis, all three terms in the above equation are 0, so xk+225yk+22+4=0x_{k+2}^{2}-5 y_{k+2}^{2}+4=0,
5yk+3yk+2xk+3xk+26=5(3yk+2yk+1)yk+2(3xk+2xk+1)xk+26=3(5yk+22xk+22)(5yk+2yk+1xk+2xk+1)6=3(xk+225yk+22+4)(5yk+2yk+1xk+2xk+16), \begin{array}{l} 5 y_{k+3} y_{k+2}-x_{k+3} x_{k+2}-6 \\ =5\left(3 y_{k+2}-y_{k+1}\right) y_{k+2}-\left(3 x_{k+2}-x_{k+1}\right) x_{k+2}-6 \\ =3\left(5 y_{k+2}^{2}-x_{k+2}^{2}\right)-\left(5 y_{k+2} y_{k+1}-x_{k+2} x_{k+1}\right)-6 \\ =-3\left(x_{k+2}^{2}-5 y_{k+2}^{2}+4\right)-\left(5 y_{k+2} y_{k+1}-x_{k+2} x_{k+1}-6\right), \end{array}

By the induction hypothesis, both terms in the above equation are 0, so 5yk+3yk+2xk+3xk+2=05 y_{k+3} y_{k+2}-x_{k+3} x_{k+2}=0. Thus, equation (1) holds for n=k+2n=k+2.
Therefore, equation (1) holds for all non-negative integers nn. So, for all non-negative integers nn, we have xn25yn2+4=0x_{n}^{2}-5 y_{n}^{2}+4=0.
(2) Proof by contradiction. Assume there exist positive integers a,ba, b such that a25b2+4=0a^{2}-5 b^{2}+4=0, but there does not exist a non-negative integer kk such that xk=a,yk=bx_{k}=a, y_{k}=b, and assume that a,ba, b are the smallest such numbers.
We will prove that (3a5b2,3ba2)\left(\frac{3 a-5 b}{2}, \frac{3 b-a}{2}\right) is also a pair of positive integers satisfying the conditions.
First, a2b2=4(b21)a^{2}-b^{2}=4\left(b^{2}-1\right) is even, so aa and bb have the same parity, and 3a3 a and 5b,3b5 b, 3 b and aa have the same parity, respectively, so 3a5b2Z,3ba2Z\frac{3 a-5 b}{2} \in \mathbf{Z}, \frac{3 b-a}{2} \in \mathbf{Z}. Clearly, if one of a,ba, b is 1, then the other is also 1. This is the first term of {xn}\left\{x_{n}\right\} and {yn}\left\{y_{n}\right\}, which does not satisfy the assumption, so a2,b2a \geqslant 2, b \geqslant 2.

Combining 3a5b2>0\frac{3 a-5 b}{2}>0 (otherwise a53bb21.8a \leqslant \frac{5}{3} b \Rightarrow b^{2} \leqslant 1.8, contradiction), 3ba2>0\frac{3 b-a}{2}>0 (otherwise a3bb21a \geqslant 3 b \Rightarrow b^{2} \leqslant-1, contradiction), we have 3a5b2N,3ba2N\frac{3 a-5 b}{2} \in \mathbf{N}^{*}, \frac{3 b-a}{2} \in \mathbf{N}^{*}.

And (3a5b2)25(3ba2)2+4=a25b2+4=0\left(\frac{3 a-5 b}{2}\right)^{2}-5\left(\frac{3 b-a}{2}\right)^{2}+4=a^{2}-5 b^{2}+4=0, so (3a5b2,3ba2)\left(\frac{3 a-5 b}{2}, \frac{3 b-a}{2}\right) is also a pair of numbers satisfying the conditions.

By 3a5b2<a\frac{3 a-5 b}{2}<a (otherwise a5bb215a \geqslant 5 b \Rightarrow b^{2} \leqslant-\frac{1}{5}, contradiction), 3a5b2\frac{3 a-5 b}{2} is a number in {xn}\left\{x_{n}\right\}, otherwise (3a5b2,3ba2)\left(\frac{3 a-5 b}{2}, \frac{3 b-a}{2}\right) is also a pair of positive integers satisfying the conditions, which contradicts the minimality of aa. So there exists a non-negative integer kk such that xk=3a5b2x_{k}=\frac{3 a-5 b}{2}.
The characteristic equation of {xn}\left\{x_{n}\right\} and {yn}\left\{y_{n}\right\} is the same, t23t+1=0t^{2}-3 t+1=0, with roots t1,2=3±52t_{1,2}=\frac{3 \pm \sqrt{5}}{2}, so xnx_{n} and yny_{n} both have the form A(3+52)n+B(352)nA \cdot\left(\frac{3+\sqrt{5}}{2}\right)^{n}+B \cdot\left(\frac{3-\sqrt{5}}{2}\right)^{n}. Using the initial values x0=y0=1,x1=4,y1=2x_{0}=y_{0}=1, x_{1}=4, y_{1}=2, we determine the coefficients by undetermined coefficients, and get
xn=1+52(3+52)n+152(352)n,yn=5+510(3+52)n+5510(352)n. \begin{array}{l} x_{n}=\frac{1+\sqrt{5}}{2} \cdot\left(\frac{3+\sqrt{5}}{2}\right)^{n}+\frac{1-\sqrt{5}}{2} \cdot\left(\frac{3-\sqrt{5}}{2}\right)^{n}, \\ y_{n}=\frac{5+\sqrt{5}}{10} \cdot\left(\frac{3+\sqrt{5}}{2}\right)^{n}+\frac{5-\sqrt{5}}{10} \cdot\left(\frac{3-\sqrt{5}}{2}\right)^{n}. \end{array}

Here, n=0,1,2,n=0,1,2, \cdots. Thus,
3a5b2=xk=1+52(3+52)k+152(352)k,3ba2=yk=5+510(3+52)k+5510(352)k. \begin{array}{c} \frac{3 a-5 b}{2}=x_{k}=\frac{1+\sqrt{5}}{2} \cdot\left(\frac{3+\sqrt{5}}{2}\right)^{k}+\frac{1-\sqrt{5}}{2} \cdot\left(\frac{3-\sqrt{5}}{2}\right)^{k}, \\ \frac{3 b-a}{2}=y_{k}=\frac{5+\sqrt{5}}{10} \cdot\left(\frac{3+\sqrt{5}}{2}\right)^{k}+\frac{5-\sqrt{5}}{10} \cdot\left(\frac{3-\sqrt{5}}{2}\right)^{k}. \end{array}

That is,
a=323a5b2+523ba2=32xk+52yk,b=123a5b2+323ba2=12xk+32yk. \begin{array}{l} a=\frac{3}{2} \cdot \frac{3 a-5 b}{2}+\frac{5}{2} \cdot \frac{3 b-a}{2}=\frac{3}{2} x_{k}+\frac{5}{2} y_{k}, \\ b=\frac{1}{2} \cdot \frac{3 a-5 b}{2}+\frac{3}{2} \cdot \frac{3 b-a}{2}=\frac{1}{2} x_{k}+\frac{3}{2} y_{k}. \end{array}

Substituting and simplifying, we get
a=1+52(3+52)k+1+152(352)k+1=xk+1,b=5+510(3+52)k+1+5510(352)k+1=yk+1. \begin{array}{l} a=\frac{1+\sqrt{5}}{2} \cdot\left(\frac{3+\sqrt{5}}{2}\right)^{k+1}+\frac{1-\sqrt{5}}{2} \cdot\left(\frac{3-\sqrt{5}}{2}\right)^{k+1}=x_{k+1}, \\ b=\frac{5+\sqrt{5}}{10} \cdot\left(\frac{3+\sqrt{5}}{2}\right)^{k+1}+\frac{5-\sqrt{5}}{10} \cdot\left(\frac{3-\sqrt{5}}{2}\right)^{k+1}=y_{k+1}. \end{array}

That is, there exists t=k+1t=k+1 such that xt=a,yt=bx_{t}=a, y_{t}=b.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.