OFFSET
1,1
COMMENTS
Smallest term that is in A146209 but not this sequence is 79, since Q(sqrt(79)) has class number 3. - Alonso del Arte, Aug 25 2014
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Range[246], SquareFreeQ[#] && NumberFieldClassNumber@Sqrt[#] == 2 &] (* Arkadiusz Wesolowski, Oct 22 2012 *)
PROG
(PARI)
A007947(n)={my(p); p=factor(n)[, 1]; prod(i=1, length(p), p[i]); }
{ for (n=2, 10^3,
if ( n!=A007947(n), next() );
K = bnfinit(x^2 - n);
if ( K.cyc == [2], print1( n, ", ") );
); }
/* Joerg Arndt, Oct 18 2012 */
CROSSREFS
KEYWORD
nonn
AUTHOR
Paolo Dominici (pl.dm(AT)libero.it)
STATUS
approved