%I #35 Mar 01 2019 15:49:02
%S 39,55,56,68,84,120,132,136,155,168,184,195,203,219,228,259,280,291,
%T 292,312,323,328,340,355,372,388,408,435,483,520,532,555,568,595,627,
%U 667,708,715,723,760,763,772,795,955,1003,1012,1027,1227,1243,1387,1411,1435,1507,1555
%N Discriminants of imaginary quadratic fields with class number 4 (negated).
%D H. Cohen, Course in Computational Alg. No. Theory, Springer, 1993, p. 229.
%H Giovanni Resta, <a href="/A013658/b013658.txt">Table of n, a(n) for n = 1..54</a> (full sequence, from Weisstein's World of Mathematics)
%H Rick L. Shepherd, <a href="http://libres.uncg.edu/ir/uncg/f/Shepherd_uncg_0154M_11099.pdf">Binary quadratic forms and genus theory</a>, Master of Arts Thesis, University of North Carolina at Greensboro, 2013.
%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/ClassNumber.html">Class Number</a>
%H Sung Sik Woo, <a href="https://doi.org/10.4134/CKMS.2013.28.2.209">Cubic formula and cubic curves</a>, Commun. Korean Math. Soc. 28 (2013), No. 2, pp. 209-224.
%H <a href="/index/Qua#quadfield">Index entries for sequences related to quadratic fields</a>
%t Union[(-NumberFieldDiscriminant[Sqrt[-#]] &) /@ Select[Range[1250], NumberFieldClassNumber[Sqrt[-#]] == 4 &]] (* _Jean-François Alcover_, Jun 27 2012 *)
%o (PARI) ok(n)={isfundamental(-n) && quadclassunit(-n).no == 4} \\ _Andrew Howroyd_, Jul 20 2018
%o (Sage) [n for n in (1..2000) if is_fundamental_discriminant(-n) and QuadraticField(-n, 'a').class_number()==4] # _G. C. Greubel_, Mar 01 2019
%Y Cf. A014603, A046005, A192322.
%K nonn,fini,full
%O 1,1
%A Eric Rains (rains(AT)caltech.edu)
%E a(50)-a(54) added by _Andrew Howroyd_, Jul 20 2018