login
A391440
Number of genera in the order of real quadratic fields with discriminant A079896(n).
2
1, 1, 2, 1, 1, 1, 2, 2, 2, 1, 2, 2, 1, 2, 1, 2, 2, 2, 1, 1, 2, 2, 4, 1, 2, 1, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 4, 1, 1, 2, 4, 2, 1, 2, 1, 1, 2, 4, 2, 1, 2, 2, 2, 2, 2, 1, 4, 2, 2, 1, 1, 2, 2, 4, 1, 4, 2, 1, 4, 4, 2, 1, 2, 2, 2, 1, 2, 2, 2, 2, 4, 1, 1, 2, 2, 4, 2, 2, 2, 1, 2, 2, 2, 4, 2, 4
OFFSET
1,3
COMMENTS
Number of elements that square to the identity in the form class group of discriminant D = A079896(n).
LINKS
Rick L. Shepherd, Binary quadratic forms and genus theory, Master of Arts Thesis, University of North Carolina at Greensboro, 2013.
FORMULA
For D = A079896(n), a(n) = 2^(omega(|D|) - t), where omega = A001221, and t = 0 if 32|D, t = 2 if D == 4 (mod 16), t = 1 otherwise. See A391441.
PROG
(PARI) r(D) = omega(D) - if(D%32==0, 0, if(D%16==4, 2, 1)) \\ gives 2-rank of Cl+(D)
for(D=1, 1000, if(D%4<=1 && !issquare(D), print1(2^r(D), ", ")))
CROSSREFS
Cf. A003640 (for imaginary quadratic fields).
For a list of sequences related to the class groups of real quadratic fields, see A390079.
Sequence in context: A353332 A353362 A256122 * A087048 A109700 A087742
KEYWORD
nonn
AUTHOR
Jianing Song, Dec 09 2025
STATUS
approved