Problem

Source: Indian Postal Coaching 2008 set 5 p2

Tags: polynomial, Integer Polynomial, Perfect Square, algebra



Find all polynomials $P$ with integer coefficients such that wherever $a, b \in N$ and $a+b$ is a square we have $P(a) + P(b)$ is also a square.