OFFSET
1,1
COMMENTS
Primes p such that Q(sqrt(-21p)) has genus characters chi_{-3} = +1, chi_{-7} = -1.
LINKS
Ray Chandler, Table of n, a(n) for n = 1..10000 (First 1000 terms from Vincenzo Librandi).
H. Cohn and J. C. Lagarias, On the existence of fields governing the 2-invariants of the classgroup of Q(sqrt{dp}) as p varies, Math. Comp. 41 (1983), 711-730.
N. J. A. Sloane et al., Binary Quadratic Forms and OEIS (Index to related sequences, programs, references)
FORMULA
The primes are congruent to {3, 7, 19, 31, 55} (mod 84). - T. D. Noe, May 02 2008
MATHEMATICA
PROG
(Magma) [p: p in PrimesUpTo(3000) | p mod 84 in [3, 7, 19, 31, 55]]; // Vincenzo Librandi, Jul 19 2012
(PARI) list(lim)=my(v=List(), w, t); for(x=0, sqrtint(lim\3), w=3*x^2; for(y=0, sqrtint((lim-w)\7), if(isprime(t=w+7*y^2), listput(v, t)))); Set(v) \\ Charles R Greathouse IV, Feb 09 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Feb 19 2005
STATUS
approved
