login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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