We know about calculating $x^2\equiv 2\pmod 7$ using quadratic residue properties in order to find out whether a solution exists or not.
I wonder is there any way to determine that $x^n\equiv k\pmod v$, where $v\ge 2$, $k\in\Bbb Z$, and $n\ge 3$? As I asked in title:
Solve $x^5\equiv 4\pmod 7$
Since $x^6\equiv1\bmod 7$, invert the exponent mod $6$: $\;5\times5\equiv1\bmod 6$,
so $x^5\equiv4\bmod7\implies x\equiv x^{5\times5}\equiv4^5=1024\equiv2\bmod7.$