Modular Arithmeticmedium
0:00.0

What is the smallest positive integer nn such that the congruence x21(modn)x^2 \equiv -1 \pmod{n} is solvable?