MathCastle
Number TheoryHardFermat, Euler and Wilson

Fermat, Euler and Wilson · Hard problem

Find the remainder when 1+3+32+33+⋯+320251 + 3 + 3^2 + 3^3 + \cdots + 3^{2025} is divided by 77.