OFFSET
1,2
EXAMPLE
log(Pi)=1.14472988584940017... which gives the sums 1, 1+1, 1+1+4, 1+1+4+4, 1+1+4+4+7,... leading to the terms 1, 2, 6, 10, 17,...
MATHEMATICA
Accumulate[RealDigits[Log[Pi], 10, 120][[1]]] (* Harvey P. Dale, Aug 14 2018 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Mark Hudson (mrmarkhudson(AT)hotmail.com), Oct 25 2004
STATUS
approved