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