Problem

Source: Kürschák 2016, problem 3

Tags: algebra, polynomial



If $p,q\in\mathbb{R}[x]$ satisfy $p(p(x))=q(x)^2$, does it follow that $p(x)=r(x)^2$ for some $r\in\mathbb{R}[x]$?