OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3) = 11 is a term because 13, 17, 19 are consecutive primes with (13+2*17+19)/6 = 11 and 11 is prime.
MAPLE
q:= 2: r:= 3:
count:= 0: R:= NULL:
while count < 100 do
p:= q; q:= r; r:= nextprime(r);
w:= (p+2*q+r)/6;
if w::integer and isprime(w) then
count:= count+1; R:= R, w;
fi
od:
R;
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Dec 24 2020
STATUS
approved