OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Range[2, 30000, 41], PrimeQ] (* Vladimir Joseph Stephan Orlovsky, May 17 2011 *)
Select[Prime[Range[5000]], MemberQ[{2}, Mod[#, 41]]&] (* Vincenzo Librandi, Aug 23 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(14000) | p mod 41 eq 2 ]; // Vincenzo Librandi, Aug 23 2012
(PARI) is(n)=isprime(n) && n%41==2 \\ Charles R Greathouse IV, Jul 01 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved