Catalan numbers

cosmos 2nd April 2017 at 6:17pm
Combinatorics

A sequence of numbers that arises in Combinatorics, often of objects defined recursively, like trees. See also Analytic combinatorics

Think of them as a discrete Random walk (open parens = +1, closed parens = -1). Then a string of length 2n of balanced parenthesis (n pairs of parens) corresponds to a string which has same number of +/- 1s, and the cumulative sum never goes negative (so the random walk never crosses 0, though it may touch it).

Now the number of walks of 2n steps that start and end at 0 are (2nn)\binom{2n}{n}. However, consider the Equivalence class of strings related by a Cyclic permutation. One can convince oneself that in each of those classes there is only 1 string that doesn't cross 0 (constructed by taking any string in the class and moving its minimum to the first step; any other string's minimum would be negative, think about this). Furthermore, because there's n+1n+1 time points for nn steps, there are n+1n+1 cyclic permutations and thus n+1n+1 members in each of these classes. Clearly, as equivalence classes partition a set, these don't overlap. This all implies that the number of random walks that start and end at 0, and don't go negative at any point is (2nn)n+1\frac{\binom{2n}{n}}{n+1}

https://en.wikipedia.org/wiki/Catalan_number

Catalan numbers

http://mathworld.wolfram.com/CatalanNumber.html

video