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