Maths Olympiad Prep

Library / /2 of 6

Number theory Difficulty 5.3 AIME, harder Prove it Romania

Given a positive even integer aa which is not a power of 22, prove that at least one of the numbers 22n+12^{2^n} + 1 and a2n+1a^{2^n} + 1 is composite for infinitely many non-negative integers nn.

Solution

Write fn=22n+1f_n = 2^{2^n} + 1 and an=a2n+1a_n = a^{2^n} + 1. Suppose now, if possible, that fnf_n and ana_n are both prime for all but finitely many non-negative integers nn, say, for all n>Nn > N. Clearly, we may and will assume that fn>af_n > a for all n>Nn > N.

Fix any n>Nn > N and consider the (multiplicative) order of aa modulo the prime fnf_n. By Fermat's Little Theorem, this order divides fn1=22nf_n - 1 = 2^{2^n}, so it is a power of 22, say, 2k2^k.

Thus, the prime fnf_n divides a2k1=(a2k11)ak1a^{2^k} - 1 = (a^{2^{k-1}} - 1)a_{k-1}, so it divides (at least) one of the two factors. By minimality of kk, the first factor is not divisible by fnf_n, so fnf_n divides ak1a_{k-1}. Notice that ak1fna_{k-1} \ne f_n, since aa is not a power of 22. Hence ak1a_{k-1} is composite, forcing k1Nk-1 \le N.

Consequently, the product a0a1aNa_0 a_1 \dots a_N is divisible by fnf_n for all n>Nn > N. This contradiction concludes the proof.

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 reproduced verbatim; metadata (topic, difficulty) added by this project.