I am currently trying to solve a congruence relation with a constant and a variable, both of which have attached exponents. The relation is as follows:
$7^{95}\equiv x^{3} (mod 10)$
How does one go about solving for x when it has an attached exponent?
HINT: $3^3\equiv 7\pmod{10}$, so $7^{95}\equiv 3^{3\cdot95}\pmod{10}$.
Or you could observe that $7^2\equiv-1\pmod{10}$, so $7^4\equiv1\pmod{10}$, and easily reduce $7^{95}$ to its residue mod $10$, and then if necessary solve for the cube root by trial and error: there are only ten numbers to try, after all!