Index: > A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Business Industries Finance Tax

Home > Catalan number


First Prev [ 1 2 ] Next Last

The Catalan numbers, named after the Belgian mathematician Eugène Charles Catalan (1814—1894), form a sequence of natural numbers that occur in various counting problems in combinatorics. The nth Catalan number is defined by

(see binomial coefficient). The first Catalan numbers (sequence A000108 in OEIS) for n = 0, 1, 2, 3, ... are

1, 1, 2, 5, 14, 42, 132, 429, 1430,...

All Catalan numbers are natural numbers because one can verify that

1 Applications in combinatorics

One can count Dyck words with the following trick due to D. André: focus on those words containing n X's and n Y's that are not Dyck words. In such a word, find the first Y that violates the Dyck condition, and then flip all letters following this Y from Y to X and vice versa. You obtain a word with n + 1 Y's and n − 1 X's, and in fact every word with n + 1 Y's and n − 1 X's can be obtained in this fashion in precisely one way. The number of these words is equal to
which is therefore the same as the number of non-Dyck words; the number of Dyck words must then be
which is the nth Catalan number Cn.
If w is a finite sequence of different integers, we define a reordering S(w) of w recursively as follows: write w = unv where n is the largest element in w and u and v are shorter sequences, and set S(w) = S(u)S(v)n, with S being the identity for one-element sequences. A permutationThis article is about permutation a mathematical concept. See permutation (music) for the application of this concept to music. In mathematics, the concept of a permutation expresses the idea that objects that can be distinguished may be arranged in vario w of {1, ..., n} is called stack-sortable if S(w) = (1, ..., n). The number of stack-sortable permutations of {1, ..., n} is equal to Cn.




Non User