MathCastle
AIMEChallengeModular Arithmetic

Modular Arithmetic · Challenge problem

Find the remainder when 511115^{1111} is divided by 10001000.