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”).

A142012
Primes congruent to 8 mod 31.
1
101, 163, 349, 659, 907, 1031, 1093, 1217, 1279, 2333, 2767, 2953, 3449, 3511, 3697, 3821, 4007, 4441, 4751, 4813, 4937, 4999, 5309, 5557, 5743, 5867, 6053, 6301, 6673, 6983, 7417, 7541, 7603, 7727, 7789, 8161, 8719, 9029, 9091, 9277, 9463, 9587, 9649
OFFSET
1,1
LINKS
FORMULA
a(n) ~ 30n log n. - Charles R Greathouse IV, Jul 03 2016
MATHEMATICA
Select[Range[8, 20000, 31], PrimeQ] (* Vladimir Joseph Stephan Orlovsky, Apr 20 2011 *)
PROG
(Magma) [ p: p in PrimesUpTo(30000) | p mod 31 eq 8 ]; // Vincenzo Librandi, Apr 20 2011
(PARI) is(n)=isprime(n) && n%31==8 \\ Charles R Greathouse IV, Jul 03 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved