OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Prime[Range[200]], MemberQ[{0, 1, 3, 4, 6}, Mod[#, 7]]&] (* Vincenzo Librandi, Aug 12 2012 *)
Select[Flatten[#+{0, 1, 3, 4, 6}&/@(7Range[0, 50])], PrimeQ] (* Harvey P. Dale, Mar 22 2023 *)
PROG
(Magma) [ p: p in PrimesUpTo(500) | p mod 7 in {0, 1, 3, 4, 6} ]; // Vincenzo Librandi, Aug 12 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved