Problem

Source: Iran TST 2008

Tags: algebra, polynomial, function, limit, search, number theory, relatively prime



Find all polynomials $ p$ of one variable with integer coefficients such that if $ a$ and $ b$ are natural numbers such that $ a + b$ is a perfect square, then $ p\left(a\right) + p\left(b\right)$ is also a perfect square.