OFFSET
1,1
COMMENTS
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..34
EXAMPLE
MAPLE
f:= proc(n)
nops(select(t -> isprime(n+t) and isprime(n+2+t), numtheory:-divisors(n+1)))
end proc:
R:= 4: count:= 1: rcount:= 1: vmax:= 1:
for k from 5 by 6 while count < 50000 do
if isprime(k) and isprime(k+2) then
count:= count+1; v:=f(k);
if v > vmax then
R:= R, k+1;
rcount:= rcount+1;
vmax:= v;
fi
fi
od:R;
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Dec 30 2019
EXTENSIONS
a(10) and beyond from Giovanni Resta, Jan 03 2020
STATUS
approved