Diophantine Equationsmedium
0:00.0

Find the smallest positive integer solution xx to the linear Diophantine equation 12x1(mod31)12x \equiv 1 \pmod{31}.