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”).
%I #31 Oct 31 2022 19:26:01
%S 11,17,29,41,101,137,281,617,641,821,1697,1877,2081,2237,2381,2657,
%T 2801,3461,3557,3917,4637,4721,5441,6197,6701,8537,8597,9677,10937,
%U 12161,12377,12821,12917,13217,13721,13757,13997,14081,16061,17417
%N Lesser of twin primes whose average is 6 times a prime.
%C Lowest factor-density among all positive consecutive integer triples; for p > 41, last digit of p can be only 1 or 7 (see Alexandrov link, p. 15). - _Lubomir Alexandrov_, Nov 25 2001
%H Harvey P. Dale, <a href="/A060213/b060213.txt">Table of n, a(n) for n = 1..1000</a>
%H Lubomir Alexandrov, <a href="https://arxiv.org/abs/math/9811096">On the nonasymptotic prime number distribution</a>, arXiv:math/9811096 [math.NT], 1998, see p. 15.
%F a(n) = 6 * A060212(n) - 1. - _Sean A. Irvine_, Oct 31 2022
%e 102197 is here because 102198 = 17033*6 and 17033 is prime.
%p map(t -> 6*t-1, select(p -> isprime(p) and isprime(6*p-1) and isprime(6*p+1), [2,seq(i,i=3..10000,2)]));
%t Transpose[Select[Partition[Prime[Range[2500]],2,1],#[[2]]-#[[1]] == 2 && PrimeQ[Mean[#]/6]&]][[1]] (* _Harvey P. Dale_, May 04 2014 *)
%o (PARI) isok(n) = isprime(n) && isprime(n+2) && !((n+1) % 6) && isprime((n+1)/6); \\ _Michel Marcus_, Dec 14 2013
%Y Cf. A002822, A058383, A059960, A027856, A001454, A001359, A060212.
%K nonn
%O 1,1
%A _Labos Elemer_, Mar 20 2001
%E Offset changed to 1 by _Michel Marcus_, Dec 14 2013