login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A142183 Primes congruent to 1 mod 40. 1
41, 241, 281, 401, 521, 601, 641, 761, 881, 1201, 1321, 1361, 1481, 1601, 1721, 1801, 2081, 2161, 2281, 2441, 2521, 2801, 3001, 3041, 3121, 3361, 3761, 3881, 4001, 4201, 4241, 4441, 4481, 4561, 4721, 4801, 5081, 5281, 5441, 5521, 5641, 5801, 5881, 6121 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

FORMULA

a(n) ~ 16n log n. - Charles R Greathouse IV, Jul 03 2016

MATHEMATICA

Select[Prime[Range[2000]], MemberQ[{1}, Mod[#, 40]]&] (* Vincenzo Librandi, Aug 20 2012 *)

Select[Range[1, 7000, 40], PrimeQ] (* Harvey P. Dale, Dec 07 2015 *)

PROG

(MAGMA)[p: p in PrimesUpTo(7000) | p mod 40 eq 1]; // Vincenzo Librandi, Aug 20 2012

(PARI) is(n)=isprime(n) && n%40==1 \\ Charles R Greathouse IV, Jul 03 2016

CROSSREFS

Cf. A000040.

Sequence in context: A300464 A142392 A142943 * A201786 A167443 A098675

Adjacent sequences:  A142180 A142181 A142182 * A142184 A142185 A142186

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 26 17:49 EDT 2019. Contains 323597 sequences. (Running on oeis4.)