Catalan numbers
Definition
The Catalan numbers , for natural numbers , are defined by the recursion
Remarks
The first values, for , are . The closed formula is . counts Dyck words of semilength and binary trees with nodes, and many other families.
Explanations
L1 human
Catalan numbers count many structures that split into a left part and a right part. For example, there are ways to put brackets on a product of four factors: , , , and .
What this node needs for W2
- edge instance_of in: one example (0 of 1)
- edge not_instance_of in: one non-example that fails one clause (0 of 1)
The writing levels say how complete the text of a node is. They do not measure its truth.
What depends on this
4 nodes use this node, directly or through other nodes.
- Dyck words are counted by Catalan numbers 017SRZ7NE9
- Closed formula for Catalan numbers 0NNDQVJ54Q
- Catalan recurrence 0Y1MG9R5VN
- Binary trees are counted by Catalan numbers 0Y97E2DMB7
Sources
- Web https://en.wikipedia.org/wiki/Catalan_number, lead section
What links here
Used by
- Dyck words are counted by Catalan numbers 017SRZ7NE9
- Closed formula for Catalan numbers 0NNDQVJ54Q
- Catalan recurrence 0Y1MG9R5VN
- Binary trees are counted by Catalan numbers 0Y97E2DMB7