MathCastle
Number TheoryChallengeFermat, Euler and Wilson

Fermat, Euler and Wilson · Challenge problem

What is 71234 mod 10007^{1234} \bmod 1000?