Maths Olympiad Prep

Track / Stage 5 / 346 of 400 #1586 of 2604

Problem 1586

AIME late
Number theory Difficulty 5.8 Prove it Twentieth IMAR Mathematical Competition · Romania

Let nn be a positive integer and let xx and yy be positive divisors of 2n2−12n^2 - 1. Prove that x+yx + y is not divisible by 2n+12n + 1.

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Next problem →

Official solution

Suppose, if possible, that x+yx + y is divisible by 2n+12n + 1. Note that 2n+12n + 1 and 2n2−12n^2 - 1 are relatively prime, as (2n−1)(2n+1)−2(2n2−1)=1(2n - 1)(2n + 1) - 2(2n^2 - 1) = 1. Hence 2n+12n + 1 is coprime to gcd⁡(x,y)\gcd(x, y), so x/gcd⁡(x,y)x/\gcd(x, y) and y/gcd⁡(x,y)y/\gcd(x, y) are coprime divisors of 2n2−12n^2 - 1 whose sum is divisible by 2n+12n + 1.

To reach a contradiction, we may and will therefore assume xx coprime to yy. Then 2n2−12n^2-1 is divisible by xyxy, say, 2n2−1=kxy2n^2-1 = kxy; write x+y=ℓ(2n+1)x+y = \ell(2n+1). Express nn from this latter and plug it into the former to get kxy=12(x+yℓ−1)2−1kxy = \frac{1}{2} \left(\frac{x+y}{\ell} - 1\right)^2 - 1; alternatively, but equivalently, 2kℓ2xy=(x+y−ℓ)2−2ℓ22k\ell^2xy = (x + y - \ell)^2 - 2\ell^2.

Fix kk and ℓ\ell to regard the above equality as an equation in positive integers xx and yy. By assumption, it has at least one solution. Consider one such with a minimal x+yx + y. Without loss of generality, assume x≥yx \ge y.

Rewrite the equation as a quadratic in xx, x2+2(y−ℓ−kℓ2y)x+(y−ℓ)2−2ℓ2=0x^2+2(y-\ell-k\ell^2y)x+(y-\ell)^2-2\ell^2=0, and consider the other root x′x'. Then x+x′=2(kℓ2y−y+ℓ)x+x'=2(k\ell^2y-y+\ell) and xx′=(y−ℓ)2−2ℓ2xx' = (y-\ell)^2-2\ell^2. The former shows that x′x' is also integer. The latter implies x′<0x' < 0: Clearly, x′≠0x' \ne 0, as (y−ℓ)2=2ℓ2(y-\ell)^2 = 2\ell^2 cannot hold in integers; and if x′>0x' > 0, then x′y≤xx′=(y−ℓ)2−2ℓ2=y2−ℓ(2y+ℓ)<y2x'y \le xx' = (y-\ell)^2 - 2\ell^2 = y^2 - \ell(2y+\ell) < y^2, so x′<yx' < y, whence x′+y<2y≤x+yx' + y < 2y \le x + y, contradicting the minimality of x+yx + y.

Thus, (y−ℓ)2<2ℓ2(y-\ell)^2 < 2\ell^2 and xx divides 2ℓ2−(y−ℓ)22\ell^2 - (y-\ell)^2, so x≤2ℓ2x \le 2\ell^2. On the other hand, as x′x' is negative, x>x+x′=2((kℓ2−1)y+ℓ)≥2(ℓ2+ℓ−1)≥2ℓ2x > x + x' = 2((k\ell^2 - 1)y + \ell) \ge 2(\ell^2 + \ell - 1) \ge 2\ell^2. This is a contradiction, so the sum x+yx + y is not divisible by 2n+12n + 1, as required.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.