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.

A046002 Discriminants of imaginary quadratic fields with class number 5 (negated).

Original entry on oeis.org

47, 79, 103, 127, 131, 179, 227, 347, 443, 523, 571, 619, 683, 691, 739, 787, 947, 1051, 1123, 1723, 1747, 1867, 2203, 2347, 2683
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    Union[(-NumberFieldDiscriminant[Sqrt[-#]] &) /@ Select[Range[2700], NumberFieldClassNumber[Sqrt[-#]] == 5 &]] (* Jean-François Alcover, Jun 27 2012 *)
  • PARI
    select(n->qfbclassno(-n)==5,vector(670,n,4*n+3)) \\ Charles R Greathouse IV, Apr 25 2013
    
  • Sage
    [n for n in (1..3000) if is_fundamental_discriminant(-n) and QuadraticField(-n, 'a').class_number()==5] # G. C. Greubel, Mar 01 2019