login
A142024
Primes congruent to 20 mod 31.
1
113, 547, 733, 857, 919, 1229, 1291, 1601, 1663, 1787, 1973, 2221, 2531, 2593, 2903, 3089, 3461, 3709, 3833, 4019, 4391, 4639, 5011, 5197, 5507, 5569, 5693, 5879, 6871, 7057, 7243, 8111, 8297, 8669, 8731, 9041, 9103, 9227, 9413, 9661, 10343, 10529, 11087
OFFSET
1,1
LINKS
FORMULA
a(n) ~ 30n log n. - Charles R Greathouse IV, Jul 03 2016
MATHEMATICA
Select[Range[20, 20000, 31], PrimeQ] (* Vladimir Joseph Stephan Orlovsky, Apr 30 2011 *)
Select[Prime[Range[1400]], Mod[#, 31]==20&] (* Harvey P. Dale, Jul 30 2020 *)
PROG
(Magma) [p: p in PrimesUpTo(12000) | p mod 31 eq 20 ]; // Vincenzo Librandi, Aug 17 2012
(PARI) is(n)=isprime(n) && n%31==20 \\ Charles R Greathouse IV, Jul 03 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved