Does there exist an entire function satisying $f(z)=z$ for $|z|=1$ and $f(z)=z^2$ for $|z|=2$?
I think no, but what argument would do here? Would it be maximum modulus or Liouville theorem? A counterexample should involve power series, I think? Any hints? Thanks beforehand.
If $f(z)=z$ for $|z|=1$ then $f(z)-z$ is an entire function whose zeros have a limit point. This implies $f(z)=z$ for all $z$. So no such function can exist.