MathCastle
Number TheoryChallengeFermat, Euler and Wilson

Fermat, Euler and Wilson · Challenge problem

Find the remainder when 22!22! is divided by 506=22⋅23506 = 22\cdot23.