OFFSET
1,1
COMMENTS
Fundamental terms of A317987.
k is a term iff the class group of Q[sqrt(-k)], or the form class group of positive binary quadratic forms with discriminant -k is isomorphic to (C_2)^r X C_4.
This is a subsequence of A133676, so it's finite. It seems that this sequence has 161 terms, the largest being 40755.
LINKS
Jianing Song, Table of n, a(n) for n = 1..161
Rick L. Shepherd, Binary quadratic forms and genus theory, Master of Arts Thesis, University of North Carolina at Greensboro, 2013.
EXAMPLE
See examples in A317987.
PROG
(PARI) isA319983(n) = isfundamental(-n) && 2^(1+#quadclassunit(-n)[2])==quadclassunit(-n)[1]
CROSSREFS
KEYWORD
nonn,fini
AUTHOR
Jianing Song, Oct 02 2018
STATUS
approved