Maths Olympiad Prep

Library / /10 of 32

, 2010

Number theory Difficulty 5.0 AIME Prove it Estonia

Find all positive integers nn such that 1+22+33+4n1 + 2^2 + 3^3 + 4^n is a perfect square.

Solutions — 3

Solution 1

Let 1+22+33+4n=x21 + 2^2 + 3^3 + 4^n = x^2. This implies 32=x24n32 = x^2 - 4^n or, equivalently, 25=(x2n)(x+2n)2^5 = (x - 2^n)(x + 2^n). As the l.h.s. is a power of 2, the factors in the r.h.s. are of the form x2n=2ax - 2^n = 2^a and x+2n=25ax + 2^n = 2^{5-a} where aa is 0, 1 or 2. Subtracting the first of the two equalities from the second gives 2n+1=25a2a2^{n+1} = 2^{5-a} - 2^a. This leads to an integral nn only if a=2a = 2; then n=1n = 1. A check shows that 1+22+33+41=621 + 2^2 + 3^3 + 4^1 = 6^2 indeed.

Solution 2

Observe that 1+22+33+4n=32+4n=25+22n=25(1+22n5)1 + 2^2 + 3^3 + 4^n = 32 + 4^n = 2^5 + 2^{2n} = 2^5 \cdot (1 + 2^{2n-5}). If n3n \ge 3, then 2n512n - 5 \ge 1; hence 22n52^{2n-5} is an even integer and 1+22n51 + 2^{2n-5} is therefore odd. Thus in the prime factorization of the number given in the problem, the exponent of 2 is 5. As this is odd, the number cannot be a perfect square. If n=2n = 2 or n=1n = 1, then 32+4n=4832 + 4^n = 48 or 32+4n=3632 + 4^n = 36, respectively, where only the latter is a perfect square. Consequently, only n=1n = 1 is possible.

Solution 3

If n=1,2,3n = 1, 2, 3, then the given number is 36, 48, 96, respectively, where only the first is a perfect square. If n4n \ge 4, then 22n+1216+1>322 \cdot 2^n + 1 \ge 2 \cdot 16 + 1 > 32, implying (2n)2<(2n)2+32<(2n)2+22n+1=(2n+1)2(2^n)^2 < (2^n)^2 + 32 < (2^n)^2 + 2 \cdot 2^n + 1 = (2^n + 1)^2. As the number under question is equal to (2n)2+32(2^n)^2 + 32, it falls between two consecutive perfect squares, hence cannot be a perfect square itself.

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.