OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Range[37, 20000, 39], PrimeQ] (* Vladimir Joseph Stephan Orlovsky, Jul 02 2011 *)
Select[Prime[Range[3000]], MemberQ[{37}, Mod[#, 39]]&] (* Vincenzo Librandi, Aug 20 2012 *)
PROG
(PARI) select(n->n%39==37, primes(1000)) \\ Charles R Greathouse IV, Jul 02, 2011
(Magma) [p: p in PrimesUpTo(10000) | p mod 39 eq 37]; // Vincenzo Librandi, Aug 20 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved