statement theorem
Number of compositions
Statement
Let be a positive integer. Then the number of compositions of is .
Remarks
Proof: write as a row of ones. A composition is a choice of where to cut among the gaps between them. The number of compositions of into exactly parts is . For there is one composition, the empty one.
Explanations
L1 human
Put dots in a row. Between two neighbours you either draw a bar or you do not. There are gaps with choices each, so there are compositions.
What this node needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
The writing levels say how complete the text of a node is. They do not measure its truth.
What this needs
To read this node, read these 2 nodes in this order. The foundations come first, and the list ends with this node.
- no evidence level
- Composition of an integer definition
- Number of compositions statement
Sources
- Web https://en.wikipedia.org/wiki/Composition_(combinatorics), Number of compositions
What links here
No node links to this node yet.