OFFSET
1,1
EXAMPLE
a(4) = 53 because 53, 59, 61, 67 are consecutive primes with 53+59 = 112. 59+61 = 120, 61+67 = 128 all divisible by 8.
MAPLE
p:= 2: p0:= 2: vmax:= 1: R:= 2: v:= 1;
while vmax < 10 do
q:= p;
p:= nextprime(p);
if q+p mod 8 = 0 then
v:= v+1;
if v > vmax then
vmax:= v; R:= R, p0;
fi;
else
p0:= p; v:= 1;
fi
od:
R;
CROSSREFS
KEYWORD
nonn,more
AUTHOR
J. M. Bergot and Robert Israel, Mar 30 2021
EXTENSIONS
a(13)-a(15) from Chai Wah Wu, Mar 31 2021
a(16)-a(19) from Chai Wah Wu, Apr 07 2021
a(20)-a(22) from Martin Ehrenstein, Apr 15 2021
STATUS
approved