login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A094613
Fundamental discriminants of real quadratic number fields with class number 4.
4
145, 328, 445, 505, 520, 680, 689, 777, 780, 793, 840, 876, 897, 901, 905, 924, 1020, 1045, 1096, 1105, 1145, 1160, 1164, 1221, 1288, 1292, 1313, 1320, 1365, 1480, 1560, 1640, 1677, 1736, 1740, 1745, 1752, 1820, 1848, 1885, 1932, 2005, 2040, 2056, 2120, 2145
OFFSET
1,1
MATHEMATICA
Select[Range[2145], NumberFieldDiscriminant@Sqrt[#] == # && NumberFieldClassNumber@Sqrt[#] == 4 &] (* Arkadiusz Wesolowski, Oct 22 2012 *)
PROG
(PARI) {ok(n) = n>10 && isfundamental(n) && qfbclassno(n)==4};
for(n=1, 2500, 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() == 4;
A094613 = lambda n: filter(is_fund_and_qfbcn_1, (1, 2, .., n));
A094613(2500) # G. C. Greubel, Mar 01 2019
KEYWORD
nonn
AUTHOR
Eric W. Weisstein, May 14 2004
STATUS
approved