Problem

Source: 2015 Latvia BW TST P3

Tags: polynomial, Integer Polynomial, algebra



Prove that there does not exist a polynomial $P (x)$ with integer coefficients and a natural number $m$ such that $$x^m + x + 2 = P(P(x))$$holds for all integers $x$.