login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A142005
Primes congruent to 1 mod 31.
28
311, 373, 683, 1117, 1303, 1427, 1489, 1613, 1861, 2357, 2543, 2729, 2791, 3163, 3659, 3907, 4093, 4217, 4651, 5023, 5147, 5209, 5333, 5519, 5581, 5953, 6263, 6449, 6883, 7069, 7193, 7937, 8123, 8681, 8867, 8929, 9239, 9859, 10169, 10789, 11161, 11471, 11657
OFFSET
1,1
LINKS
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
Sequence in context: A376235 A060339 A046016 * A059225 A157717 A113155
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved