OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Prime@Range[210], Mod[ #, 5] == 2 &] (* Ray Chandler, Dec 06 2006 *)
Select[Range[2, 1300, 5], PrimeQ] (* Harvey P. Dale, Jul 22 2020 *)
PROG
(Magma) [p: p in PrimesUpTo(1300) | p mod 5 eq 2]; // Vincenzo Librandi, Aug 07 2012
(PARI) is(n)=isprime(n) && n%5==2 \\ Charles R Greathouse IV, Jul 01 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved