Modular Arithmeticmedium
0:00.0

Which condition is required for axb(modn)ax \equiv b \pmod{n} to have exactly gcd(a,n)\gcd(a, n) solutions?