|
| |
|
|
A124767
|
|
Number of level runs for compositions in standard order.
|
|
1
| |
|
|
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, 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, 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
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,6
|
|
|
COMMENTS
| The standard order of compositions is given by A066099.
|
|
|
FORMULA
| a(0) = 0, a(n) = 1 + Sum_{1<=i=1<k, b(i)!=b(i+1)} 1 for n > 0.
|
|
|
EXAMPLE
| Composition number 11 is 2,1,1; the level runs are 2; 1,1; so a(11) = 2.
The table starts:
0
1
1 1
1 2 2 1
|
|
|
CROSSREFS
| Cf. A066099, A124762, A011782 (row lengths).
Sequence in context: A000002 A074295 A116514 * A112933 A088427 A104482
Adjacent sequences: A124764 A124765 A124766 * A124768 A124769 A124770
|
|
|
KEYWORD
| easy,nonn,tabf
|
|
|
AUTHOR
| Franklin T. Adams-Watters (FrankTAW(AT)Netscape.net), Nov 06 2006
|
| |
|
|