login
A142185
Primes congruent to 7 mod 40.
1
7, 47, 127, 167, 367, 487, 607, 647, 727, 887, 967, 1087, 1327, 1367, 1447, 1487, 1567, 1607, 1847, 2087, 2207, 2287, 2447, 2647, 2687, 2767, 2887, 2927, 3167, 3407, 3527, 3607, 3727, 3767, 3847, 3967, 4007, 4127, 4327, 4447, 4567, 4967, 5087, 5167, 5407
OFFSET
1,1
LINKS
FORMULA
a(n) ~ 16n log n. - Charles R Greathouse IV, Jul 03 2016
MATHEMATICA
Select[Prime[Range[2000]], MemberQ[{7}, Mod[#, 40]]&] (* Vincenzo Librandi, Aug 20 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(7000) | p mod 40 eq 7]; // Vincenzo Librandi, Aug 20 2012
(PARI) is(n)=isprime(n) && n%40==7 \\ Charles R Greathouse IV, Jul 03 2016
CROSSREFS
Cf. A000040.
Sequence in context: A009219 A348394 A158713 * A158914 A046872 A167860
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved