OFFSET
1,1
EXAMPLE
Khinchin's constant 2.6854520010 ... so the sums are 2, 2+6, 2+6+8, 2+6+8+5, 2+6+8+5+4..., leading to the terms 2, 8, 16, 21, 25,...
MATHEMATICA
L= Rest@FoldList[ Plus, 0, First@ RealDigits[Khinchin, 10, 100]]
Accumulate[RealDigits[Khinchin, 10, 60][[1]]] (* Harvey P. Dale, Mar 24 2011 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Michel Lagneau, Sep 11 2010
STATUS
approved