Narayana number explained

Named After:Tadepalli Venkata Narayana
Terms Number:infinity
Formula:

\operatorname{N}(n,k)=

1
n

{n\choosek}{n\choosek-1}

Oeis:A001263
Oeis Name:Triangle of Narayana

In combinatorics, the Narayana numbers

\operatorname{N}(n,k),n\inN+,1\lek\len

form a triangular array of natural numbers, called the Narayana triangle, that occur in various counting problems. They are named after Canadian mathematician T. V. Narayana (1930–1987).

Formula

The Narayana numbers can be expressed in terms of binomial coefficients:

\operatorname{N}(n,k)=

1
n

{n\choosek}{n\choosek-1}

Numerical values

The first eight rows of the Narayana triangle read:

nk
1 2 3 4 5 6 7 8
11
21 1
31 3 1
41 6 6 1
51 10 20 10 1
61 15 50 50 15 1
71 21 105 175 105 21 1
81 28 196 490 490 196 28 1

Combinatorial interpretations

Dyck words

An example of a counting problem whose solution can be given in terms of the Narayana numbers

\operatorname{N}(n,k)

, is the number of words containing pairs of parentheses, which are correctly matched (known as Dyck words) and which contain distinct nestings. For instance,

\operatorname{N}(4,2)=6

, since with four pairs of parentheses, six sequences can be created which each contain two occurrences the sub-pattern :

From this example it should be obvious that

\operatorname{N}(n,1)=1

, since the only way to get a single sub-pattern is to have all the opening parentheses in the first positions, followed by all the closing parentheses. Also

\operatorname{N}(n,n)=1

, as distinct nestings can be achieved only by the repetitive pattern .

More generally, it can be shown that the Narayana triangle is symmetric:

\operatorname{N}(n,k)=\operatorname{N}(n,n-k+1)

The sum of the rows in this triangle equal the Catalan numbers:

\operatorname{N}(n,1)+\operatorname{N}(n,2)+\operatorname{N}(n,3)++\operatorname{N}(n,n)=Cn

Monotonic lattice paths

The Narayana numbers also count the number of lattice paths from

(0,0)

to

(2n,0)

, with steps only northeast and southeast, not straying below the -axis, with peaks.

The following figures represent the Narayana numbers

\operatorname{N}(4,k)

, illustrating the above mentioned symmetries.

The sum of

\operatorname{N}(4,k)

is 1 + 6 + 6 + 1 = 14, which is the 4th Catalan number,

C4

. This sum coincides with the interpretation of Catalan numbers as the number of monotonic paths along the edges of an

n x n

grid that do not pass above the diagonal.

Rooted trees

The number of unlabeled ordered rooted trees with

n

edges and

k

leaves is equal to

\operatorname{N}(n,k)

.

This is analogous to the above examples:

\operatorname{N}(4,3)

, the nodes and will have two children each; in the last (sixth) path, node will have three children and node will have one child. To construct a rooted tree from a lattice path and vice versa, we can employ an algorithm similar to the one mentioned the previous paragraph. As with Dyck words, there is an isomorphism between lattice paths and rooted trees.

Partitions

In the study of partitions, we see that in a set containing elements, we may partition that set in

Bn

different ways, where

Bn

is the th Bell number. Furthermore, the number of ways to partition a set into exactly blocks we use the Stirling numbers

S(n,k)

. Both of these concepts are a bit off-topic, but a necessary foundation for understanding the use of the Narayana numbers. In both of the above two notions crossing partitions are accounted for.

To reject the crossing partitions and count only the non-crossing partitions, we may use the Catalan numbers to count the non-crossing partitions of all elements of the set,

Cn

. To count the non-crossing partitions in which the set is partitioned in exactly blocks, we use the Narayana number

\operatorname{N}(n,k)

.

Generating function

The generating function for the Narayana numbers is

infty
\sum
n=1
n
\sum
k=1

\operatorname{N}(n,k)zntk-1=

1-z(t+1)-\sqrt{1-2z(t+1)+z2(t-1)2
} \;.

See also

References