login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
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: A178835 A250942 A250943 * A140011 A296156 A250842
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 17:02 EDT 2024. Contains 371962 sequences. (Running on oeis4.)