Problem

Source: Moscow Olympiad 2018, Grade 11, P3

Tags: algebra, polynomial



Are there such natural $n$, that exist polynomial of degree $n$ and with $n$ different real roots, and a) $P(x)P(x+1)=P(x^2)$ b) $P(x)P(x+1)=P(x^2+1)$