login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Number of contiguous non-i digits in the counting numbers, for i=1.
0

%I #2 Mar 31 2012 14:11:37

%S 1,8,1,1,1,1,1,1,1,1,4,19,19,19,19,19,19,19,16,2,1,2,2,2,2,2,2,2,2,1,

%T 1,1,1,1,1,1,1,1,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,

%U 2,2,2,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,2,2,1,2

%N Number of contiguous non-i digits in the counting numbers, for i=1.

%C 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".

%e a(1)=1: the unique digit ("0") before the first "1".

%e a(2)=8: the 8 digits 0(1)23456789(1)01112... between the first "1" and the "1" of 10.

%e a(3)=1: the "0" of 10, in between "1" de 10 and "1" of 11.

%K base,easy,nonn

%O 1,2

%A _Alexandre Wajnberg_, Mar 28 2005