|
|
A107217
|
|
Primes of the form x^2 + 99y^2.
|
|
2
|
|
|
103, 163, 199, 397, 421, 499, 757, 883, 907, 991, 1021, 1087, 1123, 1237, 1291, 1543, 1567, 1609, 1621, 1699, 1753, 1873, 2113, 2539, 2671, 2731, 2797, 2803, 2953, 3259, 3391, 3433, 3463, 3499, 3613, 3631, 3733, 3793, 3853, 3877, 3919
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Discriminant = -396. See A107132 for more information.
|
|
LINKS
|
|
|
MATHEMATICA
|
QuadPrimes2[1, 0, 99, 10000] (* see A106856 *)
|
|
PROG
|
(PARI) list(lim)=my(v=List(), w, t); for(x=1, sqrtint(lim\1), w=x^2; for(y=1, sqrtint((lim-w)\99), if(isprime(t=w+99*y^2), listput(v, t)))); Set(v) \\ Charles R Greathouse IV, Feb 10 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|