Let $q > 2$ be a prime number and consider finite field $\mathbb F_q$. I am interested in functions $f_a : \mathbb F_q \to \mathbb F_q$ defined as follows $$ f_a(x)=x^a $$
What should be a condition on $a$ (depending on $q$) so that $f_a(x)$ generates the whole $\mathbb F_q$ when $x$ iterates over $\mathbb F_q$?
For example, take $q = 7$. Then (mapping over the set) $$ f_3(\{0,1,2,3,4,5,6\}) = \{0,1,1,6,1,6,6\} \neq \mathbb F_q, $$ but $$ f_5(\{0,1,2,3,4,5,6\}) = \{0, 1, 4, 5, 2, 3, 6\} = \mathbb F_q, $$ P.S. Obviously, $a \neq 2$, because, for example $1^2 = (-1)^2$ (and $1 \neq -1$ for $q > 2$).
Partial answer:
It is enough to find the $a$'s for which $f_a$ is injective, because surjectivity follows as $\Bbb F_q$ is finite.
Let $a\in \Bbb N$ be such that $\gcd(a,q-1)=1$. Clearly $x^a=0$ iff $x=0$, since $\Bbb F_q$ is an integral domain. Now consider the cyclic group $\Bbb F_q^{\times}$. Let $x_0$ be a generator of $\Bbb F_q^{\times}$. Suppose $x^a=y^a$ for some $x,y\in \Bbb F_q^{\times}$. WLOG, take $x=x_0^m,y=x_0^n$ for some $1\le n\le m \le q-1$. Then, $x_0^{ma}=x_0^{na}\iff x_0^{(m-n)a}=1\implies (q-1)\mid (m-n)a$. Since $\gcd(a,q-1)=1$,we have $(q-1)\mid (m-n)$. As $0\le m-n \lt q-1$, we should have $m=n$ to avoid a contradiction.