OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3) = 180 is a term because 180 = 83 + 97 = prime(23)+prime(25) and (180-1 = 179, 180+1 = 181) is a twin prime pair.
MAPLE
count:= 0: R:= NULL:
for i from 1 while count < 100 do
x:= ithprime(i)+ithprime(i+2);
if isprime(x-1) and isprime(x+1) then R:= R, x; fi
od:
R;
PROG
(PARI) lista(nn) = {for (n=2, nn, my(x=prime(n)+prime(n+2)); if (isprime(x-1) && isprime(x+1), print1(n, ", ")); ); } \\ Michel Marcus, Apr 02 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Apr 01 2021
STATUS
approved