login
A045405
Primes congruent to {0, 1, 3, 4} mod 5.
2
3, 5, 11, 13, 19, 23, 29, 31, 41, 43, 53, 59, 61, 71, 73, 79, 83, 89, 101, 103, 109, 113, 131, 139, 149, 151, 163, 173, 179, 181, 191, 193, 199, 211, 223, 229, 233, 239, 241, 251, 263, 269, 271, 281, 283, 293, 311
OFFSET
1,1
COMMENTS
Union of A045428 and 5. - Michel Marcus, Sep 14 2015
LINKS
MATHEMATICA
Select[Prime[Range[300]], MemberQ[{0, 1, 3, 4}, Mod[#, 5]]&] (* Vincenzo Librandi, Aug 12 2012 *)
PROG
(Magma) [ p: p in PrimesUpTo(400) | p mod 5 in {0, 1, 3, 4} ]; // Vincenzo Librandi, Aug 12 2012
(PARI) list(lim)=forprime(p=2, lim, if(p%5!=2, print1(p", "))) \\ Anders Hellström, Sep 14 2015
CROSSREFS
Sequence in context: A147992 A166089 A136208 * A059311 A023209 A020609
KEYWORD
nonn,easy
STATUS
approved