Problem

Source: Croatian mathematical olympiad, day 2, problem 4

Tags: number theory, relatively prime, Diophantine equation, equation



Find all pairs of integers $x,y$ for which \[x^3+x^2+x=y^2+y.\]