Find all polynomial $P$ satisfying $P(x^2+1)=P(x)^2+1$
Attemp: I haven't proved it, but i suspect that this are all of them: $p(x) \equiv \frac{1+i\sqrt{3}}{2}$
$p(x) \equiv \frac{1-i\sqrt{3}}{2}$
and all the iterations of $x^2+1$:
$p(x)=x$
$p(x)=x^2+1$
$p(x)=(x^2+1)^2+1$
$p(x) = ((x^2+1)^2+1)^2+1$ :