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”).

A045362
Primes congruent to {1, 2, 4, 5} mod 7.
1
2, 5, 11, 19, 23, 29, 37, 43, 47, 53, 61, 67, 71, 79, 89, 103, 107, 109, 113, 127, 131, 137, 149, 151, 163, 173, 179, 191, 193, 197, 211, 229, 233, 239, 257, 263, 271, 277, 281, 313, 317, 331, 337, 347, 359, 373
OFFSET
1,1
LINKS
MATHEMATICA
Select[Prime[Range[300]], MemberQ[{1, 2, 4, 5}, Mod[#, 7]]&] (* Vincenzo Librandi, Aug 10 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(600) | p mod 7 in [1, 2, 4, 5]]; // Vincenzo Librandi, Aug 10 2012
CROSSREFS
Cf. A000040.
Sequence in context: A308517 A375714 A101057 * A157978 A282246 A045363
KEYWORD
nonn,easy
STATUS
approved