OFFSET
0,3
COMMENTS
The standard order of compositions is given by A066099.
This is the final term of the binomial transform of the composition.
LINKS
Alois P. Heinz, Rows n = 0..14, flattened
FORMULA
For a composition b(1),...,b(k), a(n) = Sum_{i=1}^k C(k-1,i-1) b(i).
EXAMPLE
Composition number 11 is 2,1,1; 1*2+2*1+1*1 = 5, so a(11) = 5.
The table starts:
0
1
2 2
3 3 3 4
CROSSREFS
KEYWORD
easy,nonn,tabf
AUTHOR
Franklin T. Adams-Watters, Nov 06 2006
STATUS
approved