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

A045417
Primes congruent to {0, 1, 3, 4, 6} mod 7.
1
3, 7, 11, 13, 17, 29, 31, 41, 43, 53, 59, 67, 71, 73, 83, 97, 101, 109, 113, 127, 137, 139, 151, 157, 167, 179, 181, 193, 197, 199, 211, 223, 227, 239, 241, 251, 263, 269, 277, 281, 283, 293, 307, 311, 337, 347
OFFSET
1,1
LINKS
MATHEMATICA
Select[Prime[Range[200]], MemberQ[{0, 1, 3, 4, 6}, Mod[#, 7]]&] (* Vincenzo Librandi, Aug 12 2012 *)
Select[Flatten[#+{0, 1, 3, 4, 6}&/@(7Range[0, 50])], PrimeQ] (* Harvey P. Dale, Mar 22 2023 *)
PROG
(Magma) [ p: p in PrimesUpTo(500) | p mod 7 in {0, 1, 3, 4, 6} ]; // Vincenzo Librandi, Aug 12 2012
CROSSREFS
Cf. A000040.
Sequence in context: A184865 A055211 A183176 * A260379 A045418 A257057
KEYWORD
nonn,easy
STATUS
approved