SlideShare a Scribd company logo
1 of 11
Download to read offline
The Catalan Numbers: Sequence of Integer
                                Pai Sukanya Suksak

                                December 16, 2010

1. Introduction

Catalan Numbers: Sequence of Integer




                 Figure 1 The central binomial coefficients of Pascal’s Triangle

As shown in figure 1, the middle numbers in Pascal’s triangle are following;
                                     1, 2, 6, 20, 70,…
They can be divided by
                                       1, 2, 3, 4, 5,…
then, we obtain the sequence of following numbers
                                      1, 1, 2, 5, 14,…
                                                                     βŽ› 2n ⎞
Since each middle number is derided from the binomial coefficient, ⎜ ⎟ , then we
                                                                     ⎝ n⎠
divide each number by (n + 1). These numbers are called Catalan numbers. The formula
of Catalan numbers will be presented in Theorem 1.[2]

2. General Knowledge of the Catalan Numbers

Catalan numbers, which appear in many counting problem such as monotonic paths,
Dyck words, dividing polygons, and noncrossing partitions, form a sequence of a
sequence of natural numbers.

Historical Information
       The Catalan numbers were previously discussed by the Chinese mathematician
Antu Ming in 1730, but his work was not well-known in the Western world because it
was introduced only in China. Then, in 1751, the Swiss mathematician Leonhard Euler
found the Catalan numbers while he was studying the triangulations of convex polygons.
Until 1838, the Belgian mathematician Eugene Charles Catalan discovered the Catalan
numbers while he was studying the sequence of parentheses. Even though the Catalan
numbers were discovered long time ago, they were named just after Eugene Charles
Catalan introduced them to the Western world.[4]
        In fact, there are various ways to define the Catalan numbers, we are going to
introduce one of them. Kreher and Stinson (1956) define the Catalan numbers in term of
totally balanced sequence. [6]

Definition 1. Let n be a positive integer, and let a = [a1, a2, …, a2n-1, a2n] ∈ ( Z 2)2n. The
sequence is said to be totally balanced sequence if the following two properties are
satisfied:
        a) a contains n 0s and n 1s, and
        b) for any I, 1 ≀ I ≀ 2n, it hold that
                | {j : 1 ≀ j ≀ I, ai = 0}| β‰₯ | {j : 1 ≀ j ≀ I, ai = 1} |.

        Now, we are ready to define the Catalan numbers using the definition of the
totally balance sequence. [6]

Definition. Let Cn denote the set of all totally balanced sequences in (Ξ–2)2n. Cn is referred
to a Catalan family of order n. The Catalan number Cn is defined to be
Cn = |Cn|.[6]

       By the definition of the Catalan numbers above, the first fourth terms of the
Catalan families Cn and the Catalan numbers Cn in Table 1.

Table 1 shows the Catalan families Cn and the Catalan numbers Cn for 1 ≀ n ≀ 4. [6]

          N       Cn                                                                     Cn
          1       01                                                                     1
          2       0011         0101                                                      2
          3       000111       001011       001101      010011    010101                 3
          4       00001111     00010111     00011011    00011101 00100111                4
                  00101011     00101101     00110011    00110101 01000111
                  01001011     01001101     01010011    01010101
                                                                (Kreher and Stinson, 1956)

     In the first theorem, we are going to state a formula of the Catalan number that is
commonly used.

3. Formula of the Catalan Number and Its Proof

Theorem. For any integer n β‰₯ 1, the Catalan number Cn is given in term of binomial
coefficients by
1 βŽ› 2n ⎞     (2n)!
                  Cn =        ⎜ n ⎟ = (n + 1)!n! , for n β‰₯ 1.
                         n + 1⎝ ⎠
                                                                             (a)


       For instance, the first tenth Catalan numbers are C1 = 1, C2 = 2, C3 = 5, C4 =
14, C5 = 42, C6 = 132, C7 = 429, C8 = 1430, C9 = 4862 and C10 = 16796. [4]

Proof. To derive the formula, we are going to prove by using the triangulation
definition. We are going to apply Euler’s Triangulation problem. Consider the ways of
triangulating n-gon, where 3 ≀ n ≀ 5.[4]

Figure 2 Triangulations of an n-gon, where 3 ≀ n ≀ 5.




     One way of triangulating a triangle           Two ways of triangulating a square




                     http://www.toulouse.ca/EdgeGuarding/MobileGuards.html


                          Five ways of triangulating a pentagon

       Euler used an inductive argument to establish the following formula.

                                       2 β‹… 6 β‹…10 β‹… ...β‹… (4n βˆ’ 10)
                         An     =                                 ,                n β‰₯ 3.
                                               ( n βˆ’ 1)!
       However, we need to extend the formula of Euler that was published in 1761 to
include the case n = 0, 1, and 2 because the original formula makes sense only for n β‰₯ 3.
Then we have

                                        2 β‹… 6 β‹…10 β‹… ...β‹… (4k + 2)
                         Ak+3   =                                 ,                k β‰₯ 0.
                                                ( k + 2 )!
Then, let Cn = Ak+2. Thus,

                                        2 β‹… 6 β‹…10 β‹… ...β‹… (4n βˆ’ 2)
                         Cn     =                                 ,                n β‰₯ 1.
                                                ( n + 1)!
The expression of Cn can be rewritten as

                                          (4n βˆ’ 2) β‹… 2 β‹… 6 β‹…10 β‹… ...β‹… (4n βˆ’ 6)
                       Cn       =
                                                      ( n + 1) n!
                                           (4n βˆ’ 2) β‹… Cn βˆ’1
                                =
                                              ( n + 1)


When n = 1, we will have C0 = C1 = 1. Thus, we can define C0 = 1 and Cn recursively as
following;

                                                             (4n βˆ’ 2) β‹… Cn βˆ’1
              C0 = 1            and         Cn =
                                                                ( n + 1)
To show the recursive formula implying the formula (a) of the Catalan number, it can be
processed algebraically.

                    (4n βˆ’ 2) β‹… Cn βˆ’1
              Cn =
                        ( n + 1)
                     (4n βˆ’ 2) β‹… (4n βˆ’ 6) β‹… Cn βˆ’ 2
                  =
                              ( n + 1) n
                    (4n βˆ’ 2) β‹… (4n βˆ’ 6) β‹… ( 4n βˆ’ 10 ) β‹… Cn βˆ’ 3
                  =
                                ( n + 1) n(n βˆ’ 1)
                    (4n βˆ’ 2) β‹… (4n βˆ’ 6) β‹… ( 4n βˆ’ 10 ) β‹…... β‹… 6 β‹… 2 β‹… C0
                  =
                                ( n + 1) n(n βˆ’ 1) β‹… β‹… β‹… 3 β‹… 2
                     ⎑(2n βˆ’ 1) β‹… (2n βˆ’ 3) β‹… ( 2n βˆ’ 5 ) β‹…... β‹… 3 β‹…1⎀ β‹… 2 n
                   = ⎣                                            ⎦
                                       ( n + 1)!

                        2 n (2n)!
                   =
                     2 n n!( n + 1)!
                         (2n)!
                   =
                     n!( n + 1)!

                         1 βŽ› 2n ⎞
                   =                                                             
                       n + 1⎜ n ⎟
                            ⎝ ⎠

        Thus, we obtain the formula (a) of the Catalan number by using the recursion
relation as we wish.
4. Properties of the Catalan numbers

 4.1 Parity of Catalan Numbers

 Definition. Let r be the remainder, then the parity of an integer is defined as its attribute
 of being even or odd, which means 1) let b = 2 and a be an integer, if the remainder, r,
 such that r = 0, the integer a is called even and has the form a = 2q; 2) if the remainder r,
 such that r = 1, the integer a is called odd and has the form a = 2q + 1.
          Two given integers, s and t, have the same parity, if they are both even, or both
 odd; but if one of them is even, and the other is odd, then s and t are said to be of different
 parity. [5]

  Table 2 The first 18 Catalan Numbers (Koshy and Salmassi, 2006)
n     0       1        2        3       4       5           6                         7         8
Cn    1       1        2        5       14      42          132                       429       1430

n 9     10    11    12     13     14      15      16       17
Cn 4862 16796 58786 208012 742900 2674440 9694845 35357670 129644790

          As shown in Table 2, for n ≀ 17, the Catalan numbers, Cn, are odd when n = 0, 1,
 3, 7, and 15. All of those numbers that have the same form which is 2m – 1 when m > 0
 (i.e. the 2nd and 3rd Catalan numbers) are prime. The numbers of the form 2m – 1 where m
 is an integer are known as Mersenne numbers.[5]
           In order to prove the next theorem, we are first going to introduce one of the
 generalized Catalan numbers formulas.

 Lemma. [8]For any p β‰₯ 2, the generalized Catalan number Cp (n) , such that
                  1        βŽ› pn ⎞
 C p (n) =                        , can be defined recursively by
           ( p βˆ’ 1)(n + 1) ⎜ n ⎟
                           ⎝ ⎠
                                ( p βˆ’1)n +1
                                     p
                                                       βŽ› ( p βˆ’ 1)(n βˆ’ k) + 1⎞
    Cp (0) = 1, and C p (n) =      βˆ‘          (βˆ’1)k βˆ’1 ⎜
                                                       ⎝          k         ⎟ C p (n βˆ’ k) ,
                                                                            ⎠
                                                                                              n β‰₯ 1.
                                   k =1


         In particular, p = 2 corresponds to the usual Catalan numbers C2(n) satisfy the
 linear recursion. i.e.,
                                      n +1
                                       2
                                             βŽ› (n βˆ’ k) + 1⎞
                         C2 (n) = βˆ‘ (βˆ’1)k βˆ’1 ⎜            ⎟ C2 (n βˆ’ k) ,                       n β‰₯ 1.
                                  k =1       ⎝      k     ⎠

                                                     pk βˆ’ 1
 Theorem. The prime p | Cp(n) if and only if n β‰             for all integers k β‰₯ 0. In
                                                     p βˆ’1
 particular, C2(n) is odd if and only if n is a Mersenne number 2k – 1 where some integers
 k. [8]
pk βˆ’ 1
Proof. We are going to prove that if the prime p | Cp(n) then n β‰                        .
                                                                                 p βˆ’1
Let Cp(n) be the generalized Catalan number, for any p β‰₯ 2, i.e.
                               ( p βˆ’1)n +1
                                    p
                                                      βŽ› ( p βˆ’ 1)(n βˆ’ k) + 1⎞
                   C p (n) =      βˆ‘          (βˆ’1)k βˆ’1 ⎜
                                                      ⎝          k         ⎟ C p (n βˆ’ k) .
                                                                           ⎠
                                  k =1
To prove the statement, we shall apply induction on n. For the base step, the result holds
for n = 1, since Cp(1) = 1. Then, we assume n > 1 and that the result holds for all number
m, m < n. Let p r ≀ n ≀ p r +1 βˆ’ 1 . We will consider the right-hand side of Cp(n). We will let
it called modulo p. Then, we apply the induction hypothesis that for m < n, we will have
Cp(m) is a multiple of p if (p – 1) m +1 is not a power of p.
                                                                            pN βˆ’ 1
For the term of modulo p, the summation of the term n – k is the form              . However,
                                                                             p βˆ’1
since p r ≀ n ≀ p r +1 , the only non-zero term modulo p, is the one corresponding to the
                                                             p r +1 βˆ’ 1
index k for which (p – 1)(n – k) = pr – 1 if n ≀                        (respectively,
                                                              p βˆ’1
                                         p r +1 βˆ’ 1
( p βˆ’ 1)(n βˆ’ k) = p r +1 βˆ’ 1 if n >                 ). This term is, to within sign,
                                          p βˆ’1
βŽ›     pr   ⎞
           ⎟ C βŽ› p βˆ’ 1 ⎞ if n ≀ p βˆ’ 1 (respectively, ( p βˆ’ 1)(n βˆ’ k) = p r +1 βˆ’ 1 if
                  r              r +1
⎜
⎜ n βˆ’ p βˆ’ 1⎟ p ⎜ p βˆ’ 1 ⎟
       r

⎜              ⎝       ⎠         p βˆ’1
⎝     p βˆ’1 ⎟
           ⎠
     p r +1 βˆ’ 1                                βŽ› pr ⎞
n>              ). As the binomial coefficient ⎜ ⎟ is a multiple of p if and only if 0 < s <
      p βˆ’1                                     ⎝s ⎠
                                                                        pr βˆ’ 1
pr, the above term is a multiple of p if and only if 0 < n βˆ’                      < p r if
                                                                         p βˆ’1
      p r +1 βˆ’ 1                                                          p r +1 βˆ’ 1
n≀               (respectively, p r +1 < ( p βˆ’ 1)n + 1 < p r + 2  if n >             ). This is equivalent to
        p βˆ’1                                                               p βˆ’1
                                      p r +1 βˆ’ 1
 p r < ( p βˆ’ 1)n + 1 < p r +1 if n ≀             (respectively, p r +1 < ( p βˆ’ 1)n + 1 < p r + 2 if
                                       p βˆ’1
      p r +1 βˆ’ 1
n>               ). This implies that (p – 1)n + 1 is not a power of p. Therefore, we can
        p βˆ’1
                                                       pk βˆ’ 1
conclude that if the prime p | Cp(n) then n β‰                    .                                   
                                                        p βˆ’1
5. The Generating Function of Catalan Numbers

The linear recursion of generalized Catalan numbers, Cp(x), p β‰₯ 2, have been given in the
previous section. In this section, we will provide a proof of the generating function of the
Catalan number

Theorem. Let C be the generating function of the second-ordered Catalan number, and
                                                                          1 βˆ’ 1 βˆ’ 4x
Cn be the nth Catalan number, C(x) can be expressed as following; C(x) =              .[6]
                                                                              2x
Proof. We are going to show that the generating function of the Catalan number, C,
                               1 βˆ’ 1 βˆ’ 4x
satisfies the equation, C(x) =            .
                                   2x
Based on the evident recurrence relation, we can express the nth Catalan number Cn as
shown,
                        Ck = βˆ‘ Ci C j , k β‰₯ 1,      and     C0 = 1.
                              i + j = k βˆ’1

A sequence of numbers, a0, a1, a2,…, elements of the sequence can be formed the power
series The generating function for the sequence is shown below.
                                                     ∞
                                             C(x) = βˆ‘ Ck x k .
                                                    k=0
                                          = C0 + C1x + C2x2 + C3x3 +…
then the recurrence relation expression shows that C satisfies
                              xC2(x) – C(x) +1 = 0, C(0) = 1,

so that C can be solved using Quadratic formula, i.e.,
                                           1 Β± 1 βˆ’ 4x
                                    C(x) =
                                               2x
        In fact, we must choose the minus sign to obtain the positive coefficients of the
power of x in the generating function of C(x) because all Catalan numbers are always
positive. Moreover,
Thus, the generating function of the Catalan number is

                              1 βˆ’ 1 βˆ’ 4x
                     C(x) =                                     (b).
                                  2x
Therefore, we have proved the formula of the generating function of the second-ordered
Catalan numbers as we wish. [3]
We generate the second-ordered Catalan numbers, since they are the usual one that we
mainly discuss in this paper.
5. Interpretations of the Catalan Numbers

          There are connections among the combinatorial interpretations which are found in
the triangulation of n-gon with n+2 sides, the construction of the binary tree-diagram
with n+1 leaves, Dyck words with 2n length, and the monotonic paths with n Γ— n square
cells.[1]

A1) The Catalan Numbers and Triangulation of Polygon. The Catalan number Cn is
the number of different ways a polygon with n + 2 sides can be partition into triangle by
drawing nonintersecting diagonals. For example, the following pentagon as shown in
figure 3 demonstrates the case n = 3. The 3rd Catalan number is 5, so there are 5 different
ways to triangulate the pentagon. [1]


Figure 3. Five different partitions of a convex pentagon into triangles. [1]




Figure 4. The construction of the tree-diagram with n+1 leaves, corresponding to the
partitions. [1]




Figure 5. The labeling of the branches of the tree-diagrams. [1]




Figure 6. The codes with length 2n, derived from the labeled tree-diagrams. [1]
Figure 7. The lattices paths which is called the monotonic path are obtained from the
codes. [1]




A2) The Catalan Numbers and Tree Diagram. There are various applications in metric
trees. For example, the Catalan number, Cn, is the number of full binary trees with n + 1
leaves when a full binary tree is defined as a tree whose every vertex has either two
branches (leaves) or no branch (leaf). [7]
        For instance, if we let a full binary tree with 3 + 1 = 4 leaves, then n = 3. The 3rd
Catalan number, C3, is 5. Thus, there are five patterns of full binary trees with 4 leaves as
shown in the Figure 5.

A3) The Catalan Numbers and the Dyck Words. There is an application of the Catalan
number in Computer Science. In fact, the Catalan number, Cn, is the number of Dyck
words of the length 2n. [7] Dyck word is defined as β€œa string consisting of n X’s and n Y’s
such that no initial segment of the string has more Y’s than X’s”.
        Then we construct monotonic path, which is a set of steps beginning at the lower
left corner, finish at the upper right corner of the grid with nΓ—n square cells. Beside, each
step stays below the diagonal, y = x. According to the codes. let R(right) stand for X and
L(left) stand for Y. As been seen in Figure 6, given 3 Γ— 3 square cells. Thus, there are
five different monotonic paths along the edge of the given grid. Thus, the Catalan
number, Cn, is the number of different monotonic paths that can occur in n x n grid
square. [1] In fact, monotonic path is similar to the ballot problem that we are going to
discuss.

A4) The Catalan Numbers and the Ballot Problem
       The ballot problem was introduced in the late nineteen century to determine the
probability of counting of votes when there are two candidates A, and B such that A
receives a votes, and B receives b votes with a > b. Originally, the problem was first
solved by Bertrand, but it became famous in 1887 after the French mathematician Desire
Andre gave the solution for the problem. [3] We will introduce the term of p-good before
we are continuing the discussion.

Definition. A path from P to Q is p-good if it lies entirely below the line y = (p – 1)x.
Thus, a bad path is defined as the complementary set of a set of good paths. [3]
        According to the linear recursion of generalized Catalan numbers, the usual
Catalan numbers are defined when p = 2, so we will call 2-good paths for this
interpretation.
        The method of solving the ballot problem is to count the number of 2-good paths
from (c,d) to (a,b), where (c,d), (a,b) are any two lattice points below the line y = x. [3]
Theorem. [3] Given the formula of the kth Catalan number, Ck, as following

                                               1 βŽ› 2k ⎞
                            C0 = 1, and Ck =              , k β‰₯ 1.
                                               k ⎜ k βˆ’ 1⎟
                                                 ⎝      ⎠

The kth Catalan numbers, Ck, is an expression of the number of good path from (0,-1) to
(k, k-1), i.e.,
                                 βŽ› 2k ⎞ βŽ› 2k ⎞ 1 βŽ› 2k ⎞
                                 ⎜ k ⎟ βˆ’ ⎜ k + 1⎟ = k ⎜ k βˆ’ 1⎟ .
                                 ⎝ ⎠ ⎝          ⎠     ⎝      ⎠
Proof. Let us assume that both good paths and bad paths exist. As shown in Figure 7., we
have d < c ≀ b < a. (Note that this condition is satisfied the ballot problem that the loser
receives at least 1 vote.). Let β„˜ be bad path, PF, FQ be subpaths from P to Q, and β„˜1 be
the path obtained from β„˜1 by reflecting with the line y = x.




                                            Figure	
 Β 7	
 Β AndrΓ©'s reflection method



The total number of paths from P(c,d) to Q(a,b) can be expressed as the binomial
coefficient.
                                  βŽ› (a + b) βˆ’ (c + d)⎞
                                  ⎜
                                  ⎝       aβˆ’c        ⎟;
                                                     ⎠

As we have seen from Figure 7, β„˜ = β„˜1β„˜2 . Then, if β„˜ = β„˜1 β„˜2 , where β„˜ is a path from
P(d, c) to Q(a,b) . Assume the rule β„˜ οƒ  β„˜ be injective correspondence between the set of
bad paths from P to Q and the set of paths from P to Q. Thus, the number of bad paths from
          βŽ› (a + b) βˆ’ (c + d)⎞
P to Q is ⎜                  ⎟ , and hence we have the number of good paths from P to Q as
          ⎝       aβˆ’d        ⎠
shown below
                             βŽ› (a + b) βˆ’ (c + d)⎞ βŽ› (a + b) βˆ’ (c + d)⎞
                             ⎜
                             ⎝       aβˆ’c        ⎟ βˆ’βŽœ
                                                ⎠ ⎝       aβˆ’d        ⎟.
                                                                     ⎠
In particular, if the starting point of the path is (1,0) to ( a,b ) , the number of good paths is
given as
                            βŽ› a + b βˆ’ 1⎞ βŽ› a + b βˆ’ 1⎞ a βˆ’ b βŽ› a + b ⎞
                            ⎜ a βˆ’1 ⎟ βˆ’ ⎜
                            ⎝          ⎠ ⎝          ⎠
                                                      =
                                                a ⎟ a+b⎜ a ⎟   ⎝        ⎠
                                                                          (1).

       aβˆ’b
Thus,         is the probability that a path from (0,0) to ( a,b ) proceeds first to (1,0), then
       a+b
continues as a good path to ( a,b ) . According to the solution of the ballot problem, if we let
the path starting from (0, -1) to ( k, k βˆ’ 1) , we can rewrite (1) as
                                       βŽ› 2k ⎞ βŽ› 2k ⎞ 1 βŽ› 2k ⎞
                                       ⎜ k ⎟ βˆ’ ⎜ k + 1⎟ = k ⎜ k βˆ’ 1⎟ .
                                       ⎝ ⎠ ⎝          ⎠     ⎝      ⎠

Here, we obtain the formula of the kth Catalan number, Ck, as we wish.

                                                       1 βŽ› 2k ⎞
                                    C0 = 1, and Ck =              , k β‰₯ 1.              
                                                       k ⎜ k βˆ’ 1⎟
                                                         ⎝      ⎠

References

[1]
         Cofman, Judita (08/01/1997). "Catalan Numbers for the Classroom?". Elemente der
             Mathematik (0013-6018), 52 (3), p. 108.
[2]
         Conway, J., Guy, R. (1996). β€œTHE BOOK OF NUMBERS”. Copericus, New York.
[3]
         Hilton and J. Pedersen. (1991). β€œCatalan numbers, their generalization and their uses”,
              Math. Intelligencer 13, pp. 64–75.
   [4]
         Koshy, T. (2007). β€œELEMENTARY NUMBER THEORY WITH APPLICATIONS”.
            Boston Academic Press, Massachusetts.
[5]
         Koshy, T, & Salmassi, M. (2006). β€œParity and Primality of Catalan Numbers”. The
             College Mathematics Journal 37, 1, pp. 52-53.
[6]
         Kreher, D., Stinson, D. (1999). β€œCOMBINATORIAL ALGORITHMS:
             GENERATION, ENUMERATION, ANS SEARCH”. CRC Press, Florida.
[7]
         Stanley, R. (1944). β€œENUMERATIVE COMBENATORICS”. Wadsworth &
              Brooks/Cole Advanced Books & Software, California.
   [8]
         Sury, B. (2009). β€œGeneralized Catalan Numbers: Linear Recursion and Divisibility”,
             Journal of Integer Sequences 12.
	
 Β 

More Related Content

What's hot

Maths CBSE 2011-12
Maths CBSE 2011-12Maths CBSE 2011-12
Maths CBSE 2011-12
studymate
Β 
Sect2 1
Sect2 1Sect2 1
Sect2 1
inKFUPM
Β 
Bowen prelim a maths p1 2011 with answer key
Bowen prelim  a maths p1 2011 with answer keyBowen prelim  a maths p1 2011 with answer key
Bowen prelim a maths p1 2011 with answer key
Meng XinYi
Β 
AMU - Mathematics - 2005
AMU - Mathematics  - 2005AMU - Mathematics  - 2005
AMU - Mathematics - 2005
Vasista Vinuthan
Β 
Copy of y16 02-2119divide-and-conquer
Copy of y16 02-2119divide-and-conquerCopy of y16 02-2119divide-and-conquer
Copy of y16 02-2119divide-and-conquer
Joepang2015
Β 
F4 05 The Straight Line
F4 05 The Straight LineF4 05 The Straight Line
F4 05 The Straight Line
guestcc333c
Β 
AMU - Mathematics - 1998
AMU - Mathematics  - 1998AMU - Mathematics  - 1998
AMU - Mathematics - 1998
Vasista Vinuthan
Β 
Semana 12 ecuaciones polinomiales i Γ‘lgebra-uni ccesa007
Semana 12   ecuaciones polinomiales i  Γ‘lgebra-uni ccesa007Semana 12   ecuaciones polinomiales i  Γ‘lgebra-uni ccesa007
Semana 12 ecuaciones polinomiales i Γ‘lgebra-uni ccesa007
Demetrio Ccesa Rayme
Β 
Mean variance
Mean varianceMean variance
Mean variance
odkoo
Β 
S 7
S 7S 7
S 7
admin
Β 
P2 Probability
P2 ProbabilityP2 Probability
P2 Probability
guestcc333c
Β 
Developing Expert Voices
Developing Expert VoicesDeveloping Expert Voices
Developing Expert Voices
suzanne
Β 
UPSEE - Mathematics -2000 Unsolved Paper
UPSEE - Mathematics -2000 Unsolved PaperUPSEE - Mathematics -2000 Unsolved Paper
UPSEE - Mathematics -2000 Unsolved Paper
Vasista Vinuthan
Β 

What's hot (19)

Maths CBSE 2011-12
Maths CBSE 2011-12Maths CBSE 2011-12
Maths CBSE 2011-12
Β 
Sect2 1
Sect2 1Sect2 1
Sect2 1
Β 
Semi-Magic Squares From Snake-Shaped Matrices
Semi-Magic Squares From Snake-Shaped MatricesSemi-Magic Squares From Snake-Shaped Matrices
Semi-Magic Squares From Snake-Shaped Matrices
Β 
Kuttaka1
Kuttaka1Kuttaka1
Kuttaka1
Β 
Year 13 challenge mathematics problems 107
Year 13 challenge mathematics problems 107Year 13 challenge mathematics problems 107
Year 13 challenge mathematics problems 107
Β 
Bowen prelim a maths p1 2011 with answer key
Bowen prelim  a maths p1 2011 with answer keyBowen prelim  a maths p1 2011 with answer key
Bowen prelim a maths p1 2011 with answer key
Β 
AMU - Mathematics - 2005
AMU - Mathematics  - 2005AMU - Mathematics  - 2005
AMU - Mathematics - 2005
Β 
Copy of y16 02-2119divide-and-conquer
Copy of y16 02-2119divide-and-conquerCopy of y16 02-2119divide-and-conquer
Copy of y16 02-2119divide-and-conquer
Β 
Imc2016 day2-solutions
Imc2016 day2-solutionsImc2016 day2-solutions
Imc2016 day2-solutions
Β 
F4 05 The Straight Line
F4 05 The Straight LineF4 05 The Straight Line
F4 05 The Straight Line
Β 
AMU - Mathematics - 1998
AMU - Mathematics  - 1998AMU - Mathematics  - 1998
AMU - Mathematics - 1998
Β 
Imc2016 day1-solutions
Imc2016 day1-solutionsImc2016 day1-solutions
Imc2016 day1-solutions
Β 
Semana 12 ecuaciones polinomiales i Γ‘lgebra-uni ccesa007
Semana 12   ecuaciones polinomiales i  Γ‘lgebra-uni ccesa007Semana 12   ecuaciones polinomiales i  Γ‘lgebra-uni ccesa007
Semana 12 ecuaciones polinomiales i Γ‘lgebra-uni ccesa007
Β 
Mean variance
Mean varianceMean variance
Mean variance
Β 
S 7
S 7S 7
S 7
Β 
Final
Final Final
Final
Β 
P2 Probability
P2 ProbabilityP2 Probability
P2 Probability
Β 
Developing Expert Voices
Developing Expert VoicesDeveloping Expert Voices
Developing Expert Voices
Β 
UPSEE - Mathematics -2000 Unsolved Paper
UPSEE - Mathematics -2000 Unsolved PaperUPSEE - Mathematics -2000 Unsolved Paper
UPSEE - Mathematics -2000 Unsolved Paper
Β 

Similar to Catalan number edit

Catalan number edit
Catalan number editCatalan number edit
Catalan number edit
susuksak
Β 
Catalan number presentation2
Catalan number presentation2Catalan number presentation2
Catalan number presentation2
Pai Sukanya Suksak
Β 
Catalan number presentation2
Catalan number presentation2Catalan number presentation2
Catalan number presentation2
Pai Sukanya Suksak
Β 
Catalan number presentation2
Catalan number presentation2Catalan number presentation2
Catalan number presentation2
Pai Sukanya Suksak
Β 
Analysis Of Algorithms Ii
Analysis Of Algorithms IiAnalysis Of Algorithms Ii
Analysis Of Algorithms Ii
Sri Prasanna
Β 
Binomial Theorem
Binomial TheoremBinomial Theorem
Binomial Theorem
itutor
Β 
Kittel c. introduction to solid state physics 8 th edition - solution manual
Kittel c.  introduction to solid state physics 8 th edition - solution manualKittel c.  introduction to solid state physics 8 th edition - solution manual
Kittel c. introduction to solid state physics 8 th edition - solution manual
amnahnura
Β 
Factorials as sums
Factorials as sumsFactorials as sums
Factorials as sums
Roberto Anglani
Β 

Similar to Catalan number edit (20)

Catalan number edit
Catalan number editCatalan number edit
Catalan number edit
Β 
Catalan number presentation2
Catalan number presentation2Catalan number presentation2
Catalan number presentation2
Β 
Catalan number presentation2
Catalan number presentation2Catalan number presentation2
Catalan number presentation2
Β 
Catalan number presentation2
Catalan number presentation2Catalan number presentation2
Catalan number presentation2
Β 
Analysis Of Algorithms Ii
Analysis Of Algorithms IiAnalysis Of Algorithms Ii
Analysis Of Algorithms Ii
Β 
Arithmetic Progressions and the Construction of Doubly Even Magic Squares and...
Arithmetic Progressions and the Construction of Doubly Even Magic Squares and...Arithmetic Progressions and the Construction of Doubly Even Magic Squares and...
Arithmetic Progressions and the Construction of Doubly Even Magic Squares and...
Β 
Binomial theorem
Binomial theorem Binomial theorem
Binomial theorem
Β 
Summation Series
Summation SeriesSummation Series
Summation Series
Β 
Binomial Theorem
Binomial TheoremBinomial Theorem
Binomial Theorem
Β 
Binomial theorem for any index
Binomial theorem for any indexBinomial theorem for any index
Binomial theorem for any index
Β 
Kittel c. introduction to solid state physics 8 th edition - solution manual
Kittel c.  introduction to solid state physics 8 th edition - solution manualKittel c.  introduction to solid state physics 8 th edition - solution manual
Kittel c. introduction to solid state physics 8 th edition - solution manual
Β 
Sol60
Sol60Sol60
Sol60
Β 
Sol60
Sol60Sol60
Sol60
Β 
Principle of mathematical induction
Principle of mathematical inductionPrinciple of mathematical induction
Principle of mathematical induction
Β 
Lohans’ magic squares and the Gaussian elimination method
Lohans’ magic squares and the Gaussian elimination methodLohans’ magic squares and the Gaussian elimination method
Lohans’ magic squares and the Gaussian elimination method
Β 
Binomial
BinomialBinomial
Binomial
Β 
Factorials as sums
Factorials as sumsFactorials as sums
Factorials as sums
Β 
Vivek
VivekVivek
Vivek
Β 
A Proof of Twin primes and Golbach's Conjecture
A Proof of Twin primes and Golbach's ConjectureA Proof of Twin primes and Golbach's Conjecture
A Proof of Twin primes and Golbach's Conjecture
Β 
The Probability that a Matrix of Integers Is Diagonalizable
The Probability that a Matrix of Integers Is DiagonalizableThe Probability that a Matrix of Integers Is Diagonalizable
The Probability that a Matrix of Integers Is Diagonalizable
Β 

Recently uploaded

The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
Enterprise Knowledge
Β 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
Β 

Recently uploaded (20)

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Β 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
Β 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Β 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
Β 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Β 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
Β 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
Β 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Β 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Β 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
Β 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
Β 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
Β 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
Β 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
Β 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
Β 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Β 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
Β 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Β 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Β 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Β 

Catalan number edit

  • 1. The Catalan Numbers: Sequence of Integer Pai Sukanya Suksak December 16, 2010 1. Introduction Catalan Numbers: Sequence of Integer Figure 1 The central binomial coefficients of Pascal’s Triangle As shown in figure 1, the middle numbers in Pascal’s triangle are following; 1, 2, 6, 20, 70,… They can be divided by 1, 2, 3, 4, 5,… then, we obtain the sequence of following numbers 1, 1, 2, 5, 14,… βŽ› 2n ⎞ Since each middle number is derided from the binomial coefficient, ⎜ ⎟ , then we ⎝ n⎠ divide each number by (n + 1). These numbers are called Catalan numbers. The formula of Catalan numbers will be presented in Theorem 1.[2] 2. General Knowledge of the Catalan Numbers Catalan numbers, which appear in many counting problem such as monotonic paths, Dyck words, dividing polygons, and noncrossing partitions, form a sequence of a sequence of natural numbers. Historical Information The Catalan numbers were previously discussed by the Chinese mathematician Antu Ming in 1730, but his work was not well-known in the Western world because it was introduced only in China. Then, in 1751, the Swiss mathematician Leonhard Euler
  • 2. found the Catalan numbers while he was studying the triangulations of convex polygons. Until 1838, the Belgian mathematician Eugene Charles Catalan discovered the Catalan numbers while he was studying the sequence of parentheses. Even though the Catalan numbers were discovered long time ago, they were named just after Eugene Charles Catalan introduced them to the Western world.[4] In fact, there are various ways to define the Catalan numbers, we are going to introduce one of them. Kreher and Stinson (1956) define the Catalan numbers in term of totally balanced sequence. [6] Definition 1. Let n be a positive integer, and let a = [a1, a2, …, a2n-1, a2n] ∈ ( Z 2)2n. The sequence is said to be totally balanced sequence if the following two properties are satisfied: a) a contains n 0s and n 1s, and b) for any I, 1 ≀ I ≀ 2n, it hold that | {j : 1 ≀ j ≀ I, ai = 0}| β‰₯ | {j : 1 ≀ j ≀ I, ai = 1} |. Now, we are ready to define the Catalan numbers using the definition of the totally balance sequence. [6] Definition. Let Cn denote the set of all totally balanced sequences in (Ξ–2)2n. Cn is referred to a Catalan family of order n. The Catalan number Cn is defined to be Cn = |Cn|.[6] By the definition of the Catalan numbers above, the first fourth terms of the Catalan families Cn and the Catalan numbers Cn in Table 1. Table 1 shows the Catalan families Cn and the Catalan numbers Cn for 1 ≀ n ≀ 4. [6] N Cn Cn 1 01 1 2 0011 0101 2 3 000111 001011 001101 010011 010101 3 4 00001111 00010111 00011011 00011101 00100111 4 00101011 00101101 00110011 00110101 01000111 01001011 01001101 01010011 01010101 (Kreher and Stinson, 1956) In the first theorem, we are going to state a formula of the Catalan number that is commonly used. 3. Formula of the Catalan Number and Its Proof Theorem. For any integer n β‰₯ 1, the Catalan number Cn is given in term of binomial coefficients by
  • 3. 1 βŽ› 2n ⎞ (2n)! Cn = ⎜ n ⎟ = (n + 1)!n! , for n β‰₯ 1. n + 1⎝ ⎠ (a) For instance, the first tenth Catalan numbers are C1 = 1, C2 = 2, C3 = 5, C4 = 14, C5 = 42, C6 = 132, C7 = 429, C8 = 1430, C9 = 4862 and C10 = 16796. [4] Proof. To derive the formula, we are going to prove by using the triangulation definition. We are going to apply Euler’s Triangulation problem. Consider the ways of triangulating n-gon, where 3 ≀ n ≀ 5.[4] Figure 2 Triangulations of an n-gon, where 3 ≀ n ≀ 5. One way of triangulating a triangle Two ways of triangulating a square http://www.toulouse.ca/EdgeGuarding/MobileGuards.html Five ways of triangulating a pentagon Euler used an inductive argument to establish the following formula. 2 β‹… 6 β‹…10 β‹… ...β‹… (4n βˆ’ 10) An = , n β‰₯ 3. ( n βˆ’ 1)! However, we need to extend the formula of Euler that was published in 1761 to include the case n = 0, 1, and 2 because the original formula makes sense only for n β‰₯ 3. Then we have 2 β‹… 6 β‹…10 β‹… ...β‹… (4k + 2) Ak+3 = , k β‰₯ 0. ( k + 2 )! Then, let Cn = Ak+2. Thus, 2 β‹… 6 β‹…10 β‹… ...β‹… (4n βˆ’ 2) Cn = , n β‰₯ 1. ( n + 1)!
  • 4. The expression of Cn can be rewritten as (4n βˆ’ 2) β‹… 2 β‹… 6 β‹…10 β‹… ...β‹… (4n βˆ’ 6) Cn = ( n + 1) n! (4n βˆ’ 2) β‹… Cn βˆ’1 = ( n + 1) When n = 1, we will have C0 = C1 = 1. Thus, we can define C0 = 1 and Cn recursively as following; (4n βˆ’ 2) β‹… Cn βˆ’1 C0 = 1 and Cn = ( n + 1) To show the recursive formula implying the formula (a) of the Catalan number, it can be processed algebraically. (4n βˆ’ 2) β‹… Cn βˆ’1 Cn = ( n + 1) (4n βˆ’ 2) β‹… (4n βˆ’ 6) β‹… Cn βˆ’ 2 = ( n + 1) n (4n βˆ’ 2) β‹… (4n βˆ’ 6) β‹… ( 4n βˆ’ 10 ) β‹… Cn βˆ’ 3 = ( n + 1) n(n βˆ’ 1) (4n βˆ’ 2) β‹… (4n βˆ’ 6) β‹… ( 4n βˆ’ 10 ) β‹…... β‹… 6 β‹… 2 β‹… C0 = ( n + 1) n(n βˆ’ 1) β‹… β‹… β‹… 3 β‹… 2 ⎑(2n βˆ’ 1) β‹… (2n βˆ’ 3) β‹… ( 2n βˆ’ 5 ) β‹…... β‹… 3 β‹…1⎀ β‹… 2 n = ⎣ ⎦ ( n + 1)! 2 n (2n)! = 2 n n!( n + 1)! (2n)! = n!( n + 1)! 1 βŽ› 2n ⎞ =  n + 1⎜ n ⎟ ⎝ ⎠ Thus, we obtain the formula (a) of the Catalan number by using the recursion relation as we wish.
  • 5. 4. Properties of the Catalan numbers 4.1 Parity of Catalan Numbers Definition. Let r be the remainder, then the parity of an integer is defined as its attribute of being even or odd, which means 1) let b = 2 and a be an integer, if the remainder, r, such that r = 0, the integer a is called even and has the form a = 2q; 2) if the remainder r, such that r = 1, the integer a is called odd and has the form a = 2q + 1. Two given integers, s and t, have the same parity, if they are both even, or both odd; but if one of them is even, and the other is odd, then s and t are said to be of different parity. [5] Table 2 The first 18 Catalan Numbers (Koshy and Salmassi, 2006) n 0 1 2 3 4 5 6 7 8 Cn 1 1 2 5 14 42 132 429 1430 n 9 10 11 12 13 14 15 16 17 Cn 4862 16796 58786 208012 742900 2674440 9694845 35357670 129644790 As shown in Table 2, for n ≀ 17, the Catalan numbers, Cn, are odd when n = 0, 1, 3, 7, and 15. All of those numbers that have the same form which is 2m – 1 when m > 0 (i.e. the 2nd and 3rd Catalan numbers) are prime. The numbers of the form 2m – 1 where m is an integer are known as Mersenne numbers.[5] In order to prove the next theorem, we are first going to introduce one of the generalized Catalan numbers formulas. Lemma. [8]For any p β‰₯ 2, the generalized Catalan number Cp (n) , such that 1 βŽ› pn ⎞ C p (n) = , can be defined recursively by ( p βˆ’ 1)(n + 1) ⎜ n ⎟ ⎝ ⎠ ( p βˆ’1)n +1 p βŽ› ( p βˆ’ 1)(n βˆ’ k) + 1⎞ Cp (0) = 1, and C p (n) = βˆ‘ (βˆ’1)k βˆ’1 ⎜ ⎝ k ⎟ C p (n βˆ’ k) , ⎠ n β‰₯ 1. k =1 In particular, p = 2 corresponds to the usual Catalan numbers C2(n) satisfy the linear recursion. i.e., n +1 2 βŽ› (n βˆ’ k) + 1⎞ C2 (n) = βˆ‘ (βˆ’1)k βˆ’1 ⎜ ⎟ C2 (n βˆ’ k) , n β‰₯ 1. k =1 ⎝ k ⎠ pk βˆ’ 1 Theorem. The prime p | Cp(n) if and only if n β‰  for all integers k β‰₯ 0. In p βˆ’1 particular, C2(n) is odd if and only if n is a Mersenne number 2k – 1 where some integers k. [8]
  • 6. pk βˆ’ 1 Proof. We are going to prove that if the prime p | Cp(n) then n β‰  . p βˆ’1 Let Cp(n) be the generalized Catalan number, for any p β‰₯ 2, i.e. ( p βˆ’1)n +1 p βŽ› ( p βˆ’ 1)(n βˆ’ k) + 1⎞ C p (n) = βˆ‘ (βˆ’1)k βˆ’1 ⎜ ⎝ k ⎟ C p (n βˆ’ k) . ⎠ k =1 To prove the statement, we shall apply induction on n. For the base step, the result holds for n = 1, since Cp(1) = 1. Then, we assume n > 1 and that the result holds for all number m, m < n. Let p r ≀ n ≀ p r +1 βˆ’ 1 . We will consider the right-hand side of Cp(n). We will let it called modulo p. Then, we apply the induction hypothesis that for m < n, we will have Cp(m) is a multiple of p if (p – 1) m +1 is not a power of p. pN βˆ’ 1 For the term of modulo p, the summation of the term n – k is the form . However, p βˆ’1 since p r ≀ n ≀ p r +1 , the only non-zero term modulo p, is the one corresponding to the p r +1 βˆ’ 1 index k for which (p – 1)(n – k) = pr – 1 if n ≀ (respectively, p βˆ’1 p r +1 βˆ’ 1 ( p βˆ’ 1)(n βˆ’ k) = p r +1 βˆ’ 1 if n > ). This term is, to within sign, p βˆ’1 βŽ› pr ⎞ ⎟ C βŽ› p βˆ’ 1 ⎞ if n ≀ p βˆ’ 1 (respectively, ( p βˆ’ 1)(n βˆ’ k) = p r +1 βˆ’ 1 if r r +1 ⎜ ⎜ n βˆ’ p βˆ’ 1⎟ p ⎜ p βˆ’ 1 ⎟ r ⎜ ⎝ ⎠ p βˆ’1 ⎝ p βˆ’1 ⎟ ⎠ p r +1 βˆ’ 1 βŽ› pr ⎞ n> ). As the binomial coefficient ⎜ ⎟ is a multiple of p if and only if 0 < s < p βˆ’1 ⎝s ⎠ pr βˆ’ 1 pr, the above term is a multiple of p if and only if 0 < n βˆ’ < p r if p βˆ’1 p r +1 βˆ’ 1 p r +1 βˆ’ 1 n≀ (respectively, p r +1 < ( p βˆ’ 1)n + 1 < p r + 2 if n > ). This is equivalent to p βˆ’1 p βˆ’1 p r +1 βˆ’ 1 p r < ( p βˆ’ 1)n + 1 < p r +1 if n ≀ (respectively, p r +1 < ( p βˆ’ 1)n + 1 < p r + 2 if p βˆ’1 p r +1 βˆ’ 1 n> ). This implies that (p – 1)n + 1 is not a power of p. Therefore, we can p βˆ’1 pk βˆ’ 1 conclude that if the prime p | Cp(n) then n β‰  .  p βˆ’1
  • 7. 5. The Generating Function of Catalan Numbers The linear recursion of generalized Catalan numbers, Cp(x), p β‰₯ 2, have been given in the previous section. In this section, we will provide a proof of the generating function of the Catalan number Theorem. Let C be the generating function of the second-ordered Catalan number, and 1 βˆ’ 1 βˆ’ 4x Cn be the nth Catalan number, C(x) can be expressed as following; C(x) = .[6] 2x Proof. We are going to show that the generating function of the Catalan number, C, 1 βˆ’ 1 βˆ’ 4x satisfies the equation, C(x) = . 2x Based on the evident recurrence relation, we can express the nth Catalan number Cn as shown, Ck = βˆ‘ Ci C j , k β‰₯ 1, and C0 = 1. i + j = k βˆ’1 A sequence of numbers, a0, a1, a2,…, elements of the sequence can be formed the power series The generating function for the sequence is shown below. ∞ C(x) = βˆ‘ Ck x k . k=0 = C0 + C1x + C2x2 + C3x3 +… then the recurrence relation expression shows that C satisfies xC2(x) – C(x) +1 = 0, C(0) = 1, so that C can be solved using Quadratic formula, i.e., 1 Β± 1 βˆ’ 4x C(x) = 2x In fact, we must choose the minus sign to obtain the positive coefficients of the power of x in the generating function of C(x) because all Catalan numbers are always positive. Moreover, Thus, the generating function of the Catalan number is 1 βˆ’ 1 βˆ’ 4x C(x) = (b). 2x Therefore, we have proved the formula of the generating function of the second-ordered Catalan numbers as we wish. [3] We generate the second-ordered Catalan numbers, since they are the usual one that we mainly discuss in this paper.
  • 8. 5. Interpretations of the Catalan Numbers There are connections among the combinatorial interpretations which are found in the triangulation of n-gon with n+2 sides, the construction of the binary tree-diagram with n+1 leaves, Dyck words with 2n length, and the monotonic paths with n Γ— n square cells.[1] A1) The Catalan Numbers and Triangulation of Polygon. The Catalan number Cn is the number of different ways a polygon with n + 2 sides can be partition into triangle by drawing nonintersecting diagonals. For example, the following pentagon as shown in figure 3 demonstrates the case n = 3. The 3rd Catalan number is 5, so there are 5 different ways to triangulate the pentagon. [1] Figure 3. Five different partitions of a convex pentagon into triangles. [1] Figure 4. The construction of the tree-diagram with n+1 leaves, corresponding to the partitions. [1] Figure 5. The labeling of the branches of the tree-diagrams. [1] Figure 6. The codes with length 2n, derived from the labeled tree-diagrams. [1]
  • 9. Figure 7. The lattices paths which is called the monotonic path are obtained from the codes. [1] A2) The Catalan Numbers and Tree Diagram. There are various applications in metric trees. For example, the Catalan number, Cn, is the number of full binary trees with n + 1 leaves when a full binary tree is defined as a tree whose every vertex has either two branches (leaves) or no branch (leaf). [7] For instance, if we let a full binary tree with 3 + 1 = 4 leaves, then n = 3. The 3rd Catalan number, C3, is 5. Thus, there are five patterns of full binary trees with 4 leaves as shown in the Figure 5. A3) The Catalan Numbers and the Dyck Words. There is an application of the Catalan number in Computer Science. In fact, the Catalan number, Cn, is the number of Dyck words of the length 2n. [7] Dyck word is defined as β€œa string consisting of n X’s and n Y’s such that no initial segment of the string has more Y’s than X’s”. Then we construct monotonic path, which is a set of steps beginning at the lower left corner, finish at the upper right corner of the grid with nΓ—n square cells. Beside, each step stays below the diagonal, y = x. According to the codes. let R(right) stand for X and L(left) stand for Y. As been seen in Figure 6, given 3 Γ— 3 square cells. Thus, there are five different monotonic paths along the edge of the given grid. Thus, the Catalan number, Cn, is the number of different monotonic paths that can occur in n x n grid square. [1] In fact, monotonic path is similar to the ballot problem that we are going to discuss. A4) The Catalan Numbers and the Ballot Problem The ballot problem was introduced in the late nineteen century to determine the probability of counting of votes when there are two candidates A, and B such that A receives a votes, and B receives b votes with a > b. Originally, the problem was first solved by Bertrand, but it became famous in 1887 after the French mathematician Desire Andre gave the solution for the problem. [3] We will introduce the term of p-good before we are continuing the discussion. Definition. A path from P to Q is p-good if it lies entirely below the line y = (p – 1)x. Thus, a bad path is defined as the complementary set of a set of good paths. [3] According to the linear recursion of generalized Catalan numbers, the usual Catalan numbers are defined when p = 2, so we will call 2-good paths for this interpretation. The method of solving the ballot problem is to count the number of 2-good paths from (c,d) to (a,b), where (c,d), (a,b) are any two lattice points below the line y = x. [3]
  • 10. Theorem. [3] Given the formula of the kth Catalan number, Ck, as following 1 βŽ› 2k ⎞ C0 = 1, and Ck = , k β‰₯ 1. k ⎜ k βˆ’ 1⎟ ⎝ ⎠ The kth Catalan numbers, Ck, is an expression of the number of good path from (0,-1) to (k, k-1), i.e., βŽ› 2k ⎞ βŽ› 2k ⎞ 1 βŽ› 2k ⎞ ⎜ k ⎟ βˆ’ ⎜ k + 1⎟ = k ⎜ k βˆ’ 1⎟ . ⎝ ⎠ ⎝ ⎠ ⎝ ⎠ Proof. Let us assume that both good paths and bad paths exist. As shown in Figure 7., we have d < c ≀ b < a. (Note that this condition is satisfied the ballot problem that the loser receives at least 1 vote.). Let β„˜ be bad path, PF, FQ be subpaths from P to Q, and β„˜1 be the path obtained from β„˜1 by reflecting with the line y = x. Figure Β 7 Β AndrΓ©'s reflection method The total number of paths from P(c,d) to Q(a,b) can be expressed as the binomial coefficient. βŽ› (a + b) βˆ’ (c + d)⎞ ⎜ ⎝ aβˆ’c ⎟; ⎠ As we have seen from Figure 7, β„˜ = β„˜1β„˜2 . Then, if β„˜ = β„˜1 β„˜2 , where β„˜ is a path from P(d, c) to Q(a,b) . Assume the rule β„˜ οƒ  β„˜ be injective correspondence between the set of bad paths from P to Q and the set of paths from P to Q. Thus, the number of bad paths from βŽ› (a + b) βˆ’ (c + d)⎞ P to Q is ⎜ ⎟ , and hence we have the number of good paths from P to Q as ⎝ aβˆ’d ⎠ shown below βŽ› (a + b) βˆ’ (c + d)⎞ βŽ› (a + b) βˆ’ (c + d)⎞ ⎜ ⎝ aβˆ’c ⎟ βˆ’βŽœ ⎠ ⎝ aβˆ’d ⎟. ⎠
  • 11. In particular, if the starting point of the path is (1,0) to ( a,b ) , the number of good paths is given as βŽ› a + b βˆ’ 1⎞ βŽ› a + b βˆ’ 1⎞ a βˆ’ b βŽ› a + b ⎞ ⎜ a βˆ’1 ⎟ βˆ’ ⎜ ⎝ ⎠ ⎝ ⎠ = a ⎟ a+b⎜ a ⎟ ⎝ ⎠ (1). aβˆ’b Thus, is the probability that a path from (0,0) to ( a,b ) proceeds first to (1,0), then a+b continues as a good path to ( a,b ) . According to the solution of the ballot problem, if we let the path starting from (0, -1) to ( k, k βˆ’ 1) , we can rewrite (1) as βŽ› 2k ⎞ βŽ› 2k ⎞ 1 βŽ› 2k ⎞ ⎜ k ⎟ βˆ’ ⎜ k + 1⎟ = k ⎜ k βˆ’ 1⎟ . ⎝ ⎠ ⎝ ⎠ ⎝ ⎠ Here, we obtain the formula of the kth Catalan number, Ck, as we wish. 1 βŽ› 2k ⎞ C0 = 1, and Ck = , k β‰₯ 1.  k ⎜ k βˆ’ 1⎟ ⎝ ⎠ References [1] Cofman, Judita (08/01/1997). "Catalan Numbers for the Classroom?". Elemente der Mathematik (0013-6018), 52 (3), p. 108. [2] Conway, J., Guy, R. (1996). β€œTHE BOOK OF NUMBERS”. Copericus, New York. [3] Hilton and J. Pedersen. (1991). β€œCatalan numbers, their generalization and their uses”, Math. Intelligencer 13, pp. 64–75. [4] Koshy, T. (2007). β€œELEMENTARY NUMBER THEORY WITH APPLICATIONS”. Boston Academic Press, Massachusetts. [5] Koshy, T, & Salmassi, M. (2006). β€œParity and Primality of Catalan Numbers”. The College Mathematics Journal 37, 1, pp. 52-53. [6] Kreher, D., Stinson, D. (1999). β€œCOMBINATORIAL ALGORITHMS: GENERATION, ENUMERATION, ANS SEARCH”. CRC Press, Florida. [7] Stanley, R. (1944). β€œENUMERATIVE COMBENATORICS”. Wadsworth & Brooks/Cole Advanced Books & Software, California. [8] Sury, B. (2009). β€œGeneralized Catalan Numbers: Linear Recursion and Divisibility”, Journal of Integer Sequences 12. Β