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”).

A107158
Primes of the form 3x^2 + 17y^2.
2
3, 17, 29, 71, 311, 317, 347, 419, 431, 449, 617, 743, 857, 881, 941, 947, 1013, 1091, 1151, 1163, 1193, 1217, 1451, 1601, 1847, 1877, 2063, 2069, 2153, 2207, 2357, 2411, 2459, 2591, 2777, 2861, 2963, 3023, 3089, 3257, 3359, 3407, 3461, 3533
OFFSET
1,1
COMMENTS
Discriminant = -204. 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[3, 0, 17, 10000] (* see A106856 *)
PROG
(PARI) list(lim)=my(v=List(), w, t); for(x=0, sqrtint(lim\3), w=3*x^2; for(y=0, sqrtint((lim-w)\17), if(isprime(t=w+17*y^2), listput(v, t)))); Set(v) \\ Charles R Greathouse IV, Feb 09 2017
CROSSREFS
Sequence in context: A022887 A063715 A105411 * A188620 A152529 A126782
KEYWORD
nonn,easy
AUTHOR
T. D. Noe, May 13 2005
STATUS
approved