OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
FORMULA
{2} UNION A142874. - R. J. Mathar, Jul 20 2008
a(n) ~ 30n log n. - Charles R Greathouse IV, Apr 28 2015
MATHEMATICA
Select[Range[2, 20000, 31], PrimeQ] (* Vladimir Joseph Stephan Orlovsky, Apr 07 2011 *)
PROG
(Magma) [p: p in PrimesUpTo(12000) | p mod 31 eq 2 ]; // Vincenzo Librandi, Aug 17 2012
(PARI) select(n->n%31==2, primes(1000)) \\ Charles R Greathouse IV, Apr 28 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved