OFFSET
1,1
COMMENTS
Discriminants of orders of real quadratic fields with 1 class per genus in the form class group quotient by {I,-I}, where I is the principal class. (So I corresponds to the form x^2 - (D/4)*y^2 for 4|D and x^2 - x*y - ((D-1)/4)*y^2 for D == 1 (mod 4), and -I corresponds to the form (D/4)*x^2 - y^2 for 4|D and ((D-1)/4)*x^2 - x*y - y^2 for D == 1 (mod 4)).
LINKS
Jianing Song, Table of n, a(n) for n = 1..10000
PROG
(PARI) isA341419(n)={n%4<=1 && !issquare(n) && !#select(k->k<>2, quadclassunit(n).cyc)}
CROSSREFS
Sequences related to the class groups of real quadratic fields:
| Class groups | Form class groups |
-------------+-------------------------------+-------------------------------+
-------------+-------------------------------+-------------------------------+
| Exponent <= 2: this sequence | Exponent <= 2: A390079 |
For a list of sequences related to the class numbers of real quadratic fields, see A087048.
KEYWORD
nonn
AUTHOR
Jianing Song, Dec 09 2025
STATUS
approved
