MathCastle
Number TheoryChallengeOrders and Primitive Roots

Orders and Primitive Roots · Challenge problem

What is the smallest positive nn with 2n≡−1(mod125)2^n \equiv -1 \pmod{125}?