Maths Olympiad Prep

Library / /4 of 8

, 2011

Number theory Difficulty 5.7 AIME, harder Prove it Croatia

Find all pairs (x,y)(x, y) of integers such that x3+x2+x=y2+yx^3 + x^2 + x = y^2 + y.

Solution

If y=0y = 0 or y=1y = -1, the right hand side of the given equation is equal to zero so x3+x2+x=x(x2+x+1)=0x^3 + x^2 + x = x(x^2 + x + 1) = 0, and hence x=0x = 0. That gives us two solutions: (0,0)(0, 0) and (0,1)(0, -1).

We shall prove that no other solutions exist.

Assume that yZ{1,0}y \in \mathbb{Z} \setminus \{-1, 0\}. Then y2+y>0y^2 + y > 0 so x(x2+x+1)>0x(x^2 + x + 1) > 0, and it follows that x>0x > 0.

If (x,y)(x, y) is the solution of the given equation, then (x,y1)(x, -y-1) is also the solution since y2+y=(y1)2+(y1)y^2 + y = (-y - 1)^2 + (-y - 1). In other words, if there are no solutions for y>0y > 0, then there are no other solutions. Therefore, we can assume that y>0y > 0.

The given equation can be written as:
x3=(yx)(x+y+1). x^3 = (y - x)(x + y + 1).
Let us prove that gcd(yx,x+y+1)=1\gcd(y - x, x + y + 1) = 1. Assume the contrary, let pp be the common prime divisor of the numbers yxy - x and x+y+1x + y + 1.

From the above we conclude that px3p \mid x^3 and hence pxp \mid x. Now we have:
pyx,px+y+1,px    p(x+y+1)(yx)2x=1, p \mid y - x, \quad p \mid x + y + 1, \quad p \mid x \quad \implies \quad p \mid (x + y + 1) - (y - x) - 2x = 1,
which means that our assumption was wrong, i.e. yxy - x and x+y+1x + y + 1 are relatively prime numbers whose product is x3x^3 so each of them is a cube of an integer. Furthermore, x3>0x^3 > 0 and x+y+1>0x + y + 1 > 0 so yx>0y - x > 0, which means that yxy - x and x+y+1x + y + 1 are cubes of positive integers. Let us denote:
yx=a3x+y+1=b3. y - x = a^3 \\ x + y + 1 = b^3.
Notice that from 2x+1>02x + 1 > 0 it follows that yx<x+y+1y - x < x + y + 1, that is a<ba < b, i.e. ba1b - a \ge 1. Subtracting the previous two equations we get 2x+1=b3a32x + 1 = b^3 - a^3, and from above it follows x=abx = ab. Therefore, 2ab+1=b3a32ab + 1 = b^3 - a^3. Now:
2ab+1=b3a3=(ba)(a2+ab+b2)a2+ab+b23ab, 2ab + 1 = b^3 - a^3 = (b - a)(a^2 + ab + b^2) \ge a^2 + ab + b^2 \ge 3ab,
i.e. ab1ab \le 1, which is clearly not possible since aa and bb are distinct positive integers. Hence, the only solutions of the given equation are (0,0)(0, 0) and (0,1)(0, -1).

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.