login
A142022
Primes congruent to 18 mod 31.
1
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,1
LINKS
FORMULA
a(n) ~ 30n log n. - Charles R Greathouse IV, Jul 03 2016
MATHEMATICA
Select[Range[18, 20000, 31], PrimeQ] (* Vladimir Joseph Stephan Orlovsky, Apr 30 2011 *)
PROG
(Magma) [p: p in PrimesUpTo(12000) | p mod 31 eq 18 ]; // Vincenzo Librandi, Aug 17 2012
(PARI) is(n)=isprime(n) && n%31==18 \\ Charles R Greathouse IV, Jul 03 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved