OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Prime[Range[500]], MemberQ[{0, 1, 2, 5, 6}, Mod[#, 7]]&] (* Vincenzo Librandi, Aug 07 2012 *)
PROG
(Magma) [ p: p in PrimesUpTo(1000) | p mod 7 in {0, 1, 2, 5, 6} ]; // Vincenzo Librandi Aug 07 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved