OFFSET
1,1
COMMENTS
Primes p such that prevprime(p) - 2 is prime. - Irina Gerasimova, Jun 28 2013
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
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
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