OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3)=59 is in the sequence because 59, 61, 67 are consecutive primes and 59+2*61=181 and 59+2*61+4*67=449 are prime.
MAPLE
N:= 2000: # to get terms in the first N primes
P:= [seq(ithprime(i), i=1..N+2)]:
P[select(i -> isprime(P[i]+2*P[i+1]) and isprime(P[i]+2*P[i+1]+4*P[i+2]), [$1..N])];
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Aug 19 2020
STATUS
approved