Problem

Source: VIII International Festival of Young Mathematicians Sozopol 2017, Theme for 10-12 grade

Tags: algebra, Polynomials



Find all polynomials $P\in \mathbb{R}[x]$, for which $P(P(x))=\lfloor P^2 (x)\rfloor$ is true for $\forall x\in \mathbb{Z}$.