My teacher gave me the following lemma to prove :
Let $P(x)$ be a polynomial with integer coefficients. If some integer $t$ satisfies $$P(P((...P(t)...))) =t$$ for some number of iterations, then prove that $t$ should either satisfy $P(t)=t$ or $P(P(t)) = t$.
$(t \in \mathbb{Z})$
I have tried some usual approaches but failed. My teacher told me that this lemma is related to some IMO problem of the year 2005 or 2006. So I expect some clever and ingenious proof. I have tried my best but it does not yield.
Can anyone help me to prove this conundrum ?
Any help will be gratefully acknowledged.
Thanks in Advance ! :-)