OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
FORMULA
a(n) ~ 30n log n. - Charles R Greathouse IV, Jul 03 2016
MATHEMATICA
Select[Range[4, 20000, 31], PrimeQ] (* Vladimir Joseph Stephan Orlovsky, Apr 20 2011 *)
Select[Prime[Range[1500]], Mod[#, 31]==4&] (* Harvey P. Dale, Sep 21 2021 *)
PROG
(Magma) [ p: p in PrimesUpTo(30000) | p mod 31 eq 4 ]; // Vincenzo Librandi, Apr 20 2011
(PARI) is(n)=isprime(n) && n%31==4 \\ Charles R Greathouse IV, Jul 03 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved