Maths Olympiad Prep

Library / China National Team Selection Test /8 of 46

China National Team Selection Test

Algebra Difficulty 8.2 Shortlist Prove it China

The sequence {xn}\{x_n\} is defined by x1=2x_1 = 2, x2=12x_2 = 12, xn+2=6xn+1−xnx_{n+2} = 6x_{n+1} - x_n, n=1,2,…n = 1, 2, \dots. Let pp be an odd prime number. Let qq be a prime number such that q∣xpq \mid x_p. Prove that if q≠2q \neq 2, then q≥2p−1q \ge 2p - 1.

Solution

It is easy to see
xn=122((3+22)n−(3−22)n),n=1,2,… x_n = \frac{1}{2\sqrt{2}}\left((3+2\sqrt{2})^n - (3-2\sqrt{2})^n\right), \quad n = 1, 2, \dots
Let an,bna_n, b_n be positive integers and an+bn2=(3+22)na_n + b_n\sqrt{2} = (3+2\sqrt{2})^n. Then
an−bn2=(3−22)n, a_n - b_n\sqrt{2} = (3 - 2\sqrt{2})^n,
so xn=bnx_n = b_n, and an2−2bn2=1a_n^2 - 2b_n^2 = 1, n=1,2,…n = 1, 2, \dots

Suppose q≠2q \neq 2. Since q∣xpq \mid x_p, thus q∣bpq \mid b_p, so there exists a term in {bn}\{b_n\} which is divisible by qq. Let dd be the least number such that q∣bdq \mid b_d. We have the following lemma.

Lemma For any positive integer nn, q∣bnq \mid b_n if and only if d∣nd \mid n.

Proof: For a,b,c,d∈Za, b, c, d \in \mathbb{Z}, denote a+b2≡c+d2(modq)a+b\sqrt{2} \equiv c+d\sqrt{2} \pmod{q} as a≡c(modq)a \equiv c \pmod{q} and b≡d(modq)b \equiv d \pmod{q}.

If d∣nd \mid n, write n=dun = du, then
an+bn2=(3+22)du≡adu(modq), a_n + b_n \sqrt{2} = (3 + 2\sqrt{2})^{du} \equiv a_d^u \pmod{q},
so bn≡0(modq)b_n \equiv 0 \pmod{q}.

On the other hand, if q∣bnq \mid b_n, write n=du+rn = du + r, 0≤r<d0 \le r < d. Suppose r≥1r \ge 1, from
an=(3+22)n=(3+22)du⋅(3+22)r≡adu(ar+br2)(modq), \begin{aligned} a_n &= (3 + 2\sqrt{2})^n = (3 + 2\sqrt{2})^{du} \cdot (3 + 2\sqrt{2})^r \\ &\equiv a_d^u (a_r + b_r\sqrt{2}) \pmod{q}, \end{aligned}
we have
adubr≡0(modq).1◯ a_d^u b_r \equiv 0 \pmod{q}. \qquad \textcircled{1}
But ad2−2bd2=1a_d^2 - 2b_d^2 = 1, and q∣bdq \mid b_d; so q∤ad2q \nmid a_d^2. Since qq is a prime, therefore q∤adq \nmid a_d, and (q,adu)=1(q, a_d^u) = 1. From (1) we have q∣brq \mid b_r, it contradicts the definition of dd. So r=0r = 0, and the lemma is proven.

Now, as qq is a prime, so q∣(qi)q \mid \binom{q}{i}, i=1,2,…,q−1i = 1, 2, \dots, q-1.

Using Fermat's little theorem, we have
3q≡3(modq),2q≡2(modq). 3^q \equiv 3 \pmod{q}, \quad 2^q \equiv 2 \pmod{q}.
As q≠2q \neq 2, so 2q−12≡±1(modq)2^{\frac{q-1}{2}} \equiv \pm 1 \pmod{q}, we get
(3+22)q=∑i=0q(qi)⋅3q−i(22)i≡3q+(22)q=3q+2q⋅2q−122≡3±22(modq). \begin{aligned} (3+2\sqrt{2})^q &= \sum_{i=0}^{q} \binom{q}{i} \cdot 3^{q-i} (2\sqrt{2})^i \\ &\equiv 3^q + (2\sqrt{2})^q \\ &= 3^q + 2^q \cdot 2^{\frac{q-1}{2}} \sqrt{2} \\ &\equiv 3 \pm 2\sqrt{2} \pmod{q}. \end{aligned}
By the same argument, we have
(3+22)q2≡(3±22)q≡3+22(modq). (3+2\sqrt{2})^{q^2} \equiv (3 \pm 2\sqrt{2})^q \equiv 3+2\sqrt{2} \pmod{q}.
So
(aq2−1+2bq2−1)(3+22)≡3+22(modq). (a_{q^2-1} + \sqrt{2}b_{q^2-1})(3 + 2\sqrt{2}) \equiv 3 + 2\sqrt{2} \pmod{q}.
Thus,
{3aq2−1+4bq2−1≡3(modq),2aq2−1+3bq2−1≡2(modq). \begin{cases} 3a_{q^2-1} + 4b_{q^2-1} \equiv 3 \pmod{q}, \\ 2a_{q^2-1} + 3b_{q^2-1} \equiv 2 \pmod{q}. \end{cases}
We know that q∣bq2−1q \mid b_{q^2-1}.

Since q∣bpq \mid b_p, from the lemma, we have d∣pd \mid p. So d∈{1,p}d \in \{1, p\}, and if d=1d = 1, then q∣b1=2q \mid b_1 = 2, contradiction! So d=pd = p, hence q∣bq2−1q \mid b_{q^2-1}. So p∣q2−1p \mid q^2-1, thus p∣q−1p \mid q-1 or p∣q+1p \mid q+1. Since q−1q-1 and q+1q+1 are even, so q≥2p−1q \ge 2p-1.

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.