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

A088176
Primes such that the previous two primes are a twin prime pair.
4
7, 11, 17, 23, 37, 47, 67, 79, 107, 113, 149, 157, 191, 197, 211, 233, 251, 277, 293, 317, 353, 431, 439, 467, 541, 577, 607, 631, 647, 673, 821, 827, 839, 863, 887, 1031, 1039, 1061, 1069, 1097, 1163, 1237, 1283, 1297, 1307, 1327, 1433, 1459, 1487, 1493, 1613
OFFSET
1,1
COMMENTS
Primes p such that prevprime(p) - 2 is prime. - Irina Gerasimova, Jun 28 2013
LINKS
MAPLE
A088176 := proc(n)
nextprime(A006512(n)) ;
end proc:
seq(A088176(n), n=1..30) ; # R. J. Mathar, Nov 26 2014
PROG
(PARI) is(n)=isprime(n) && isprime(precprime(n-1)-2) \\ Charles R Greathouse IV, Jun 28 2013
(Magma) [NthPrime(n): n in [2..260] | IsPrime((NthPrime(n-1)-2))]; // Vincenzo Librandi, Nov 18 2014
CROSSREFS
Cf. A088175.
Sequence in context: A158350 A048203 A370009 * A046132 A162337 A056687
KEYWORD
easy,nonn
AUTHOR
Zak Seidov, Sep 22 2003
EXTENSIONS
More terms from Ray Chandler, Sep 25 2003
Definition clarified by Irina Gerasimova, Jun 28 2013
STATUS
approved