Suppose . Then has signature , regulator , and exactly roots of unity. The analytic class number formula becomes
Because and ,
Putting into the supplied odd-character identity yields the quadratic class number formula
For , the fundamental discriminant is and because . The quadratic residues modulo are
Therefore
The quadratic class number formula gives