Maths Olympiad Prep

Library / Hrvatska /4 of 8

Hrvatska, 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 y∈Z∖{−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,−y−1)(x, -y-1) is also the solution since y2+y=(−y−1)2+(−y−1)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=(y−x)(x+y+1). x^3 = (y - x)(x + y + 1).
Let us prove that gcd⁡(y−x,x+y+1)=1\gcd(y - x, x + y + 1) = 1. Assume the contrary, let pp be the common prime divisor of the numbers y−xy - x and x+y+1x + y + 1.

From the above we conclude that p∣x3p \mid x^3 and hence p∣xp \mid x. Now we have:
p∣y−x,p∣x+y+1,p∣x  ⟹  p∣(x+y+1)−(y−x)−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. y−xy - 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 y−x>0y - x > 0, which means that y−xy - x and x+y+1x + y + 1 are cubes of positive integers. Let us denote:
y−x=a3x+y+1=b3. y - x = a^3 \\ x + y + 1 = b^3.
Notice that from 2x+1>02x + 1 > 0 it follows that y−x<x+y+1y - x < x + y + 1, that is a<ba < b, i.e. b−a≥1b - a \ge 1. Subtracting the previous two equations we get 2x+1=b3−a32x + 1 = b^3 - a^3, and from above it follows x=abx = ab. Therefore, 2ab+1=b3−a32ab + 1 = b^3 - a^3. Now:
2ab+1=b3−a3=(b−a)(a2+ab+b2)≥a2+ab+b2≥3ab, 2ab + 1 = b^3 - a^3 = (b - a)(a^2 + ab + b^2) \ge a^2 + ab + b^2 \ge 3ab,
i.e. ab≤1ab \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,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

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