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

A142011
Primes congruent to 7 mod 31.
1
7, 131, 193, 317, 379, 503, 751, 937, 1061, 1123, 1433, 1619, 1867, 2053, 2239, 2549, 2797, 3169, 3541, 3727, 3851, 4099, 4409, 4657, 4967, 5153, 5711, 5897, 6269, 6703, 6827, 7013, 7757, 8191, 8377, 8501, 8563, 9059, 9431, 9679, 9803, 10733, 11353, 12097
OFFSET
1,1
LINKS
FORMULA
a(n) ~ 30n log n. - Charles R Greathouse IV, Jul 03 2016
MATHEMATICA
Select[Range[7, 20000, 31], PrimeQ] (* Vladimir Joseph Stephan Orlovsky, Apr 20 2011 *)
PROG
(Magma) [ p: p in PrimesUpTo(30000) | p mod 31 eq 7 ]; // Vincenzo Librandi, Apr 20 2011
(PARI) is(n)=isprime(n) && n%31==7 \\ Charles R Greathouse IV, Jul 03 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved