Delannoy Number Calculator

Paths with diagonals

CalculatorsFreeNo Signup
4.9(766 reviews)
All Tools

Loading tool...

About Delannoy Number Calculator

A Delannoy number calculator computing D(m,n): the number of paths from (0,0) to (m,n) using steps right(1,0), up(0,1), and diagonal(1,1). D(n,n) = central Delannoy numbers. Recurrence: D(m,n)=D(m-1,n)+D(m,n-1)+D(m-1,n-1). Client-side.

Delannoy Number Calculator Features

  • D(m,n) computation
  • Triangle
  • Central sequence
  • Path counting
  • Recurrence
Delannoy numbers D(m,n): paths (0,0)→(m,n) using R=(1,0), U=(0,1), D=(1,1). More paths than just R,U because diagonals are allowed. D(m,n) = Σ C(m,k)C(n,k)2^k. Central Delannoy D(n,n): 1,3,13,63,321,1683...

How to Use

Enter m and n:

  • D(m,n): Path count
  • Triangle: Full grid
  • Central: D(n,n) sequence

Closed Form

D(m,n) = Σ_{k=0}^{min(m,n)} C(m,k)·C(n,k)·2^k. The 2^k factor accounts for diagonal steps being 'worth' two moves. Also: D(m,n) = Σ C(m+n-k, m)·C(m,k) using Vandermonde-like identities.

Connections

Central Delannoy D(n,n) = Σ C(n,k)². Schröder numbers are related: S(n) = D(n,n) − D(n-1,n). Delannoy numbers also appear in queen moves on a chessboard and mathematical physics.

Step-by-Step Instructions

  1. 1Enter m and n.
  2. 2Compute D(m,n).
  3. 3View grid.
  4. 4Central sequence.
  5. 5Compare.

Delannoy Number Calculator — Frequently Asked Questions

How do Delannoy numbers relate to binomial coefficients?+

Without diagonals, paths (0,0)→(m,n) number C(m+n,m). With diagonals, we get D(m,n) = Σ C(m,k)C(n,k)2^k, which is much larger. The diagonal steps create exponentially more paths.

What are central Delannoy numbers?+

D(n,n): 1, 3, 13, 63, 321, 1683... They grow like (3+2√2)^n. These count paths from (0,0) to (n,n) on a square grid with diagonals. They're related to Legendre polynomials: D(n,n) = P_n(3).

Named after whom?+

Henri Delannoy (1833-1915), a French military officer and amateur mathematician. He studied these paths in the context of combinatorial problems. The numbers were later recognized in many other contexts.

Share this tool: