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[9229], NumberFieldDiscriminant@Sqrt[#] == # && NumberFieldClassNumber@Sqrt[#] == 5 &] (* Arkadiusz Wesolowski, Oct 22 2012 *)
PROG
(PARI) {ok(n) = n>10 && isfundamental(n) && qfbclassno(n)==5};
for(n=1, 10000, 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() == 5;
A094614 = lambda n: filter(is_fund_and_qfbcn_1, (1, 2, .., n));
A094614(10000) # G. C. Greubel, Mar 01 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Eric W. Weisstein, May 14 2004
STATUS
approved