A042999 Primes congruent to {2, 3, 5} (mod 8).
2, 3, 5, 11, 13, 19, 29, 37, 43, 53, 59, 61, 67, 83, 101, 107, 109, 131, 139, 149, 157, 163, 173, 179, 181, 197, 211, 227, 229, 251, 269, 277, 283, 293, 307, 317, 331, 347, 349, 373, 379, 389, 397, 419, 421, 443
Offset: 1
Links
- Ray Chandler, Table of n, a(n) for n = 1..10000 (first 1000 terms Vincenzo Librandi)
Crossrefs
Cf. A001132 (complement).
Programs
-
Magma
[p: p in PrimesUpTo(500) | p mod 8 in [2, 3, 5]]; // Vincenzo Librandi, Aug 08 2012
-
Mathematica
Select[Prime[Range[300]],MemberQ[{2,3,5},Mod[#,8]]&] (* Vincenzo Librandi, Aug 08 2012 *)
Comments