OFFSET
1,3
COMMENTS
Equivalently, number of classes of primitive positive definite binary quadratic forms of discriminant -4n as n runs through A089269: squarefree numbers congruent to 1 or 2 mod 4.
REFERENCES
D. A. Buell, Binary Quadratic Forms. Springer-Verlag, NY, 1989, pp. 224-241.
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
N. J. A. Sloane, Table of n, a(n) for n = 1..10000
PROG
(PARI) for (n=1, 50, if(issquarefree(n) && (n%4 == 1 || n%4 == 2), print(n, " ", qfbclassno(-4*n)))) \\ N. J. A. Sloane, May 28 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Extended and definition corrected by Max Alekseyev, Apr 16 2010
STATUS
approved