OFFSET
1,2
COMMENTS
Write the natural numbers as an infinite sequence of digits, starting at the left; and count the contiguous non-1 digits separated by digits "1".
EXAMPLE
a(1)=1: the unique digit ("0") before the first "1".
a(2)=8: the 8 digits 0(1)23456789(1)01112... between the first "1" and the "1" of 10.
a(3)=1: the "0" of 10, in between "1" de 10 and "1" of 11.
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Alexandre Wajnberg, Mar 28 2005
STATUS
approved