|
|
A107148
|
|
Primes of the form 2x^2 + 21y^2.
|
|
2
|
|
|
2, 23, 29, 53, 71, 149, 191, 197, 239, 263, 317, 359, 389, 431, 557, 599, 653, 701, 743, 821, 863, 911, 1031, 1061, 1103, 1229, 1367, 1373, 1439, 1493, 1583, 1607, 1709, 1733, 1871, 1877, 1901, 1997, 2039, 2069, 2087, 2111, 2207, 2213, 2237
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Discriminant = -168. See A107132 for more information.
|
|
LINKS
|
|
|
FORMULA
|
The primes are congruent to {2, 23, 29, 53, 71, 95, 149} (mod 168). - T. D. Noe, May 02 2008
|
|
MATHEMATICA
|
QuadPrimes2[2, 0, 21, 10000] (* see A106856 *)
|
|
PROG
|
(Magma) [ p: p in PrimesUpTo(3000) | p mod 168 in {2, 23, 29, 53, 71, 95, 149} ]; // Vincenzo Librandi, Jul 24 2012
(PARI) list(lim)=my(v=List([2]), s=[23, 29, 53, 71, 95, 149]); forprime(p=23, lim, if(setsearch(s, p%168), listput(v, p))); Vec(v) \\ Charles R Greathouse IV, Feb 09 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|