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

A129806
Primes congruent to +-5 mod 18.
4
5, 13, 23, 31, 41, 59, 67, 103, 113, 131, 139, 149, 157, 167, 193, 211, 229, 239, 257, 283, 293, 311, 337, 347, 373, 383, 401, 409, 419, 463, 491, 499, 509, 563, 571, 599, 607, 617, 643, 653, 661, 733, 743, 751, 761, 769, 787, 797, 823, 859, 877, 887, 941, 967, 977, 1013
OFFSET
1,1
COMMENTS
Primes congruent to (5,13) mod 18. - Vincenzo Librandi, Aug 14 2012
LINKS
Emma Lehmer, On special primes, Pac. J. Math., 118 (1985), 471-478.
MATHEMATICA
Select[Prime[Range[4000]], MemberQ[{5, 13}, Mod[#, 18]]&] (* Vincenzo Librandi, Aug 14 2012 *)
PROG
(Magma) [ p: p in PrimesUpTo(1300) | p mod 18 in {5, 13} ]; // Vincenzo Librandi, Aug 14 2012
CROSSREFS
Sequence in context: A155552 A219546 A143988 * A125830 A049882 A108195
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 22 2007
STATUS
approved