Let $f$ be an entire function whose square $f^2$ is a polynomial. Then is $f$ a polynomial as well?
I think due to the Great Picard Theorem, since $f$ cannot assume any complex value infinitely many times, it is forced to be a polynomial. Is my argument correct?
Also if $f$ is an entire function such that $f(f(z))$ is a polynomial, the same reasoning with the Great Picard Theorem shows that $f$ is again forced to be a polynomial.
Would anyone please give me a comment on my argument?