Maths Olympiad Prep

Library / /4 of 16

, 2024

Number theory Difficulty 5.5 AIME, harder Prove it Saudi Arabia

For every n=1,2,3,n = 1, 2, 3, \ldots, define an=33n1+2a_n = 3^{3^n-1} + 2. Prove that there are infinitely many prime numbers pp for which there exists a natural number nn such that pp is a divisor of ana_n.

Solution

Since ana_n is odd and is congruent to 22 modulo 33, it always has a prime divisor of the form 3h+23h + 2 for hZ+h \in \mathbb{Z}^+. Suppose by contradiction that the sequence (an)(a_n) has finitely many prime divisors, then the number of prime divisors of the form 3h+23h + 2 of the sequence is clearly also finite, let them be p1<p2<<pkp_1 < p_2 < \dots < p_k.

Setting m=p1p2pkm = p_1p_2\cdots p_k then clearly gcd(m,3)=1\gcd(m, 3) = 1, by using Euler's theorem, one can get m3φ(m)1m \mid 3^{\varphi(m)} - 1. We also have
φ(m)=(p11)(p21)(pk1) \varphi(m) = (p_1 - 1)(p_2 - 1)\cdots(p_k - 1)
is a positive integer not divisible by 33, so setting n=φ(φ(m))n = \varphi(\varphi(m)) then using Euler's theorem again, one could get
φ(m)3φ(φ(m))1=3n1. \varphi(m) \mid 3^{\varphi(\varphi(m))} - 1 = 3^n - 1.
Note that 3x13y13^x - 1 \mid 3^y - 1 where x,yx, y are positive integers such that xyx \mid y. Hence,
3φ(m)133n11. 3^{\varphi(m)} - 1 \mid 3^{3^{n-1}} - 1.
Therefore m33n11m \mid 3^{3^{n-1}} - 1. From here, it follows that
an=(33n11)+33(modm). a_n = (3^{3^{n-1}} - 1) + 3 \equiv 3 \pmod{m}.
On the other hand, clearly ana_n will have a prime divisor of the form 3h+23h + 2 so there exists ii with 1ik1 \le i \le k such that pianp_i \mid a_n. But pimp_i \mid m which implies that pi3p_i \mid 3, which is clearly a contradiction. Therefore, (an)(a_n) has infinitely many prime divisors.

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.