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

A142008
Primes congruent to 4 mod 31.
1
97, 283, 593, 1151, 1213, 1399, 1523, 1709, 2081, 2143, 2267, 2887, 3011, 3259, 3631, 4003, 4127, 4561, 4871, 4933, 5119, 5801, 5987, 6173, 6359, 6421, 6607, 6793, 6917, 7103, 7351, 7537, 7723, 8219, 8467, 8839, 8963, 9397, 9521, 9769, 10079, 10141, 10513
OFFSET
1,1
LINKS
FORMULA
a(n) ~ 30n log n. - Charles R Greathouse IV, Jul 03 2016
MATHEMATICA
Select[Range[4, 20000, 31], PrimeQ] (* Vladimir Joseph Stephan Orlovsky, Apr 20 2011 *)
Select[Prime[Range[1500]], Mod[#, 31]==4&] (* Harvey P. Dale, Sep 21 2021 *)
PROG
(Magma) [ p: p in PrimesUpTo(30000) | p mod 31 eq 4 ]; // Vincenzo Librandi, Apr 20 2011
(PARI) is(n)=isprime(n) && n%31==4 \\ Charles R Greathouse IV, Jul 03 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved