MathCastle
Number TheoryChallengeOrders and Primitive Roots

Orders and Primitive Roots · Challenge problem

What is the smallest positive integer nn with 7n≡1(mod1000)7^n \equiv 1 \pmod{1000}?