|
|
A107139
|
|
Primes of the form 2x^2 + 17y^2.
|
|
2
|
|
|
2, 17, 19, 67, 89, 179, 251, 281, 353, 409, 433, 443, 457, 467, 491, 523, 587, 739, 883, 937, 953, 1033, 1171, 1283, 1307, 1409, 1427, 1481, 1483, 1619, 1699, 1721, 1777, 1801, 1889, 1993, 2083, 2089, 2099, 2129, 2347, 2467, 2473, 2609, 2633
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Discriminant = -136. See A107132 for more information.
|
|
LINKS
|
|
|
MATHEMATICA
|
QuadPrimes2[2, 0, 17, 10000] (* see A106856 *)
|
|
PROG
|
(PARI) list(lim)=my(v=List(), w, t); for(x=0, sqrtint(lim\2), w=2*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
|
|
|
|