OFFSET
0,2
EXAMPLE
1.33274738243289922500860109837389970441674398225984453657972 ...
MAPLE
with(numtheory): hz:= limit(1+k -sum(exp(-2^j), j=-k..k), k=infinity): cfrac(evalf(hz, 130), 100, 'quotients')[];
MATHEMATICA
terms = 95; digits = terms+15; Clear[f]; f[k_] := f[k] = 1+k-Sum[Exp[-2^j], {j, -k, k}] // RealDigits[#, 10, digits+1]& // First // Quiet; f[1]; f[n = 2]; While[f[n] != f[n-1], n++]; hz = FromDigits[f[n]]*10^-digits; ContinuedFraction[hz, terms] (* Jean-François Alcover, Mar 23 2017 *)
CROSSREFS
KEYWORD
cofr,nonn
AUTHOR
Alois P. Heinz, Mar 19 2009
STATUS
approved