Nontrivial square root of unity modulo an integer

ID: nontrivial-square-root-of-unity-modulo-an-integer

For an odd integer , a nontrivial square root of unity modulo is a residue with and . Then both and are proper divisors. For , works: , , and .
A congruence of squares with converts to this form by , using a modular multiplicative inverse. In the example, , so . It yields and . Nontriviality requires mixed sign choices across prime factors, which an odd prime number modulus cannot provide.

New to topics? Read the docs here!