OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Prime[Range[300]], MemberQ[{1, 2}, Mod[#, 7]]&] (* Vincenzo Librandi, Aug 10 2012 *)
Select[Flatten[#+{1, 2}&/@(7*Range[0, 120])], PrimeQ] (* Harvey P. Dale, Sep 15 2019 *)
PROG
(Magma) [p: p in PrimesUpTo(1000) | p mod 7 in [1, 2]]; // Vincenzo Librandi, Aug 10 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved