$3^{10^{100}} \pmod {13}$
It was originally $(10^{100})^{(10^{100})}$ (i.e. googol^googol), but I simplified it down to what I have there. However, I can't seem to reduce the exponent without changing the value of the entire expression.
I was thinking of making it $3^{10\cdot 10^{99}}$, but that doesn't seem to retain the original value of the expression, and even if it did, I don't think I can separate the two terms into $(3^{10})^{10^{99}}$...
Any pointers?
Note that $3^3 \equiv 1 \pmod{13}$, so you need only to reduce the exponent modulo $3$.
$$10^{100} \equiv 1^{100} \equiv 1 \pmod{3},$$
s0
$$3^{10^{100}} \equiv 3^1 \equiv 3 \pmod{13}.$$