login
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
OFFSET
1,1
LINKS
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: A326228 A142392 A142943 * A201786 A167443 A098675
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved