Maths Olympiad Prep

Library / /15 of 18

Algebra Difficulty 8.2 Shortlist Prove it Balkan Mathematical Olympiad

The sequence a0,a1,a_0, a_1, \dots is defined by the initial conditions a0=1a_0 = 1, a1=6a_1 = 6 and the recursion an+1=4anan1+2a_{n+1} = 4a_n - a_{n-1} + 2 for n>1n > 1. Prove that a2k1a_{2^k-1} has at least three prime factors for every positive integer k>3k > 3.

Solution

Consider the sequence b0,b1,b_0, b_1, \dots, defined by the initial conditions b0=1b_0 = 1, b1=2b_1 = 2, and the recursion bn+1=4bnbn1b_{n+1} = 4b_n - b_{n-1} for n1n \ge 1. We have an=bn+11a_n = b_{n+1} - 1, for all n0n \ge 0. In particular, a2k1=b2k1a_{2^k-1} = b_{2^k} - 1, k0k \ge 0. It is not hard to see that the general formula for bnb_n is
bn=(2+3)n+(23)n2,n2.(1) b_n = \frac{(2 + \sqrt{3})^n + (2 - \sqrt{3})^n}{2}, \quad n \ge 2. \qquad (1)
Let k3k \ge 3 be fixed. It follows from (1) that b2k=j=02k1(2k2j)22k2j3jb_{2^k} = \sum_{j=0}^{2^{k-1}} \binom{2^k}{2j} 2^{2^k-2j} 3^j and thus
b2k1(mod3) and b2k1(mod4).(2) b_{2^k} \equiv 1 \pmod{3} \text{ and } b_{2^k} \equiv 1 \pmod{4}. \quad (2)
It is easy to see that the terms of the sequence, defined by cn=(2+3)n(23)n23c_n = \frac{(2+\sqrt{3})^n - (2-\sqrt{3})^n}{2\sqrt{3}},
are positive integers, which satisfy bn23cn2=1b_n^2 - 3c_n^2 = 1 for all nNn \in \mathbb{N}. In particular, we have
b2k21=3c2k2.(3) b_{2k}^2 - 1 = 3c_{2k}^2. \tag{3}
Applying the identity (x2sy2s)(x2s+y2s)=(x2s+1y2s+1)(x^{2^s} - y^{2^s})(x^{2^s} + y^{2^s}) = (x^{2^{s+1}} - y^{2^{s+1}}) with x=2+3x = 2+\sqrt{3} and y=23y = 2-\sqrt{3}
for s=0,1,,k1s = 0, 1, \dots, k-1, we get
23j=0k1(2b2j)=(2+3)2k(23)2k. 2\sqrt{3} \prod_{j=0}^{k-1} (2b_{2^j}) = (2 + \sqrt{3})^{2k} - (2 - \sqrt{3})^{2k}.
Therefore,
c2k=2k+1b2b22b2k1.(4) c_{2^k} = 2^{k+1} b_2 b_{2^2} \dots b_{2^{k-1}}. \qquad (4)
It follows from (2) and (3) that
2b2k+1; and gcd(b2j,6)=1 for every j=1,2,,k1.(5) 2 \mid b_{2^k} + 1; \text{ and } \gcd(b_{2^j}, 6) = 1 \text{ for every } j = 1, 2, \dots, k-1. \quad (5)
Since b2k+12(mod3)b_{2^k} + 1 \equiv 2 \pmod{3}, by (3), (4) and (5) we have
3b2k1 and 22k+1b2k1.(6) 3 \mid b_{2^k} - 1 \text{ and } 2^{2^{k+1}} \mid b_{2^k} - 1. \qquad (6)
Now, suppose that there exists an m3m \ge 3 such that b2m1b_{2^m} - 1 has at most two prime factors. Then it follows from the relations in (2) that these prime factors must be 2 and (or) 3. Furthermore, (6) implies that we must have b2m=22m+13+1b_{2^m} = 2^{2^{m+1}} \cdot 3 + 1 (7). Therefore, by (3) we get
c2m2=b2m213=4m+1(3.4m+1).(8) c_{2^m}^2 = \frac{b_{2^m}^2 - 1}{3} = 4^{m+1}(3.4^m + 1). \qquad (8)
On the other hand, by (4) we have c2m2=4m+1j=1m1b2j2>4m+1(3c2m1+1)c_{2^m}^2 = 4^{m+1} \prod_{j=1}^{m-1} b_{2^j}^2 > 4^{m+1}(3c_{2^{m-1}}+1), and thus c2m2>4m+1(3.4m+1)c_{2^m}^2 > 4^{m+1}(3.4^m + 1) as c2m12mc_{2^{m-1}} \ge 2^m by (4). This is a contradiction to (8) and therefore a2k1a_{2^{k-1}} has at least three prime factors for every positive integer k3k \ge 3.

Alternative solution:

This approach is based on the fact that all linear sequences are periodic modulo arbitrary positive integer. We show that a2k1a_{2^{k-1}} is divisible by 22, 33, 77. Observe that if ana_n is even for some nn, then an+2=4an+1an+2a_{n+2} = 4a_{n+1} - a_n + 2 is also even. Since a1=6a_1 = 6 is even, we conclude that a2t1a_{2t-1} is even for all positive integers tt. Therefore, a2k1a_{2^{k-1}} is even.
Let bn=an(mod3)b_n = a_n \pmod{3}. Since b0=1b_0 = 1 and b1=0b_1 = 0, it follows by induction that b2t=1b_{2t} = 1 and b2t+1=0b_{2t+1} = 0. Hence, b2k1=0b_{2^{k-1}} = 0, i.e. a2k1a_{2^{k-1}} is divisible by 33.
Let cn=an(mod7)c_n = a_n \pmod{7}. We have
c0=1, c1=1, c2=3, c3=2, c4=3, c5=1, c6=1, c7=0, c8=1, c9=1. c_0 = 1,\ c_1 = -1,\ c_2 = -3,\ c_3 = -2,\ c_4 = -3,\ c_5 = -1,\ c_6 = 1,\ c_7 = 0,\ c_8 = 1,\ c_9 = -1.
Since c0=1c_0 = 1, c1=1c_1 = -1 and c8=1c_8 = 1, c9=1c_9 = -1, we conclude that the sequence c1,c2,c_1, c_2, \dots is periodic with period 88. It follows from c7=0c_7 = 0 that c7+8t=0c_{7+8t} = 0 for all positive integers tt. It remains to notice that 2k1=7+8(2k31)2^k - 1 = 7 + 8(2^{k-3} - 1), implying that c2k1=0c_{2^{k-1}} = 0. Therefore, a2k1a_{2^{k-1}} is divisible by 77.

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.