OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000 (first 1000 terms from T. D. Noe)
Eric Weisstein's World of Mathematics, Class Number
MATHEMATICA
Select[Range[565], NumberFieldDiscriminant@Sqrt[#] == # && NumberFieldClassNumber@Sqrt[#] == 2 &] (* Arkadiusz Wesolowski, Oct 22 2012 *)
PROG
(PARI) is(n)=n>9 && isfundamental(n) && qfbclassno(n)==2 \\ Charles R Greathouse IV, Nov 05 2014
(Sage)
is_fund_and_qfbcn_1 = lambda n: is_fundamental_discriminant(n) and QuadraticField(n, 'a').class_number() == 2;
A094619 = lambda n: filter(is_fund_and_qfbcn_1, (1, 2, .., n));
A094619(600) # G. C. Greubel, Mar 01 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Eric W. Weisstein, May 14 2004
STATUS
approved