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

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