Modular Arithmeticmedium
0:00.0

Let f(n)f(n) be the number of solutions to x21(modn)x^2 \equiv 1 \pmod{n}. If n=p1p2n = p_1 p_2 where p1,p2p_1, p_2 are distinct odd primes, what is the value of f(n)f(n)?