login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A045340
Primes congruent to {1, 2, 3, 6} mod 7.
5
2, 3, 13, 17, 23, 29, 31, 37, 41, 43, 59, 71, 73, 79, 83, 97, 101, 107, 113, 127, 139, 149, 157, 163, 167, 181, 191, 197, 199, 211, 223, 227, 233, 239, 241, 251, 269, 281, 283, 293, 307, 311, 317, 331, 337, 349
OFFSET
1,1
LINKS
MATHEMATICA
Select[Prime[Range[300]], MemberQ[{1, 2, 3, 6}, Mod[#, 7]]&] (* Vincenzo Librandi, Aug 10 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(500) | p mod 7 in [1, 2, 3, 6]]; // Vincenzo Librandi, Aug 102012
CROSSREFS
Cf. A000040.
Sequence in context: A019394 A048704 A379583 * A038882 A019339 A045341
KEYWORD
nonn,easy
STATUS
approved