A045355 Primes congruent to {2, 5, 7} mod 8.
2, 5, 7, 13, 23, 29, 31, 37, 47, 53, 61, 71, 79, 101, 103, 109, 127, 149, 151, 157, 167, 173, 181, 191, 197, 199, 223, 229, 239, 263, 269, 271, 277, 293, 311, 317, 349, 359, 367, 373, 383, 389, 397, 421, 431, 439
Offset: 1
Links
- Ray Chandler, Table of n, a(n) for n = 1..10000 (first 1000 terms from Vincenzo Librandi)
Crossrefs
Cf. A000040.
Programs
-
Magma
[ p: p in PrimesUpTo(1000) | p mod 8 in {2, 5, 7} ]; // Vincenzo Librandi, Aug 07 2012
-
Mathematica
Select[Prime[Range[800]],MemberQ[{2,5, 7},Mod[#,8]]&] (* Vincenzo Librandi, Aug 07 2012 *)
Formula
{2} UNION A003628. - R. J. Mathar, Sep 19 2012
Comments