OFFSET
1,1
COMMENTS
For the similar case of number of correct decimal places see A084407.
The denominator of the k-th convergent obtained from a continued fraction satisfying the Gauss-Kuzmin distribution will tend to exp(k*A100199), A100199 being the inverse of Lévy's constant; the error between the k-th convergent and the constant itself tends to exp(-2*k*A100199), or in binary digits 2*k*A100199/log(2) bits after the binary point.
The sequence for quaternary digits is obtained by floor(a(n)/2), the sequence for octal digits is obtained by floor(a(n)/3), the sequence for hexadecimal digits is obtained by floor(a(n)/4).
LINKS
A.H.M. Smeets, Table of n, a(n) for n = 1..20000
EXAMPLE
Pi = 11.0010010000111111...
n=1: 3/1 = 11.000... so a(1) = 2
n=2: 22/7 = 11.001001001... so a(2) = 8
n=3: 333/106 = 11.00100100001110... so a(3) = 13
CROSSREFS
KEYWORD
nonn,base
AUTHOR
A.H.M. Smeets, Jun 13 2018
STATUS
approved