|
|
A107199
|
|
Primes of the form 5x^2 + 17y^2.
|
|
2
|
|
|
5, 17, 37, 73, 97, 113, 173, 193, 197, 233, 277, 313, 317, 337, 397, 617, 653, 673, 677, 853, 857, 877, 997, 1013, 1093, 1117, 1153, 1193, 1213, 1217, 1297, 1433, 1493, 1553, 1637, 1693, 1697, 1873, 1877, 1933, 2017, 2113, 2137, 2153, 2213
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Discriminant = -340. See A107132 for more information.
|
|
LINKS
|
|
|
FORMULA
|
The primes are congruent to {5, 17, 37, 57, 73, 97, 113, 133, 173, 177, 193, 197, 233, 277, 313, 317, 333, 337} (mod 340). - T. D. Noe, May 02 2008
|
|
MATHEMATICA
|
QuadPrimes2[5, 0, 17, 10000] (* see A106856 *)
|
|
PROG
|
(Magma) [ p: p in PrimesUpTo(4000) | p mod 340 in {5, 17, 37, 57, 73, 97, 113, 133, 173, 177, 193, 197, 233, 277, 313, 317, 333, 337}]; // Vincenzo Librandi, Jul 28 2012
(PARI) list(lim)=my(v=List([5]), s=[17, 37, 57, 73, 97, 113, 133, 173, 177, 193, 197, 233, 277, 313, 317, 333, 337]); forprime(p=17, lim, if(setsearch(s, p%340), listput(v, p))); Vec(v) \\ Charles R Greathouse IV, Feb 10 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|