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

A045348
Primes congruent to {0, 1, 2, 4} mod 5.
1
2, 5, 7, 11, 17, 19, 29, 31, 37, 41, 47, 59, 61, 67, 71, 79, 89, 97, 101, 107, 109, 127, 131, 137, 139, 149, 151, 157, 167, 179, 181, 191, 197, 199, 211, 227, 229, 239, 241, 251, 257, 269, 271, 277, 281, 307, 311
OFFSET
1,1
LINKS
MATHEMATICA
Select[Prime[Range[300]], MemberQ[{0, 1, 2, 4}, Mod[#, 5]]&] (* Vincenzo Librandi, Aug 10 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(400) | p mod 5 in [0, 1, 2, 4]]; // Vincenzo Librandi, Aug 10 2012
CROSSREFS
Sequence in context: A049042 A020605 A323698 * A023207 A038611 A265761
KEYWORD
nonn,easy
STATUS
approved