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

A142007
Primes congruent to 3 mod 31.
1
3, 127, 251, 313, 499, 809, 1181, 1367, 1429, 1553, 1801, 1987, 2111, 2297, 2731, 2917, 3041, 3413, 3847, 4157, 4219, 4591, 5087, 5273, 5521, 6079, 6203, 6389, 6451, 6637, 6761, 6823, 6947, 7691, 7753, 7877, 8311, 8807, 9241, 9551, 9613, 9923, 10357, 10667
OFFSET
1,1
LINKS
FORMULA
a(n) ~ 30n log n. - Charles R Greathouse IV, Jul 03 2016
MATHEMATICA
Select[Range[3, 20000, 31], PrimeQ] (* Vladimir Joseph Stephan Orlovsky, Apr 07 2011 *)
PROG
(Magma) [p: p in PrimesUpTo(11000) | p mod 31 eq 3]; // Vincenzo Librandi, Aug 06 2012
(PARI) is(n)=isprime(n) && n%31==3 \\ Charles R Greathouse IV, Jul 03 2016
CROSSREFS
Sequence in context: A133122 A139936 A221637 * A339084 A071151 A041867
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved