A124772 Number of set partitions associated with compositions in standard order.
1, 1, 1, 1, 1, 2, 1, 1, 1, 3, 3, 3, 1, 2, 1, 1, 1, 4, 6, 6, 4, 8, 4, 4, 1, 3, 3, 3, 1, 2, 1, 1, 1, 5, 10, 10, 10, 20, 10, 10, 5, 15, 15, 15, 5, 10, 5, 5, 1, 4, 6, 6, 4, 8, 4, 4, 1, 3, 3, 3, 1, 2, 1, 1, 1, 6, 15, 15, 20, 40, 20, 20, 15, 45, 45, 45, 15, 30, 15, 15, 6, 24, 36, 36, 24, 48, 24, 24, 6, 18
Offset: 0
Examples
Composition number 11 is 2,1,1; the associated set partitions are 12|3|4, 13|2|4 and 14|2|3, so a(11) = 3. The table starts: 1 1 1 1 1 2 1 1
Links
- Alois P. Heinz, Rows n = 0..14, flattened
Formula
For composition b(1),...,b(k), a(n) = Product_{i=1}^k C((Sum_{j=i}^k b(j))-1, b(i)-1).
Comments