OFFSET
1,2
COMMENTS
The continued fraction for D(3) = 0.123 is [0, 8, 7, 1, 2, 5] with 6 elements the continued fraction for 0.1234 is [0, 8, 9, 1, 1, 1, 3, 1, 1, 2] with 10 elements > 6 and 4 is the smallest number in (1,2,3,4,5,6,7,8,9), hence d(4)=a(4)=4.
CROSSREFS
KEYWORD
fini,full,nonn,base
AUTHOR
Benoit Cloitre, Aug 07 2002
STATUS
approved