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