login
A042994
Primes congruent to {0, 1, 2, 3, 5} (mod 7).
1
2, 3, 5, 7, 17, 19, 23, 29, 31, 37, 43, 47, 59, 61, 71, 73, 79, 89, 101, 103, 107, 113, 127, 131, 149, 157, 163, 173, 191, 197, 199, 211, 227, 229, 233, 239, 241, 257, 269, 271, 281, 283, 311, 313, 317, 331, 337
OFFSET
1,1
LINKS
MATHEMATICA
Select[Prime[Range[400]], MemberQ[{0, 1, 2, 3, 5}, Mod[#, 7]]&] (* Vincenzo Librandi, Aug 08 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(500) | p mod 7 in [0, 1, 2, 3, 5]]; // Vincenzo Librandi, Aug 08 2012
CROSSREFS
Cf. A000040.
Sequence in context: A072885 A178209 A360781 * A129692 A272441 A155471
KEYWORD
nonn,easy
STATUS
approved