WORKED DEFAULT
Check the calculation with the default inputs
For m = 3 and n = 3, the recurrence gives 63 Delannoy paths.
- Set endpointm = 3, n = 3
- Add predecessorsleft + below + diagonal
- Read endpointD(3,3) = 63
LATTICE PATHS / THREE STEP TYPES
Count paths from the origin to an m by n lattice point using east, north, and northeast diagonal steps.
METHOD / WORKED EXAMPLE
Count paths from the origin to an m by n lattice point using east, north, and northeast diagonal steps. The result panel keeps the defining recurrence or counting identity visible so the output can be checked independently.
WORKED DEFAULT
For m = 3 and n = 3, the recurrence gives 63 Delannoy paths.
READ THE RESULT
The count applies to unrestricted east, north, and northeast steps, not diagonal-avoidance constraints.
ASSUMPTIONS AND LIMITS
Both coordinates are capped at 20 and unsafe exact results are refused.
COMMON QUESTIONS
Build a rectangular table from boundary value one and add the left, lower, and diagonal predecessor for each interior endpoint. The indexing and counted objects are stated in the method and worked example. Inputs must be whole numbers inside the displayed domain; the page never rounds a decimal into an accepted index. This ties the answer to one explicit convention instead of silently mixing sequence offsets or combinatorial interpretations.
The count applies to unrestricted east, north, and northeast steps, not diagonal-avoidance constraints. Small boundary cases and the displayed identity provide useful independent checks. Recompute the displayed recurrence or closed form with the same inputs and compare its previous terms or counting factors. That check supports this bounded result, but it does not transfer the interpretation to a different sequence or counting object.
Both coordinates are capped at 20 and unsafe exact results are refused. The implementation uses integer arithmetic internally and refuses results beyond the safe display boundary. Combinatorial and recurrence values can grow rapidly even when the inputs look small. The conservative cap prevents browser stalls and avoids presenting an unsafe floating-point integer as exact; larger work needs arbitrary-precision software and independent resource controls.
RELATED TOOLS
Use boundary
Build a rectangular table from boundary value one and add the left, lower, and diagonal predecessor for each interior endpoint.
D(m,n)=D(m-1,n)+D(m,n-1)+D(m-1,n-1).