login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A107198
Primes of the form x^2 + 84y^2.
2
109, 337, 373, 457, 613, 709, 757, 877, 1117, 1297, 1381, 1453, 1597, 1873, 1933, 2017, 2221, 2269, 2293, 2389, 2437, 2713, 3049, 3061, 3109, 3313, 3361, 3469, 4057, 4153, 4561, 4909, 4957, 5077, 5233, 5413, 5569, 5581, 5737, 5821, 6217
OFFSET
1,1
COMMENTS
Discriminant = -336. See A107132 for more information.
LINKS
Vincenzo Librandi and Ray Chandler, Table of n, a(n) for n = 1..10000 [First 1000 terms from Vincenzo Librandi]
N. J. A. Sloane et al., Binary Quadratic Forms and OEIS (Index to related sequences, programs, references)
MATHEMATICA
QuadPrimes2[1, 0, 84, 10000] (* see A106856 *)
PROG
(PARI) list(lim)=my(v=List(), w, t); for(x=1, sqrtint(lim\1), w=x^2; for(y=1, sqrtint((lim-w)\84), if(isprime(t=w+84*y^2), listput(v, t)))); Set(v) \\ Charles R Greathouse IV, Feb 10 2017
CROSSREFS
Sequence in context: A183349 A238682 A070180 * A020354 A142846 A166560
KEYWORD
nonn,easy
AUTHOR
T. D. Noe, May 13 2005
STATUS
approved