login
A103761
Number of contiguous non-i digits in the counting numbers, for i=2.
0
2, 12, 14, 1, 1, 1, 1, 1, 1, 1, 1, 6, 19, 19, 19, 19, 19, 19, 22, 29, 22, 2, 2, 1, 2, 2, 2, 2, 2, 2, 9, 29, 29, 29, 29, 29, 29, 21, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2
OFFSET
2,1
COMMENTS
Write the natural numbers as an infinite sequence of digits, starting at the left; and count the contiguous non-2 digits separated by digits "2".
EXAMPLE
a(1)=2: the two digits ("0" and "1") before the first "2".
a(2)=12: the twelve digits 01(2)345678910111(2)1314... between the first "2" and the "2" of 12.
CROSSREFS
Sequence in context: A081539 A141273 A010097 * A286241 A078755 A186647
KEYWORD
base,easy,nonn
AUTHOR
Alexandre Wajnberg, Mar 28 2005
STATUS
approved