This question was asked in a masters exam for which I am preparing and I was unable to think about it. So, I am asking it here.
Question: Let f be a continuous function from $\mathbb{C} \to \mathbb{C} $ such that $f(z^2+2z-6) $ is an entire function. Show that f is an entire function.
As fog is entire where g is $ z^2+2z-6$ . So,$ (f'og )\times g' $ exists for all but how can I use it to verify analyticity of f?
Please help.
Thanks!!