Maths Olympiad Prep

Library / /32 of 45

, 2008

Number theory Difficulty 6.1 National olympiad Prove it Slovenia

Find the smallest possible value of the expression 54m+3n2|5^{4m+3} - n^2|, given that mm and nn are non-negative integers.

Solution

Assume that n254m+3>0n^2 - 5^{4m+3} > 0. If n254m+3=1n^2 - 5^{4m+3} = 1, then 54m+3=n21=(n1)(n+1)5^{4m+3} = n^2 - 1 = (n-1)(n+1). Since nn is obviously even the numbers n1n-1 and n+1n+1 must be coprime, which implies n1=1n-1 = 1 and n+1=54m+3n+1 = 5^{4m+3}. This is not possible. If nn is divisible by 55, then n254m+35n^2 - 5^{4m+3} \ge 5, if nn is of the form n=5k±1n = 5k \pm 1, then

n254m+31(mod5)n^2 - 5^{4m+3} \equiv 1 \pmod{5}, and if n=5k±2n = 5k \pm 2, then n254m+34(mod5)n^2 - 5^{4m+3} \equiv 4 \pmod{5}. Since none of the remainders are equal to 22 or 33 and n254m+3>1n^2 - 5^{4m+3} > 1, we conclude that n254m+34n^2 - 5^{4m+3} \ge 4.

Now, assume 54m+3n2>05^{4m+3} - n^2 > 0. This number cannot be equal to either 22 or 33. We can see this by considering the remainders modulo 55, because 54m+3n25^{4m+3} - n^2 is either divisible by 55 (and hence greater than or equal to 55), or nn has the form n=5k±1n = 5k \pm 1 or n=5k±2n = 5k \pm 2. So, either 54m+3n214(mod5)5^{4m+3} - n^2 \equiv -1 \equiv 4 \pmod{5} or 54m+3n241(mod5)5^{4m+3} - n^2 \equiv -4 \equiv 1 \pmod{5}.

Assume there exist mm and nn such that 54m+3n2=15^{4m+3} - n^2 = 1. We can rewrite the equation as
n2=54m+31=(51)(54m+2+54m+1++5+1)==4(54m+2+54m+1++5+1). \begin{aligned} n^2 &= 5^{4m+3} - 1 = (5-1)(5^{4m+2} + 5^{4m+1} + \dots + 5 + 1) = \\ &= 4(5^{4m+2} + 5^{4m+1} + \dots + 5 + 1). \end{aligned}
This implies that 54m+2+54m+1++5+15^{4m+2} + 5^{4m+1} + \dots + 5 + 1 is a perfect square. If it is equal to l2l^2, then (l1)(l+1)=5(54m+1+54++5+1)(l-1)(l+1) = 5(5^{4m+1} + 5^4 + \dots + 5 + 1). Let us consider the expression 54m+1+54++5+15^{4m+1} + 5^4 + \dots + 5 + 1 modulo 44. We have
54m+1+54++5+11+1++1+1(4m+2)2(mod4), 5^{4m+1} + 5^4 + \dots + 5 + 1 \equiv 1 + 1 + \dots + 1 + 1 \equiv (4m + 2) \equiv 2 \pmod{4},
since there are 4m+24m + 2 summands in the sum. This sum is therefore divisible by 22 but not by 44. So, (l1)(l+1)(l-1)(l+1) is even. On the other hand, l1l-1 and l+1l+1 have the same parity, so (l1)(l+1)(l-1)(l+1) is divisible by 44, a contradiction. The numbers mm and nn such that 54m+3n2=15^{4m+3} - n^2 = 1 do not exist.

We have shown that n254m+3n^2 - 5^{4m+3} and 54m+3n25^{4m+3} - n^2 cannot be equal to 00, 11, 22 or 33, so the smallest possible value of 54m+3n2|5^{4m+3} - n^2| is 44 and this value is attained when n=11n=11 and m=0m=0, for example.

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.