|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Discriminant = -204. See A107132 for more information.
|
|
LINKS
|
|
|
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
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|