MathCastle
Number TheoryEasyFermat, Euler and Wilson

Fermat, Euler and Wilson · Easy problem

Use Fermat's Little Theorem to find the remainder when 4334^{33} is divided by 1111.