OFFSET
1,2
FORMULA
a(n)=A099540(n+1)-1
EXAMPLE
The decimal places of log(Pi) are 14472988584940017..., leading to the sums
1, 1+4, 1+4+4, 1+4+4+7, 1+4+4+7+2, ... which give the terms 1, 5, 9, 16, 18,...
MATHEMATICA
Accumulate[Rest[RealDigits[Log[Pi], 10, 100][[1]]]] (* Harvey P. Dale, Jan 22 2024 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Mark Hudson (mrmarkhudson(AT)hotmail.com), Oct 25 2004
STATUS
approved