OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
FORMULA
a(n) ~ 42n log n. - Charles R Greathouse IV, Jul 02 2016
MATHEMATICA
Select[Prime[Range[5000]], MemberQ[{42}, Mod[#, 43]]&] (* Vincenzo Librandi; Aug 25 2012 *)
Select[Range[42, 15000, 43], PrimeQ] (* Harvey P. Dale, Sep 11 2019 *)
PROG
(Magma) [p: p in PrimesUpTo(18000) | p mod 43 eq 42 ]; // Vincenzo Librandi, Aug 25 2012
(PARI) is(n)=isprime(n) && n%43==42 \\ Charles R Greathouse IV, Jul 02 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved