Enumerative combinatorics
DefinitionCatalan numbers#
The recursive definition of the sequence of Catalan numbers:
catalan (n + 1) = ∑ i : Fin n.succ, catalan i * catalan (n - i)
catalan : ℕ → ℕ
Sources
Sources
Uses 2
Statement usesFinite set · Natural number
DefinitionBell numbers#
Number of partitions of a set of cardinality m.sum
whose parts have cardinalities given by m
Multiset.bell (m : Multiset ℕ) : ℕ
Sources
Sources
Uses 2
Statement usesFinite set · Natural number
StructureDyck words#
A Dyck word is a list of DyckSteps with as many Us as Ds and with every prefix having
at least as many Us as Ds.
DyckWord : Type
Sources
Sources
Uses 2
Statement usesList · Natural number
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.