A142012 Primes congruent to 8 mod 31.
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
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Programs
-
Magma
[ p: p in PrimesUpTo(30000) | p mod 31 eq 8 ]; // Vincenzo Librandi, Apr 20 2011
-
Mathematica
Select[Range[8,20000,31],PrimeQ] (* Vladimir Joseph Stephan Orlovsky, Apr 20 2011 *)
-
PARI
is(n)=isprime(n) && n%31==8 \\ Charles R Greathouse IV, Jul 03 2016
Formula
a(n) ~ 30n log n. - Charles R Greathouse IV, Jul 03 2016