OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
Eric Weisstein's World of Mathematics, Class Number
MATHEMATICA
Select[Range[3569], NumberFieldDiscriminant@Sqrt[#] == # && NumberFieldClassNumber@Sqrt[#] == 3 &] (* Arkadiusz Wesolowski, Oct 22 2012 *)
PROG
(PARI) {ok(n) = n>10 && isfundamental(n) && qfbclassno(n)==3};
for(n=1, 3600, if(ok(n)==1, print1(n, ", "))) \\ G. C. Greubel, Mar 01 2019
(Sage)
is_fund_and_qfbcn_1 = lambda n: is_fundamental_discriminant(n) and QuadraticField(n, 'a').class_number() == 3;
A094612 = lambda n: filter(is_fund_and_qfbcn_1, (1, 2, .., n));
A094612(3700) # G. C. Greubel, Mar 01 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Eric W. Weisstein, May 14 2004
EXTENSIONS
Edited by N. J. A. Sloane, May 01 2010
STATUS
approved