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

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