OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Range[1, 20000, 31], PrimeQ] (* Vladimir Joseph Stephan Orlovsky, Apr 07 2011 *)
PROG
(Magma) [p: p in PrimesUpTo(12000) | p mod 31 eq 1 ]; // Vincenzo Librandi, Aug 17 2012
(PARI) is(n)=isprime(n) && n%31==1 \\ Charles R Greathouse IV, Jul 01 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved