%I #2 Mar 31 2012 14:11:37
%S 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,
%T 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,
%U 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
%N Number of contiguous non-i digits in the counting numbers, for i=2.
%C 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".
%e a(1)=2: the two digits ("0" and "1") before the first "2".
%e a(2)=12: the twelve digits 01(2)345678910111(2)1314... between the first "2" and the "2" of 12.
%K base,easy,nonn
%O 2,1
%A _Alexandre Wajnberg_, Mar 28 2005
|