|
|
A107153
|
|
Primes of the form 2x^2 + 23y^2.
|
|
2
|
|
|
2, 23, 31, 41, 73, 151, 223, 239, 257, 311, 449, 577, 593, 599, 601, 607, 647, 673, 719, 823, 863, 929, 967, 991, 1087, 1129, 1153, 1223, 1289, 1297, 1327, 1481, 1543, 1559, 1823, 1871, 1889, 1913, 2063, 2129, 2143, 2377, 2441, 2473, 2657, 2663
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Discriminant = -184. See A107132 for more information.
|
|
LINKS
|
|
|
MATHEMATICA
|
QuadPrimes2[2, 0, 23, 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)\23), if(isprime(t=w+23*y^2), listput(v, t)))); Set(v) \\ Charles R Greathouse IV, Feb 09 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|