So, if we know that $a\equiv b\pmod n $ under what circumstances can we say that:
$${x^a}\equiv {x^b}\pmod n$$
It seems through experimental evidence that this works for $n=10$, but does it work for all $a,b,x$ when $n=10$? What about other values for $n$?