MathCastle
Number TheoryHardFermat, Euler and Wilson

Fermat, Euler and Wilson · Hard problem

Find the remainder when 3663^{66} is divided by 1010.