Determine all pairs $(P, d)$ of a polynomial $P$ with integer coefficients and an integer $d$ such that the equation $P(x) - P(y) = d$ has infinitely many solutions in integers $x$ and $y$ with $x \neq y$.
Source: SAMO 2017 Q6
Tags: algebra, polynomial, Integer Polynomial, number theory
Determine all pairs $(P, d)$ of a polynomial $P$ with integer coefficients and an integer $d$ such that the equation $P(x) - P(y) = d$ has infinitely many solutions in integers $x$ and $y$ with $x \neq y$.