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

A142096
Primes congruent to 31 mod 35.
1
31, 101, 241, 311, 521, 661, 941, 1151, 1291, 1361, 1571, 2131, 2341, 2411, 2551, 2621, 2971, 3041, 3181, 3251, 3391, 3461, 3671, 3881, 4021, 4091, 4231, 4441, 4651, 4721, 4861, 4931, 5281, 5351, 5701, 5981, 6121, 6961, 7451, 7591, 8011, 8081, 8221, 8291
OFFSET
1,1
LINKS
MATHEMATICA
Select[Range[31, 20000, 35], PrimeQ] (* Vladimir Joseph Stephan Orlovsky, Jun 29 2011 *)
Select[Prime[Range[1100]], MemberQ[{31}, Mod[#, 35]] &] (* Vincenzo Librandi, Aug 19 2012 *)
PROG
(PARI) select(n->n%35==31, primes(1000)) \\ Charles R Greathouse IV, Jun 29 2011
(Magma) [p: p in PrimesUpTo(10000) | p mod 35 eq 31 ]; // Vincenzo Librandi, Aug 19 2012
CROSSREFS
Cf. A000040.
Sequence in context: A039463 A181188 A323617 * A268986 A222550 A075936
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved