I am trying to show that if $p \equiv 2 \pmod{3}$, then for any $a \in \mathbb{Z}$ the congruence equation $$ x^3 \equiv a^2 - 7 \pmod{p} $$ has a solution.
I was thinking that if the equation $x^3 - a^2 + 7 = 0$ does not have any solutions modulo $p$, then it is irreducible over $\mathbb{Z}_p$ and hence must be an irreducible factor of the polynomial $x^{p^3} - x$ over $\mathbb{Z}_p$. It seems that comparing coefficients of $x$ might then lead to a contradiction but I haven't been successful in doing this.
Any hints or suggestions as to how to proceed will be highly appreciated.