A042991 Primes congruent to {0, 2, 3, 4} (mod 5).
2, 3, 5, 7, 13, 17, 19, 23, 29, 37, 43, 47, 53, 59, 67, 73, 79, 83, 89, 97, 103, 107, 109, 113, 127, 137, 139, 149, 157, 163, 167, 173, 179, 193, 197, 199, 223, 227, 229, 233, 239, 257, 263, 269, 277, 283, 293, 307
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Programs
-
Magma
[p: p in PrimesUpTo(500) | p mod 5 in [0,2,3,4]]; // Vincenzo Librandi, Aug 09 2012
-
Mathematica
Select[Prime[Range[200]],MemberQ[{0,2,3,4},Mod[#,5]]&] (* Vincenzo Librandi, Aug 09 2012 *)
Comments