Problem

Source: APMO 2018 P5

Tags: Polynomials, algebra, APMO, number theory



Find all polynomials $P(x)$ with integer coefficients such that for all real numbers $s$ and $t$, if $P(s)$ and $P(t)$ are both integers, then $P(st)$ is also an integer.