In
mathematics
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, a Delannoy number
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
Henri–Auguste Delannoy (28 September 1833 – 5 February 1915) was a French army officer and amateur mathematician, after whom the Delannoy numbers are named...
Delannoy grew up in Guéret, France, the son of a military accountant. After taki ...
.
The Delannoy number
also counts the number of
global alignments of two sequences of lengths
and
, the number of points in an ''m''-dimensional
integer lattice or
cross polytope which are at most ''n'' steps from the origin, and, in
cellular automata, the number of cells in an ''m''-dimensional
von Neumann neighborhood of radius ''n'' while the number of cells on a surface of an ''m''-dimensional
von Neumann neighborhood 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 numbers.
Delannoy array
The Delannoy array is an
infinite matrix 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 number
In mathematics, parity is the property of an integer of whether it is even or odd. An integer is even if it is a multiple of two, and odd if it is not.. For example, −4, 0, 82 are even because
\begin
-2 \cdot 2 &= -4 \\
0 \cdot 2 &= 0 \\
41 ...
s, the numbers in the third row are the
centered square numbers, and the numbers in the fourth row are the
centered octahedral numbers. Alternatively, the same numbers can be arranged in a
triangular array resembling
Pascal's triangle, 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
diagonal (i.e. northeast) steps, there must be
steps in the
direction and
steps in the
direction in order to reach the point
; as these steps can be performed in any order, the number of such paths is given by the
multinomial coefficient
. Hence, one gets the closed-form expression
:
An alternative expression is given by
:
or by the infinite series
:
And also
:
where
is given with .
The basic
recurrence relation for the Delannoy numbers is easily seen to be
:
This recurrence relation also leads directly to the
generating function
In mathematics, a generating function is a way of encoding an infinite sequence of numbers () by treating them as the coefficients of a formal power series. This series is called the generating function of the sequence. Unlike an ordinary seri ...
:
Central Delannoy numbers
Substituting
in the first closed form expression above, replacing
, and a little algebra, gives
:
while the second expression above yields
:
The central Delannoy numbers satisfy also a three-term recurrence relationship among themselves,
:
and have a generating function
:
The leading asymptotic behavior of the central Delannoy numbers is given by
:
where
and
.
See also
*
Motzkin number
*
Narayana number
References
External links
*
{{Classes of natural numbers
Integer sequences
Triangles of numbers
Combinatorics