OFFSET
1,1
REFERENCES
D. A. Cox, Primes of the form x^2+ny^2, Wiley, New York, 1989.
D. E. Flath, Introduction to Number Theory, Wiley-Interscience, 1989.
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..88
PROG
(PARI) ok(n)={(-n)%4<2 && quadclassunit(-n).no > 1 && !#select(k->k<>2, quadclassunit(-n).cyc)} \\ Andrew Howroyd, Jul 20 2018
CROSSREFS
KEYWORD
fini,nonn
AUTHOR
David Brink, Dec 30 2007
STATUS
approved