Modular Arithmetichard
0:00.0

Find the smallest positive integer nn such that 2n1(mod31)2^n \equiv 1 \pmod{31}.