OFFSET
1,6
COMMENTS
Same as A006641. - Georg Fischer, Oct 12 2018
FORMULA
Class number of A003657(n).
MATHEMATICA
FundamentalDiscriminantQ[n_Integer] := n != 1 && (Mod[n, 4] == 1 || !Unequal[ Mod[n, 16], 8, 12]) && SquareFreeQ[n/2^IntegerExponent[n, 2]] (* via Eric W. Weisstein *);
NumberFieldClassNumber@ Sqrt@ # & /@ Select[-Range@ 300, FundamentalDiscriminantQ]
PROG
(PARI) for(n=1, 300, if(isfundamental(-n), print1(quadclassunit(-n).no, ", "))) \\ Andrew Howroyd, Jul 23 2018
CROSSREFS
KEYWORD
dead
AUTHOR
Robert G. Wilson v, Jun 01 2011
EXTENSIONS
Terms corrected by Andrew Howroyd and Robert G. Wilson v, Jul 24 2018
STATUS
approved