A045458 Primes congruent to 5 mod 7.
5, 19, 47, 61, 89, 103, 131, 173, 229, 257, 271, 313, 383, 397, 439, 467, 509, 523, 593, 607, 677, 691, 719, 733, 761, 859, 887, 929, 971, 1013, 1069, 1097, 1153, 1181, 1223, 1237, 1279, 1307, 1321, 1433, 1447, 1489, 1531, 1559, 1601, 1657, 1699, 1741, 1783
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Programs
-
Magma
[ p: p in PrimesUpTo(11000) | p mod 7 eq 5 ]; // Vincenzo Librandi, Aug 13 2012
-
Mathematica
Select[Range[5, 50000, 7], PrimeQ] (* Vladimir Joseph Stephan Orlovsky, Jun 13 2011 *)
-
PARI
is(n)=isprime(n) && n%7==5 \\ Charles R Greathouse IV, Jul 01 2016
Comments