Primes of the form p = x² + ny² : Fermat, class field theory, and complex multiplication - Cox, David A., (Pure and Applied Mathematics)