(MAGMAMagma) [p: p in PrimesUpTo(14000) | p mod 41 eq 4 ]; // Vincenzo Librandi, Aug 23 2012
(MAGMAMagma) [p: p in PrimesUpTo(14000) | p mod 41 eq 4 ]; // Vincenzo Librandi, Aug 23 2012
editing
approved
a(n) ~ 40n log n. - Charles R Greathouse IV, Jul 02 2016
(PARI) is(n)=isprime(n) && n%41==4 \\ Charles R Greathouse IV, Jul 02 2016
approved
editing
Select[Range[4, 30000, 41], PrimeQ] (* From _Vladimir Joseph Stephan Orlovsky, _, May 17 2011 *)
proposed
approved
editing
proposed
Vincenzo Librandi, <a href="/A142201/b142201.txt">Table of n, a(n) for n = 1..1000</a>
Select[Prime[Range[5000]], MemberQ[{4}, Mod[#, 41]]&] (* Vincenzo Librandi, Aug 23 2012 *)
(MAGMA) [p: p in PrimesUpTo(14000) | p mod 41 eq 4 ]; // Vincenzo Librandi, Aug 23 2012
nonn,easy
approved
editing
_N. J. A. Sloane (njas(AT)research.att.com), _, Jul 11 2008
reviewed
approved
proposed
reviewed