OFFSET
1,1
COMMENTS
Union of A045428 and 5. - Michel Marcus, Sep 14 2015
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
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
KEYWORD
nonn,easy
AUTHOR
STATUS
approved