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 #26 Sep 08 2022 08:45:11
%S 7,11,17,23,37,47,67,79,107,113,149,157,191,197,211,233,251,277,293,
%T 317,353,431,439,467,541,577,607,631,647,673,821,827,839,863,887,1031,
%U 1039,1061,1069,1097,1163,1237,1283,1297,1307,1327,1433,1459,1487,1493,1613
%N Primes such that the previous two primes are a twin prime pair.
%C Primes p such that prevprime(p) - 2 is prime. - _Irina Gerasimova_, Jun 28 2013
%H Amiram Eldar, <a href="/A088176/b088176.txt">Table of n, a(n) for n = 1..10000</a>
%p A088176 := proc(n)
%p nextprime(A006512(n)) ;
%p end proc:
%p seq(A088176(n),n=1..30) ; # _R. J. Mathar_, Nov 26 2014
%o (PARI) is(n)=isprime(n) && isprime(precprime(n-1)-2) \\ _Charles R Greathouse IV_, Jun 28 2013
%o (Magma) [NthPrime(n): n in [2..260] | IsPrime((NthPrime(n-1)-2))]; // _Vincenzo Librandi_, Nov 18 2014
%Y Cf. A088175.
%K easy,nonn
%O 1,1
%A _Zak Seidov_, Sep 22 2003
%E More terms from _Ray Chandler_, Sep 25 2003
%E Definition clarified by _Irina Gerasimova_, Jun 28 2013