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.

A033266 Numbers n such that every genus of binary quadratic forms of discriminant -4n consists of a single class and the class number h(-4n) = 2.

Original entry on oeis.org

5, 6, 8, 9, 10, 12, 13, 15, 16, 18, 22, 25, 28, 37, 58
Offset: 1

Views

Author

Keywords

References

  • David A. Cox, "Primes of the Form x^2 + n y^2", Wiley, 1989, p. 60.
  • G. B. Mathews, Theory of Numbers, Chelsea, no date, p. 263.

Crossrefs

A subsequence of A000926.

Programs

  • PARI
    ok(n)={my(u=quadclassunit(-4*n).cyc); #u==1 && !select(t->t<>2, u)} \\ Andrew Howroyd, Jun 09 2018