A142022 Primes congruent to 18 mod 31.
173, 359, 421, 607, 1103, 1289, 1723, 1847, 2281, 2467, 2591, 2777, 2963, 3583, 3769, 4079, 4327, 4451, 4513, 4637, 5009, 5381, 5443, 5939, 6311, 6373, 6869, 7489, 8171, 8233, 8419, 8543, 9349, 9473, 9721, 9907, 10093, 10589, 10651, 10837, 11519, 11953
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Programs
-
Magma
[p: p in PrimesUpTo(12000) | p mod 31 eq 18 ]; // Vincenzo Librandi, Aug 17 2012
-
Mathematica
Select[Range[18,20000,31],PrimeQ] (* Vladimir Joseph Stephan Orlovsky, Apr 30 2011 *)
-
PARI
is(n)=isprime(n) && n%31==18 \\ Charles R Greathouse IV, Jul 03 2016
Formula
a(n) ~ 30n log n. - Charles R Greathouse IV, Jul 03 2016