OFFSET
1,14
COMMENTS
In other words, number of classes in the form class group quotient by {I,-I} of discriminant D, 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) for(n=2, 200, if(n%4 <= 1 && !issquare(n), print1(qfbclassno(n), ", ")))
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Jianing Song, Dec 09 2025
STATUS
approved
