OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Range[770], SquareFreeQ[#] && NumberFieldClassNumber@Sqrt[#] == 4 &] (* Arkadiusz Wesolowski, Oct 18 2012 *)
PROG
(PARI) is(n)=if(issquarefree(n), my(c=bnfinit('x^2-n).cyc); c==[4] || c==[2, 2], 0) \\ Charles R Greathouse IV, Oct 18 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
Paolo Dominici (pl.dm(AT)libero.it)
EXTENSIONS
Initial term added by Arkadiusz Wesolowski, Oct 18 2012
STATUS
approved