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

A142186
Primes congruent to 9 mod 40.
1
89, 409, 449, 569, 769, 809, 929, 1009, 1049, 1129, 1249, 1289, 1409, 1489, 1609, 1889, 2089, 2129, 2609, 2689, 2729, 2969, 3049, 3089, 3169, 3209, 3329, 3449, 3529, 3769, 3889, 3929, 4049, 4129, 4289, 4409, 4649, 4729, 4889, 4969, 5009, 5209, 5449, 5569
OFFSET
1,1
LINKS
FORMULA
a(n) ~ 16n log n. - Charles R Greathouse IV, Jul 03 2016
MATHEMATICA
Select[Prime[Range[2000]], MemberQ[{9}, Mod[#, 40]]&] (* Vincenzo Librandi, Aug 20 2012 *)
PROG
(Magma)[p: p in PrimesUpTo(7000) | p mod 40 eq 9]; // Vincenzo Librandi, Aug 20 2012
(PARI) is(n)=isprime(n) && n%40==9 \\ Charles R Greathouse IV, Jul 03 2016
CROSSREFS
Cf. A000040.
Sequence in context: A061372 A254754 A083473 * A142757 A051416 A279366
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved