OFFSET
1,1
COMMENTS
Not to be confused with A133315, the positive discriminants of orders of quadratic fields with class number 1.
Let h(D) and h+(D) be respectively the class number and the form class number of discriminant D. Since h+(D) = h(D) if the fundamental unit has norm -1 and 2*h(D) otherwise, this sequence consists of D such that h(D) = 1 and that the fundamental unit has norm -1.
LINKS
Jianing Song, Table of n, a(n) for n = 1..10000
Rick L. Shepherd, Binary quadratic forms and genus theory, Master of Arts Thesis, University of North Carolina at Greensboro, 2013.
PROG
(PARI) QFBclassno(D) = qfbclassno(D) * if (D > 0 && quadunitnorm(D) > 0, 2, 1)
isA391423(n) = n%4 <= 1 && !issquare(n) && QFBclassno(n) == 1 \\ quadunitnorm() requires PARI-GP of version 2.15 or higher
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Jianing Song, Dec 09 2025
STATUS
approved
