Suppose $p\in\mathbb{Z}$ is prime and $\mathbb{F}_p:=\mathbb{Z}/p\mathbb{Z}$ is the finite field of size $p$. Now, consider the map: $$f:\mathbb{F}_p \to \mathbb{F}_p$$ given by $f(x)=x^3$. Then,
(1) What are the values of $p$ for which $f$ is bijective ?
(2) What are the values of $p$ for which $f$ is injective/surjective ?
EDIT: I came up with this problem while I was trying to count the number of solutions $x^3+y^3=z^3$ over $\mathbb{F}_p$. Now, if we can show that $x\mapsto x^3$ is bijective, then this reduces to count the number of solutions of $x+y=z$, which is relatively easy. And injectivity or surjectivity would have given some bounds on the number of solutions in terms of the the number of solutions of the latter.
A map between finite sets of same cardinality is injective, iff its bijective, iff its surjective. So $(1)\Leftrightarrow (2)$.
Also $f(0)=0$. Hence, it suffices to examine surjectivity on $\mathbb F_p^*$. Since this group is cyclic, we have a primitive root $g$.