MathCastle
Number TheoryMediumModular Arithmetic

Modular Arithmetic · Medium problem

Find the integer xx with 1≤x<311 \le x < 31 such that 18x≡1(mod31)18x \equiv 1 \pmod{31}.