Problem

Source: Slovenia TST 1998 p4

Tags: GCD, number theory, Diophantine equation, diophantine



Find all positive integers $x$ and $y$ such that $x+y^2+z^3 = xyz$, where $z$ is the greatest common divisor of $x$ and $y$