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.

A046009 Discriminants of imaginary quadratic fields with class number 12 (negated).

Original entry on oeis.org

231, 255, 327, 356, 440, 516, 543, 655, 680, 687, 696, 728, 731, 744, 755, 804, 888, 932, 948, 964, 984, 996, 1011, 1067, 1096, 1144, 1208, 1235, 1236, 1255, 1272, 1336, 1355, 1371, 1419, 1464, 1480, 1491, 1515, 1547, 1572, 1668, 1720, 1732
Offset: 1

Views

Author

Keywords

Comments

206 discriminants in this sequence (almost certainly but not proved).

Crossrefs

Programs

  • Mathematica
    Reap[ For[n = 1, n < 2000, n++, s = Sqrt[-n]; If[ NumberFieldClassNumber[s] == 12, d = -NumberFieldDiscriminant[s]; Print[d]; Sow[d]]]][[2, 1]] // Union (* Jean-François Alcover, Oct 05 2012 *)
  • PARI
    ok(n)={isfundamental(-n) && qfbclassno(-n) == 12} \\ Andrew Howroyd, Jul 24 2018
    
  • Sage
    [n for n in (1..3000) if is_fundamental_discriminant(-n) and QuadraticField(-n, 'a').class_number()==12] # G. C. Greubel, Mar 01 2019