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