Maths Olympiad Prep

Library / Junior Balkan Mathematics Olympiad /5 of 15

Junior Balkan Mathematics Olympiad

Number theory Difficulty 5.6 AIME, harder Prove it JBMO

Problem:
Find all positive integers nn such that the number An=24n+2+165A_{n} = \frac{2^{4n+2} + 1}{65} is

a) an integer;

b) a prime.

Solutions — 2

Solution 1

Solution:

a) Note that 65=5⋅1365 = 5 \cdot 13.
Obviously, 5=22+15 = 2^{2} + 1 is a divisor of (22)2n+1+1=24n+2+1\left(2^{2}\right)^{2n+1} + 1 = 2^{4n+2} + 1 for any positive integer nn. Since 212≡1(mod13)2^{12} \equiv 1 \pmod{13}, if n≡r(mod3)n \equiv r \pmod{3}, then 24n+2+1≡24r+2+1(mod13)2^{4n+2} + 1 \equiv 2^{4r+2} + 1 \pmod{13}. Now, 24⋅0+2+1=52^{4 \cdot 0 + 2} + 1 = 5, 24⋅1+2+1=652^{4 \cdot 1 + 2} + 1 = 65, and 24⋅2+2+1=1025=13⋅78+112^{4 \cdot 2 + 2} + 1 = 1025 = 13 \cdot 78 + 11. Hence 1313 is a divisor of 24n+2+12^{4n+2} + 1 precisely when n≡1(mod3)n \equiv 1 \pmod{3}. Hence, AnA_{n} is an integer iff n≡1(mod3)n \equiv 1 \pmod{3}.

b) Applying the identity 4x4+1=(2x2−2x+1)(2x2+2x+1)4x^{4} + 1 = \left(2x^{2} - 2x + 1\right)\left(2x^{2} + 2x + 1\right), we have 24n+2+1=(22n+1−2n+1+1)(22n+1+2n+1+1)2^{4n+2} + 1 = \left(2^{2n+1} - 2^{n+1} + 1\right)\left(2^{2n+1} + 2^{n+1} + 1\right). For n=1n = 1, A1=1A_{1} = 1, which is not a prime. According to a), if n≠1n \neq 1, then n≥4n \geq 4. But then 22n+1+2n+1+1>22n+1−2n+1+1>652^{2n+1} + 2^{n+1} + 1 > 2^{2n+1} - 2^{n+1} + 1 > 65, and AnA_{n} has at least two factors. We conclude that AnA_{n} can never be a prime.

Solution 2

Solution:

Alternative Solution to b): Knowing that n=3k+1n = 3k + 1 in order for AnA_{n} to be an integer, 24n+2+1=212k+6+1=(24k+2)3+1=(24k+2+1)(28k+4−24k+2+1)2^{4n+2} + 1 = 2^{12k+6} + 1 = \left(2^{4k+2}\right)^{3} + 1 = \left(2^{4k+2} + 1\right)\left(2^{8k+4} - 2^{4k+2} + 1\right) (∗)\quad(*). As in the previous solution, if k=0k = 0, then A1=1A_{1} = 1, if k=1k = 1, then A4=212−26+1=4033=37⋅109A_{4} = 2^{12} - 2^{6} + 1 = 4033 = 37 \cdot 109, and for k≥2k \geq 2 both factors in (∗)(*) are larger than 6565, so A3k+1A_{3k+1} is not a prime.

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.