Problem

Source: USA January TST for IMO 2013, Problem 4

Tags: algebra, polynomial, function, abstract algebra, number theory, Polynomials



Determine if there exists a (three-variable) polynomial $P(x,y,z)$ with integer coefficients satisfying the following property: a positive integer $n$ is not a perfect square if and only if there is a triple $(x,y,z)$ of positive integers such that $P(x,y,z) = n$.