MathCastle
Number TheoryMediumModular Arithmetic

Modular Arithmetic · Medium problem

Suppose n≡3(mod7)n \equiv 3 \pmod 7. Reduce n3+2nn^3 + 2n modulo 77, giving your answer as a residue from 00 to 66.