[go: up one dir, main page]

login
A045392
Primes congruent to 2 mod 7.
13
2, 23, 37, 79, 107, 149, 163, 191, 233, 317, 331, 359, 373, 401, 443, 457, 499, 541, 569, 653, 709, 751, 821, 863, 877, 919, 947, 1031, 1087, 1129, 1171, 1213, 1283, 1297, 1367, 1381, 1409, 1423, 1451, 1493, 1549, 1619, 1759, 1787, 1801, 1871, 1913, 1997
OFFSET
1,1
LINKS
MATHEMATICA
Select[Range[2, 50000, 7], PrimeQ] (* Vladimir Joseph Stephan Orlovsky, Jun 13 2011 *)
PROG
(Magma) [p: p in PrimesUpTo(2000) | p mod 7 eq 2]; // Vincenzo Librandi, Aug 07 2012
(PARI) is(n)=isprime(n) && n%7==2 \\ Charles R Greathouse IV, Jul 01 2016
CROSSREFS
KEYWORD
nonn,easy
STATUS
approved