How would I go about calculating this quickly without a calculator?
$| 157^{888888888888888888889} | \mod(15) $
I don't see a way to use small fermat theorem.
Eulers thing leaves me with the big number $\mod(8)$. Not that much easier.
dividing the thing up still leaves me with an array of 1s..
Hint: That big number $\mod 8$ is absurdly easy to calculate.