OFFSET
1,1
COMMENTS
LINKS
R. Zumkeller, Table of n, a(n) for n = 1..1001
MATHEMATICA
Select[Prime[Range[400]], MemberQ[{0, 2, 4}, Mod[#, 5]] &] (* Vincenzo Librandi, Aug 07 2012 *)
Select[Prime[Range[100]], EvenQ[Mod[#, 5]] &] (* Zak Seidov, Aug 31 2012 *)
Select[Flatten[#+{0, 2, 4}&/@(5*Range[0, 100])], PrimeQ] (* Harvey P. Dale, Sep 14 2019 *)
PROG
(Magma) [ p: p in PrimesUpTo(1000) | p mod 5 in {0, 2, 4} ]; // Vincenzo Librandi, Aug 07 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved