|
|
A107143
|
|
Primes of the form 2x^2 + 19y^2.
|
|
2
|
|
|
2, 19, 37, 173, 179, 181, 269, 307, 509, 547, 563, 683, 971, 1093, 1123, 1171, 1229, 1381, 1523, 1571, 1579, 1627, 1637, 1667, 1877, 1931, 1933, 2083, 2339, 2371, 2389, 2621, 2731, 2749, 2789, 2909, 3061, 3067, 3109, 3181, 3221, 3229, 3371
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Discriminant = -152. See A107132 for more information.
|
|
LINKS
|
|
|
MATHEMATICA
|
QuadPrimes2[2, 0, 19, 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)\19), if(isprime(t=w+19*y^2), listput(v, t)))); Set(v) \\ Charles R Greathouse IV, Feb 09 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|