Skip to content

CutWord from Composition ​

A composition of n as the binary word of length n - 1 marking where it is cut.

Composition → BinaryWordinverse

Not order-preserving: IntegerCompositions lists compositions lex on their parts, while BinaryWords(n - 1) through Composition(word) gives them in their cut words' order.

Called as CombinatorialMap(x, "CutWord"). The head's page has its examples.