I'm trying to solve the following
Determine if $a^3=-9$ is solvable in $\mod 31$ and in $\mod 11$.
So I did the following, for $a^3-9$ we have that $$a^3=-9=22\mod31$$
from there I'm not quite sure how to continue. I know that for that it must happen that $$a^3=22+31k$$ with $k\in\mathbb{Z}$, but I'm lost from here.
So my question is, what I need to do in order to find the solution or that there is no solution for $a$?