A045314 Primes congruent to {2, 3, 5} (mod 7).
2, 3, 5, 17, 19, 23, 31, 37, 47, 59, 61, 73, 79, 89, 101, 103, 107, 131, 149, 157, 163, 173, 191, 199, 227, 229, 233, 241, 257, 269, 271, 283, 311, 313, 317, 331, 353, 359, 367, 373, 383, 397, 401, 409, 439, 443
Offset: 1
Keywords
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Programs
-
Magma
[p: p in PrimesUpTo(700) | p mod 7 in [2, 3, 5]]; // Vincenzo Librandi, Aug 04 2012
-
Mathematica
Select[Prime[Range[1000]],MemberQ[{2,3, 5},Mod[#,7]]&] (* Vincenzo Librandi, Aug 04 2012 *)