Problem

Source: St. Petersburg 2023 11.1

Tags: algebra



Let $f(x), g(x)$ be real polynomials of degrees $2$ and $3$, respectively. Could it happen that $f(g(x))$ has $6$ distinct roots, which are powers of $2$?