This question is looking like an easy one but I have been trying to solve it for the last couple days and I haven't been able to prove it - so I need some help.
The question: Let $p$ be a prime number, $p\equiv 5 \pmod{6}$ prove that for every $k \in \Bbb Z$ there is $0 \le x \le p-1$ such as $x^3\equiv k \pmod{p}$.
I thought to prove it with induction but it didn't work, although I still sure this is the right way.
Thanks for your help
If $k \bmod p=0$, then $x=0$ is a solution to $x^3\equiv k\pmod p$.
Otherwise, can you show that $x=k^{(2p-1)/3} \bmod p$ is a solution?
(Note that $p\bmod6=5\implies p\bmod3=2\implies (2p-1)/3$ is an integer.)