39th IMO 1998 shortlist

------
 
 
Problem N5

Find all positive integers n for which there is an integer m such that m2 + 9 is a multiple of 2n - 1.

 

Solution

Answer: n = 2k for k = 0, 1, 2, ... .

Suppose 2n - 1 divides m2 + 9 and n has an odd divisor k > 1. Then 2k - 1 divides 2n - 1 and so 2k - 1 divides m2 + 9. But 2k - 1 = 3 mod 4, so 2k - 1 must have a prime divisor p which is 3 mod 4. But 2k - 1 = (3 - 1)k - 1 = 1 mod 3, so 2k - 1 cannot be divisible by 3. So p > 3. Now m2 = -9 mod p, so 1 = mp-1 = (-9)(p-1)/2 = 3p-1(-1)odd = -1 mod p (using Fermat's theorem). Contradiction. So n cannot have an odd divisor and so must be a power of 2.

Now suppose n is a power of 2. Put n = 2k. Note that we can factorise 2n - 1 as (22 - 1)(22 + 1)(24 + 1)(28 + 1) ... (2n/2 + 1) = 3(22 + 1)(24 + 1)(28 + 1) ... (2n/2 + 1). We will find c such that (22 + 1)(24 + 1)(28 + 1) ... (2n/2 + 1) divides c2 + 1. Then 2n - 1 divides 3(c2 + 1) and hence 9(c2 + 1) = (3c)2 + 9.

The key is that (22 + 1), (24 + 1), (28 + 1), ... , (2n/2 + 1) are all relatively prime. For suppose h divides 2A + 1 and 2B + 1, where A = 2a, B = 2b and a > b. Then 2A = (2B)C, where C = 2a-b, so 2A = (2B)C = (-1)C = 1 mod h. But 2A = -1 mod h, so 1 = -1 mod h, and hence h = 1 or 2. But 2A + 1 is odd, so h must be odd and hence h = 1. Now by the Chinese Remainder theorem we can find c such that c = 2 mod (22 + 1), 22 mod (24 + 1), ... , 2n/4 mod (2n/2 + 1). Hence c2 + 1 is divisible by each of 22 + 1, 24 + 1, ... , 2n/2 + 1 and hence by their product as required.

 


 

39th IMO shortlist 1998

© John Scholes
jscholes@kalva.demon.co.uk
30 Aug 2002