(MAGMAMagma) [p: p in PrimesUpTo(17000) | p mod 43 eq 7 ]; // Vincenzo Librandi, Aug 24 2012
(MAGMAMagma) [p: p in PrimesUpTo(17000) | p mod 43 eq 7 ]; // Vincenzo Librandi, Aug 24 2012
editing
approved
a(n) ~ 42n log n. - Charles R Greathouse IV, Jul 03 2016
(PARI) is(n)=isprime(n) && n%43==7 \\ Charles R Greathouse IV, Jul 03 2016
approved
editing
editing
approved
Select[Range[7, 15000, 43], PrimeQ] (* Harvey P. Dale, Feb 17 2015 *)
approved
editing
proposed
approved
editing
proposed
Vincenzo Librandi, <a href="/A142256/b142256.txt">Table of n, a(n) for n = 1..1000</a>
Select[Prime[Range[5000]], MemberQ[{7}, Mod[#, 43]]&] (* Vincenzo Librandi, Aug 24 2012 *)
(MAGMA) [p: p in PrimesUpTo(17000) | p mod 43 eq 7 ]; // Vincenzo Librandi, Aug 24 2012
Cf. A000040.
nonn,easy
approved
editing
_N. J. A. Sloane (njas(AT)research.att.com), _, Jul 11 2008
nonn,new
nonn
N. J. A. Sloane (njas, (AT)research.att.com), Jul 11 2008