fbpx
Wikipedia

Narayana number

In combinatorics, the Narayana numbers 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).

Narayana number
Named afterTadepalli Venkata Narayana
No. of known termsinfinity
Formula
OEIS index
  • A001263
  • Triangle of Narayana

Formula edit

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

 

Numerical values edit

The first eight rows of the Narayana triangle read:

n k
1 2 3 4 5 6 7 8
1 1
2 1 1
3 1 3 1
4 1 6 6 1
5 1 10 20 10 1
6 1 15 50 50 15 1
7 1 21 105 175 105 21 1
8 1 28 196 490 490 196 28 1

(sequence A001263 in the OEIS)

Combinatorial interpretations edit

Dyck words edit

An example of a counting problem whose solution can be given in terms of the Narayana numbers  , is the number of words containing   pairs of parentheses, which are correctly matched (known as Dyck words) and which contain   distinct nestings. For instance,  , 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  , 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  , as   distinct nestings can be achieved only by the repetitive pattern ()()()…().

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

 

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

 

Monotonic lattice paths edit

The Narayana numbers also count the number of lattice paths from   to  , with steps only northeast and southeast, not straying below the x-axis, with   peaks.

The following figures represent the Narayana numbers  , illustrating the above mentioned symmetries.

  Paths
N(4, 1) = 1 path with 1 peak  
N(4, 2) = 6 paths with 2 peaks:  
N(4, 3) = 6 paths with 3 peaks:  
N(4, 4) = 1 path with 4 peaks:  

The sum of   is 1 + 6 + 6 + 1 = 14, which is the 4th Catalan number,  . This sum coincides with the interpretation of Catalan numbers as the number of monotonic paths along the edges of an   grid that do not pass above the diagonal.

Rooted trees edit

 
The 6 ordered rooted trees of 4 edges and 2 leaves, corresponding to the Narayana number N(4, 2)

The number of unlabeled ordered rooted trees with   edges and   leaves is equal to  .

This is analogous to the above examples:

  • Each Dyck word can be represented as a rooted tree. We start with a single node – the root node. This is initially the active node. Reading the word from left to right, when the symbol is an opening parenthesis, add a child to the active node and set this child as the active node. When the symbol is a closing parenthesis, set the parent of the active node as the active node. This way we obtain a tree, in which every non-root node corresponds to a matching pair of parentheses, and its children are the nodes corresponding to the successive Dyck words within these parentheses. Leaf nodes correspond to empty parentheses: (). In analogous fashion, we can construct a Dyck word from a rooted tree via a depth-first search. Thus, there is an isomorphism between Dyck words and rooted trees.
  • In the above figures of lattice paths, each upward edge from the horizontal line at height   to    corresponds to an edge between node   and its child. A node   has as many children, as there are upward edges leading from the horizontal line at height  . For example, in the first path for  , the nodes 0 and 1 will have two children each; in the last (sixth) path, node 0 will have three children and node 1 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 edit

 
The 1,6,6,1 non-crossing partitions with 1,2,3,4 blocks of a 4-element set

In the study of partitions, we see that in a set containing   elements, we may partition that set in   different ways, where   is the  th Bell number. Furthermore, the number of ways to partition a set into exactly   blocks we use the Stirling numbers  . 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,  . To count the non-crossing partitions in which the set is partitioned in exactly   blocks, we use the Narayana number  .

Generating function edit

The generating function for the Narayana numbers is [1]

 

See also edit

Citations edit

  1. ^ Petersen 2015, p. 25.

References edit

  • P. A. MacMahon (1915–1916). Combinatorial Analysis. Cambridge University Press.
  • Petersen, T. Kyle (2015). "Narayana numbers" (PDF). Eulerian Numbers. Birkhäuser Advanced Texts Basler Lehrbücher. Basel: Birkhäuser. doi:10.1007/978-1-4939-3091-3. ISBN 978-1-4939-3090-6.

narayana, number, combinatorics, displaystyle, operatorname, mathbb, form, triangular, array, natural, numbers, called, narayana, triangle, that, occur, various, counting, problems, they, named, after, canadian, mathematician, narayana, 1930, 1987, named, afte. In combinatorics the Narayana numbers N n k n N 1 k n displaystyle operatorname N n k n in mathbb N 1 leq k leq n 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 Narayana numberNamed afterTadepalli Venkata NarayanaNo of known termsinfinityFormulaN n k 1 n n k n k 1 displaystyle operatorname N n k frac 1 n n choose k n choose k 1 OEIS indexA001263Triangle of Narayana Contents 1 Formula 2 Numerical values 3 Combinatorial interpretations 3 1 Dyck words 3 2 Monotonic lattice paths 3 3 Rooted trees 4 Partitions 5 Generating function 6 See also 7 Citations 8 ReferencesFormula editThe Narayana numbers can be expressed in terms of binomial coefficients N n k 1 n n k n k 1 displaystyle operatorname N n k frac 1 n n choose k n choose k 1 nbsp Numerical values editThe first eight rows of the Narayana triangle read n k 1 2 3 4 5 6 7 8 1 1 2 1 1 3 1 3 1 4 1 6 6 1 5 1 10 20 10 1 6 1 15 50 50 15 1 7 1 21 105 175 105 21 1 8 1 28 196 490 490 196 28 1 sequence A001263 in the OEIS Combinatorial interpretations editDyck words edit An example of a counting problem whose solution can be given in terms of the Narayana numbers N n k displaystyle operatorname N n k nbsp is the number of words containing n displaystyle n nbsp pairs of parentheses which are correctly matched known as Dyck words and which contain k displaystyle k nbsp distinct nestings For instance N 4 2 6 displaystyle operatorname N 4 2 6 nbsp 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 N n 1 1 displaystyle operatorname N n 1 1 nbsp since the only way to get a single sub pattern is to have all the opening parentheses in the first n displaystyle n nbsp positions followed by all the closing parentheses Also N n n 1 displaystyle operatorname N n n 1 nbsp as n displaystyle n nbsp distinct nestings can be achieved only by the repetitive pattern More generally it can be shown that the Narayana triangle is symmetric N n k N n n k 1 displaystyle operatorname N n k operatorname N n n k 1 nbsp The sum of the rows in this triangle equal the Catalan numbers N n 1 N n 2 N n 3 N n n C n displaystyle operatorname N n 1 operatorname N n 2 operatorname N n 3 cdots operatorname N n n C n nbsp Monotonic lattice paths edit The Narayana numbers also count the number of lattice paths from 0 0 displaystyle 0 0 nbsp to 2 n 0 displaystyle 2n 0 nbsp with steps only northeast and southeast not straying below the x axis with k displaystyle k nbsp peaks The following figures represent the Narayana numbers N 4 k displaystyle operatorname N 4 k nbsp illustrating the above mentioned symmetries N 4 k displaystyle operatorname N 4 k nbsp Paths N 4 1 1 path with 1 peak nbsp N 4 2 6 paths with 2 peaks nbsp N 4 3 6 paths with 3 peaks nbsp N 4 4 1 path with 4 peaks nbsp The sum of N 4 k displaystyle operatorname N 4 k nbsp is 1 6 6 1 14 which is the 4th Catalan number C 4 displaystyle C 4 nbsp This sum coincides with the interpretation of Catalan numbers as the number of monotonic paths along the edges of an n n displaystyle n times n nbsp grid that do not pass above the diagonal Rooted trees edit nbsp The 6 ordered rooted trees of 4 edges and 2 leaves corresponding to the Narayana number N 4 2 The number of unlabeled ordered rooted trees with n displaystyle n nbsp edges and k displaystyle k nbsp leaves is equal to N n k displaystyle operatorname N n k nbsp This is analogous to the above examples Each Dyck word can be represented as a rooted tree We start with a single node the root node This is initially the active node Reading the word from left to right when the symbol is an opening parenthesis add a child to the active node and set this child as the active node When the symbol is a closing parenthesis set the parent of the active node as the active node This way we obtain a tree in which every non root node corresponds to a matching pair of parentheses and its children are the nodes corresponding to the successive Dyck words within these parentheses Leaf nodes correspond to empty parentheses In analogous fashion we can construct a Dyck word from a rooted tree via a depth first search Thus there is an isomorphism between Dyck words and rooted trees In the above figures of lattice paths each upward edge from the horizontal line at height y displaystyle y nbsp to y displaystyle y nbsp 1 displaystyle 1 nbsp corresponds to an edge between node y displaystyle y nbsp and its child A node y displaystyle y nbsp has as many children as there are upward edges leading from the horizontal line at height y displaystyle y nbsp For example in the first path for N 4 3 displaystyle operatorname N 4 3 nbsp the nodes 0 and 1 will have two children each in the last sixth path node 0 will have three children and node 1 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 edit nbsp The 1 6 6 1 non crossing partitions with 1 2 3 4 blocks of a 4 element set In the study of partitions we see that in a set containing n displaystyle n nbsp elements we may partition that set in B n displaystyle B n nbsp different ways where B n displaystyle B n nbsp is the n displaystyle n nbsp th Bell number Furthermore the number of ways to partition a set into exactly k displaystyle k nbsp blocks we use the Stirling numbers S n k displaystyle S n k nbsp 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 n displaystyle n nbsp elements of the set C n displaystyle C n nbsp To count the non crossing partitions in which the set is partitioned in exactly k displaystyle k nbsp blocks we use the Narayana number N n k displaystyle operatorname N n k nbsp Generating function editThe generating function for the Narayana numbers is 1 n 1 k 1 n N n k z n t k 1 1 z t 1 1 2 z t 1 z 2 t 1 2 2 t z displaystyle sum n 1 infty sum k 1 n operatorname N n k z n t k 1 frac 1 z t 1 sqrt 1 2z t 1 z 2 t 1 2 2tz nbsp See also editCatalan number Delannoy number Motzkin number Narayana polynomials Schroder number Pascal s triangle nbsp Learning materials related to Partition related number triangles at WikiversityCitations edit Petersen 2015 p 25 References editP A MacMahon 1915 1916 Combinatorial Analysis Cambridge University Press Petersen T Kyle 2015 Narayana numbers PDF Eulerian Numbers Birkhauser Advanced Texts Basler Lehrbucher Basel Birkhauser doi 10 1007 978 1 4939 3091 3 ISBN 978 1 4939 3090 6 Retrieved from https en wikipedia org w index php title Narayana number amp oldid 1198297109, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.