Problem

Source: St. Petersburg 2016 10.7

Tags: algebra, polynomial, Integer Polynomial, Integer



A polynomial $P(x)$ with integer coefficients and a positive integer $a>1$, are such that for all integers $x$, there exists an integer $z$ such that $aP(x)=P(z)$. Find all such pairs of $(P(x),a)$.