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

A129807
Primes congruent to +-7 mod 18.
6
7, 11, 29, 43, 47, 61, 79, 83, 97, 101, 137, 151, 173, 191, 223, 227, 241, 263, 277, 281, 313, 317, 331, 349, 353, 367, 389, 421, 439, 443, 457, 461, 479, 547, 569, 587, 601, 619, 641, 659, 673, 677, 691, 709, 727, 821, 839, 853, 857, 907, 911, 929, 947, 983, 997, 1019
OFFSET
1,1
COMMENTS
Also: primes that are sums of three consecutive terms of A001651. These sum to either 3k+1+3k+2+3k+4=9k+7, candidates for A061241, or 3k+2+3k+4+3k+5=9k+11, candidates for A061238. - R. J. Mathar, Jun 10 2007
LINKS
Emma Lehmer, On special primes, Pac. J. Math., 118 (1985), 471-478.
FORMULA
Conjecture: Equals (A061241 UNION A061238) MINUS {2}. - R. J. Mathar, Jun 10 2007
MATHEMATICA
Select[Prime[Range[1000]], MemberQ[{7, 11}, Mod[ #, 18]]&] (* Zak Seidov, May 23 2007 *)
PROG
(Magma) [ p: p in PrimesUpTo(1300) | p mod 18 in {7, 11} ]; // Vincenzo Librandi, Aug 14 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 22 2007
STATUS
approved