Inmathematics, aDelannoy number counts the 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 mathematicianHenri Delannoy.[1]
In this array, the numbers in the first row are all one, the numbers in the second row are theodd numbers, the numbers in the third row are thecentered square numbers, and the numbers in the fourth row are thecentered octahedral numbers. Alternatively, the same numbers can be arranged in atriangular array resemblingPascal's triangle, also called thetribonacci triangle,[6] in which each number is the sum of the three numbers above it:
The row sums of the triangle give successivePell numbers 1, 2, 5, 12, 29, 70, 169,... the sums of the rising diagonals give thetribonacci numbers 1, 1, 2, 4, 7, 13, 24,... [7]
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 themultinomial coefficient. Hence, one gets the closed-form expression
^Covington, Michael A. (2004), "The number of distinct alignments of two strings",Journal of Quantitative Linguistics,11 (3):173–182,doi:10.1080/0929617042000314921,S2CID40549706
^Breukelaar, R.; Bäck, Th. (2005), "Using a Genetic Algorithm to Evolve Behavior in Multi Dimensional Cellular Automata: Emergence of Behavior",Proceedings of the 7th Annual Conference on Genetic and Evolutionary Computation (GECCO '05), New York, NY, USA: ACM, pp. 107–114,doi:10.1145/1068009.1068024,ISBN1-59593-010-8,S2CID207157009
^Peart, Paul; Woan, Wen-Jin (2002). "A bijective proof of the Delannoy recurrence".Congressus Numerantium.158:29–33.ISSN0384-9864.MR1985142.Zbl1030.05003.