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

A142197
Primes congruent to 37 mod 40.
1
37, 157, 197, 277, 317, 397, 557, 677, 757, 797, 877, 997, 1117, 1237, 1277, 1597, 1637, 1877, 1997, 2237, 2357, 2437, 2477, 2557, 2677, 2797, 2837, 2917, 2957, 3037, 3517, 3557, 3637, 3677, 3797, 3877, 3917, 4157, 4357, 4397, 4517, 4597, 4637, 4877, 4957
OFFSET
1,1
LINKS
FORMULA
a(n) ~ 16n log n. - Charles R Greathouse IV, Jul 03 2016
MATHEMATICA
Select[Prime[Range[2000]], MemberQ[{37}, Mod[#, 40]]&] (* Vincenzo Librandi, Aug 22 2012 *)
Select[Range[37, 5000, 40], PrimeQ] (* Harvey P. Dale, Jan 04 2022 *)
PROG
(Magma) [p: p in PrimesUpTo(7000) | p mod 40 eq 37 ]; // Vincenzo Librandi, Aug 22 2012
(PARI) is(n)=isprime(n) && n%40==37 \\ Charles R Greathouse IV, Jul 03 2016
CROSSREFS
Cf. A000040.
Sequence in context: A379871 A250942 A250943 * A140011 A296156 A250842
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved