HOME

TheInfoList



OR:

In mathematics, a Delannoy number D describes the number of paths from the southwest corner (0, 0) of a rectangular grid to the northeast corner (''m'', ''n''), using only single steps north, northeast, or east. The Delannoy numbers are named after French army officer and amateur mathematician Henri Delannoy. The Delannoy number D(m,n) also counts the number of global alignments of two sequences of lengths m and n, the number of points in an ''m''-dimensional
integer lattice In mathematics, the -dimensional integer lattice (or cubic lattice), denoted , is the lattice in the Euclidean space whose lattice points are -tuples of integers. The two-dimensional integer lattice is also called the square lattice, or grid ...
or
cross polytope In geometry, a cross-polytope, hyperoctahedron, orthoplex, or cocube is a regular, convex polytope that exists in ''n''- dimensional Euclidean space. A 2-dimensional cross-polytope is a square, a 3-dimensional cross-polytope is a regular octahed ...
which are at most ''n'' steps from the origin, and, in
cellular automata A cellular automaton (pl. cellular automata, abbrev. CA) is a discrete model of computation studied in automata theory. Cellular automata are also called cellular spaces, tessellation automata, homogeneous structures, cellular structures, tessel ...
, the number of cells in an ''m''-dimensional
von Neumann neighborhood In cellular automata, the von Neumann neighborhood (or 4-neighborhood) is classically defined on a two-dimensional square lattice and is composed of a central cell and its four adjacent cells. The neighborhood is named after John von Neumann, ...
of radius ''n'' while the number of cells on a surface of an ''m''-dimensional
von Neumann neighborhood In cellular automata, the von Neumann neighborhood (or 4-neighborhood) is classically defined on a two-dimensional square lattice and is composed of a central cell and its four adjacent cells. The neighborhood is named after John von Neumann, ...
of radius ''n'' is given with .


Example

The Delannoy number ''D''(3,3) equals 63. The following figure illustrates the 63 Delannoy paths from (0, 0) to (3, 3): The subset of paths that do not rise above the SW–NE diagonal are counted by a related family of numbers, the
Schröder number In mathematics, the Schröder number S_n, also called a ''large Schröder number'' or ''big Schröder number'', describes the number of lattice paths from the southwest corner (0,0) of an n \times n grid to the northeast corner (n,n), using only ...
s.


Delannoy array

The Delannoy array is an
infinite matrix In mathematics, a matrix (plural matrices) is a rectangular array or table of numbers, symbols, or expressions, arranged in rows and columns, which is used to represent a mathematical object or a property of such an object. For example, \beg ...
of the Delannoy numbers: : In this array, the numbers in the first row are all one, the numbers in the second row are the odd numbers, the numbers in the third row are the
centered square number In elementary number theory, a centered square number is a centered figurate number that gives the number of dots in a square with a dot in the center and all other dots surrounding the center dot in successive square layers. That is, each cen ...
s, and the numbers in the fourth row are the
centered octahedral number A centered octahedral number or Haüy octahedral number is a figurate number that counts the number of points of a three-dimensional integer lattice that lie inside an octahedron centered at the origin. The same numbers are special cases of t ...
s. Alternatively, the same numbers can be arranged in a
triangular array In mathematics and computing, a triangular array of numbers, polynomials, or the like, is a doubly indexed sequence in which each row is only as long as the row's own index. That is, the ''i''th row contains only ''i'' elements. Examples Notable ...
resembling
Pascal's triangle In mathematics, Pascal's triangle is a triangular array of the binomial coefficients that arises in probability theory, combinatorics, and algebra. In much of the Western world, it is named after the French mathematician Blaise Pascal, although o ...
, also called the tribonacci triangle, in which each number is the sum of the three numbers above it: 1 1 1 1 3 1 1 5 5 1 1 7 13 7 1 1 9 25 25 9 1 1 11 41 63 41 11 1


Central Delannoy numbers

The central Delannoy numbers ''D''(''n'') = ''D''(''n'',''n'') are the numbers for a square ''n'' × ''n'' grid. The first few central Delannoy numbers (starting with ''n''=0) are: :1, 3, 13, 63, 321, 1683, 8989, 48639, 265729, ... .


Computation


Delannoy numbers

For k diagonal (i.e. northeast) steps, there must be m-k steps in the x direction and n-k steps in the y direction in order to reach the point (m, n) ; as these steps can be performed in any order, the number of such paths is given by the
multinomial coefficient In mathematics, the multinomial theorem describes how to expand a power of a sum in terms of powers of the terms in that sum. It is the generalization of the binomial theorem from binomials to multinomials. Theorem For any positive integer ...
\binom = \binom \binom . Hence, one gets the closed-form expression : D(m,n) = \sum_^ \binom \binom . An alternative expression is given by : D(m,n) = \sum_^ \binom \binom 2^k or by the infinite series : D(m,n) = \sum_^\infty \frac \binom \binom. And also : D(m,n) = \sum_^ A(m,k), where A(m,k) is given with . The basic
recurrence relation In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
for the Delannoy numbers is easily seen to be :D(m,n)=\begin1 &\textm=0\textn=0\\D(m-1,n) + D(m-1,n-1) + D(m,n-1)&\text\end This recurrence relation also leads directly to the generating function : \sum_^\infty D(m, n) x^m y^n = (1 - x - y - xy)^ .


Central Delannoy numbers

Substituting m = n in the first closed form expression above, replacing k \leftrightarrow n-k , and a little algebra, gives : D(n) = \sum_^n \binom \binom , while the second expression above yields : D(n) = \sum_^n \binom^2 2^k . The central Delannoy numbers satisfy also a three-term recurrence relationship among themselves, : n D(n) = 3(2n-1)D(n-1) - (n-1)D(n-2) , and have a generating function : \sum_^\infty D(n) x^n = (1-6x+x^2)^ . The leading asymptotic behavior of the central Delannoy numbers is given by : D(n) = \frac \, (1 + O(n^)) where \alpha = 3 + 2 \sqrt \approx 5.828 and c = (4 \pi (3 \sqrt - 4))^ \approx 0.5727 .


See also

*
Motzkin number In mathematics, the th Motzkin number is the number of different ways of drawing non-intersecting chords between points on a circle (not necessarily touching every point by a chord). The Motzkin numbers are named after Theodore Motzkin and have d ...
*
Narayana number In combinatorics, the Narayana numbers \operatorname(n, k), n \in \mathbb^+, 1 \le k \le n form a triangular array of natural numbers, called the Narayana triangle, that occur in various counting problems. They are named after Canadian mathemati ...


References


External links

* {{Classes of natural numbers Integer sequences Triangles of numbers Combinatorics