statement theorem
Dyck words are counted by Catalan numbers
Statement
Let be a natural number. Then the number of Dyck words of semilength is the Catalan number .
Remarks
For the Dyck words are , , , and . Proof idea: a nonempty Dyck word has a unique form , where and are Dyck words. This gives the Catalan recurrence.
Explanations
L1 human
Each nonempty balanced bracket string starts with an opening bracket, and that bracket has a matching closing bracket. The inside and the part after the match are smaller balanced strings, so the count satisfies the Catalan recurrence.
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 3 nodes in this order. The foundations come first, and the list ends with this node.
- no evidence level
- Catalan numbers definition
- Dyck word definition
- Dyck words are counted by Catalan numbers statement
Sources
- Web https://en.wikipedia.org/wiki/Catalan_number, Applications in combinatorics
What links here
No node links to this node yet.