cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A014603 Discriminants of imaginary quadratic fields with class number 2 (negated).

Original entry on oeis.org

15, 20, 24, 35, 40, 51, 52, 88, 91, 115, 123, 148, 187, 232, 235, 267, 403, 427
Offset: 1

Views

Author

Eric Rains (rains(AT)caltech.edu)

Keywords

Comments

Includes only fundamental discriminants. The list of non-fundamental imaginary quadratic discriminants with class number 2 (negated) is 32, 36, 48, 60, 64, 72, 75, 99, 100, 112, 147. - Andrew V. Sutherland, Apr 08 2010

References

  • H. Cohen, Course in Computational Alg. No. Theory, Springer, 1993, p. 229.

Crossrefs

Programs

  • Mathematica
    Union[ (-NumberFieldDiscriminant[ Sqrt[-#]] &) /@ Select[ Range[500], NumberFieldClassNumber[ Sqrt[-#]] == 2 &]] (* Jean-François Alcover, Jan 04 2012 *)
  • PARI
    ok(n)={isfundamental(-n) && quadclassunit(-n).no == 2} \\ Andrew Howroyd, Jul 20 2018
    
  • Sage
    [n for n in (1..500) if is_fundamental_discriminant(-n) and QuadraticField(-n, 'a').class_number()==2] # G. C. Greubel, Mar 01 2019

Extensions

Offset corrected by Jianing Song, Aug 29 2018