%I A124767
%S A124767 0,1,1,1,1,2,2,1,1,2,1,2,2,3,2,1,1,2,2,2,2,2,3,2,2,3,2,3,2,3,2,1,1,2,2,
%T A124767 2,1,3,3,2,2,3,1,2,3,4,3,2,2,3,3,3,3,3,4,3,2,3,2,3,2,3,2,1,1,2,2,2,2,3,
%U A124767 3,2,2,2,2,3,3,4,3,2,2,3,3,3,2,2,3,2,3,4,3,4,3,4,3,2,2,3,3,3,2,4,4,3,3
%N A124767 Number of level runs for compositions in standard order.
%C A124767 The standard order of compositions is given by A066099.
%F A124767 a(0) = 0, a(n) = 1 + Sum_{1<=i=1<k, b(i)!=b(i+1)} 1 for n > 0.
%e A124767 Composition number 11 is 2,1,1; the level runs are 2; 1,1; so a(11) =
2.
%e A124767 The table starts:
%e A124767 0
%e A124767 1
%e A124767 1 1
%e A124767 1 2 2 1
%Y A124767 Cf. A066099, A124762, A011782 (row lengths).
%Y A124767 Sequence in context: A000002 A074295 A116514 this_sequence A112933 A088427
A104482
%Y A124767 Adjacent sequences: A124764 A124765 A124766 this_sequence A124768 A124769
A124770
%K A124767 easy,nonn,tabf
%O A124767 0,6
%A A124767 Franklin T. Adams-Watters (FrankTAW(AT)Netscape.net), Nov 06 2006
|