OFFSET
2,12
REFERENCES
D. A. Buell, Binary Quadratic Forms. Springer-Verlag, NY, 1989, pp. 224-241.
H. Cohen, A Course in Computational Algebraic Number Theory, Springer, 1993, pp. 515-519
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
T. D. Noe, Table of n, a(n) for n = 2..3001
S. R. Finch, Class number theory
Steven R. Finch, Class number theory [Cached copy, with permission of the author]
Eric Weisstein's World of Mathematics, Class Number
MATHEMATICA
NumberFieldClassNumber[Sqrt[#]] &/@ Select[Range[500], FundamentalDiscriminantQ] (* G. C. Greubel, Mar 01 2019 *)
PROG
(PARI) for(n=1, 500, if(isfundamental(n) && !issquare(n), print1(quadclassunit(n).no, ", "))) \\ G. C. Greubel, Mar 01 2019
(Sage) [QuadraticField(n, 'a').class_number() for n in (1..500) if is_fundamental_discriminant(n) and not is_square(n)] # G. C. Greubel, Mar 01 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Offset corrected by Jianing Song, Mar 31 2019
STATUS
approved