OFFSET
0,2
COMMENTS
Continued fraction for .2100101012101012101012101232101012321... (see A051699).
Very high value for a(17) = 116363868. This should imply that using the first 16 terms we have a good rational approximation of this decimal expansion: 131256182/624999375 is ok up to the 25th decimal digit.
MAPLE
Digits:=200: with(numtheory): P:=proc(q) local a, b, n; a:=21;
for n from 2 to q do if isprime(n) then a:=10*a; else
b:=min(nextprime(n)-n, n-prevprime(n)); a:=a*10^length(b)+b; fi; od;
op(convert(evalf(a/10^length(a)), confrac, 100)); end: P(200);
CROSSREFS
KEYWORD
base,cofr,nonn,easy
AUTHOR
Paolo P. Lava, Jun 17 2019
STATUS
approved