MathCastle
Number TheoryEasyFermat, Euler and Wilson

Fermat, Euler and Wilson · Easy problem

Use Fermat's Little Theorem to find the remainder when 31003^{100} is divided by 77.