properties of certain semigroup action on $\mathbb{Z}/p\mathbb{Z}$

41 Views Asked by At

Suppose we have a polynomial $f \in \mathbb{Z}/p\mathbb{Z}[x]$, $f(x) = x^2 - x$. We are interested in elements $n \in \mathbb{Z}/p\mathbb{Z}$ such that after repeated application of f they eventually hit 0. Can we characterize them nicely depending on $p$?