Lattice path Created 2026-09-24 Updated 2026-10-18
A lattice path is a sequence of points in an integer lattice whose consecutive differences belong to a prescribed finite set of steps.
For instance, a north-east lattice path uses only unit steps east or north in the integer lattice . Restricting the allowed steps makes the counting question precise: the endpoint fixes how many of each step must occur, but their order remains free. Pascal's rule counts these lattice paths by their last step; the same binomial coefficient counts selections of step positions.
North-east lattice path Created 2026-10-18 Updated 2026-10-20
A north-east lattice path is a lattice path whose allowed steps are and . From to , with nonnegative integers , it has east steps and north steps. The number isThere is one zero-step north-east lattice path when .[ref]
Discrete Mathematics: An Open Introduction (3rd edition) by Oscar Levin. §1.2, Lattice Paths and Binomial Coefficients: encoding paths by step positions
Seven positions, thirty-five paths. To reach , choose the three positions occupied by north steps in a seven-symbol word. For example, the subset of gives
ENENEEN: putting exactly in those positions and elsewhere reconstructs the north-east lattice path. Reading the north-step positions recovers the subset, so these two operations give a bijection. HenceThe numerator counts ordered choices of three different positions; each subset occurs in orders. Dividing by this factorial counts each north-east lattice path once. A binary string recording as and as gives the same example as 0101001.ENENEEN reaches . Both panels use east to the right and north upwards. The right panel counts all such north-east lattice paths, rather than just the displayed one: twenty arrive with a final east step and fifteen with a final north step. Details.This interpretation is useful when arrangements have fixed totals but flexible order: a subset, a binary string, and a north-east lattice path become different views of one selection. It also separates endpoint restrictions from restrictions along the journey. Requiring the lattice path to avoid specified points changes the count; the unrestricted binomial coefficient no longer suffices, but the local north-east lattice path recurrence still suggests how to count allowed arrivals.
North-east lattice path recurrence 2026-10-18
For positive integers , the north-east lattice path recurrence isThe boundaries have only straight north-east lattice paths. The origin counts the zero-step north-east lattice path once.[ref]
Discrete Mathematics: An Open Introduction (3rd edition) by Oscar Levin. §1.2, Lattice Paths: split by the final horizontal or vertical step
Proof outline. A north-east lattice path ending at has a final step either from or from . Deleting that step gives a shorter north-east lattice path; appending it reverses the operation. The two classes are disjoint and exhaust all possibilities, so the rule of sum adds their counts. At , the arrivals from contribute , while those from contribute : altogether .
Set if either integer coordinate is negative. Then the same recurrence relation applies on the nonnegative axes away from : one predecessor contributes one, and the other contributes zero. Initialize separately; applying the recurrence relation there would incorrectly give zero.
Computing the grid once in increasing order of is dynamic programming: every entry uses two earlier entries. If a specified point is forbidden, set its count to zero, then continue the same recurrence relation at allowed points. This counts north-east lattice paths avoiding the forbidden points, provided the origin and endpoint are allowed. The last-step argument remains valid because appending a step to an allowed endpoint cannot visit any new intermediate integer lattice point.
Pascal's rule Created 2026-10-13 Updated 2026-10-18
For an integer and any integer , Pascal's rule holds with the convention outside . The boundary values are , including . Initialize row zero separately: the recurrence relation does not require binomial coefficients with top index .[ref]
Discrete Mathematics: An Open Introduction (3rd edition) by Oscar Levin. §1.2, Recurrence relation for binomial coefficients and Pascal's Triangle: edge values and the two-parent rule
Proof by a marked element. Count the -element subsets of , marking the element as special. Those omitting are exactly the -element subsets of . From those containing , delete to obtain the -element subsets of that same smaller set; adjoining reverses this operation. The rule of sum adds these two disjoint counts. The proof includes and because the impossible class contributes zero.
For an original worked instance, choose three labels from and mark . Omitting it gives selections. Including it leaves two labels to choose from the other six, giving . Therefore . Under the bijection with north-east lattice paths to , membership of position seven says whether the final step is north: the marked-element split becomes the last-step split.
This makes Pascal's rule useful beyond an algebraic identity. A counting problem may have an obvious yes-or-no decision even when its factorial formula is obscure; splitting at that decision exposes a recurrence relation. When the smaller counts are shared between many cases, dynamic programming reuses them. The beauty of Pascal's triangle is that one local addition rule simultaneously organizes subsets, binary strings, north-east lattice paths, and the binomial theorem.
Pascal's triangle Created 2026-10-06 Updated 2026-10-18
Row of Pascal's triangle consists of the binomial coefficients , beginning with row . Boundary entries are one, and Pascal's identity says each interior entry is the sum of the two entries above it. The hockey-stick identity evaluates sums along its diagonals.
The highlighted entry in the binomial coefficient illustration is . Split two-person teams according to whether they contain the fifth person: six choose both members from the other four, and four contain the fifth person together with one of those four. Thus . All entries can be generated by the same local rule, so a large table of counts needs no repeated enumeration of its subsets.
Reading row seven. Label the entries in each row from on the left through on the right. Rows zero through seven are shown below. The highlighted entry comes from and . Starting with row zero , the edges remain one and Pascal's rule determines every interior entry, so mathematical induction uniquely determines the whole array.
Rows zero through seven of Pascal's triangle, with
. The index increases from left to right in each row; it counts north steps in the north-east lattice path interpretation. Each row index counts all steps. Details.The triangular and rectangular layouts describe the same entries. For a north-east lattice path ending at , set and , so . The predecessor has indices , while has indices . Thus the grid's west and south arrivals are exactly the triangle's two parents. This change of indices explains why the north-east lattice path recurrence and Pascal's rule agree.
There is also a global check on the local construction: row sums to . Every subset of an -element set appears exactly once among the classes of sizes , and each element has two inclusion choices by the rule of product. In row seven, . Replacing every subset by its complement reverses the row, explaining . The binomial theorem packages the whole row as the coefficients of .
Blaise Pascal's Traité du triangle arithmétique, published in 1665, presents an arithmetic array and connects it to combinations, games of chance, and powers of binomial expressions. This makes the connection between a counting table and several applications visible in the original work. [ref]
https://archive.org/details/bub_gb_UqgUAAAAQAAJ. Pascal, Traité du triangle arithmétique, 1665 edition
The University of Cambridge's account of the treatise explains its 1654 composition and the organization of these applications. [ref]https://api.repository.cam.ac.uk/server/api/core/bitstreams/9bfbc9c8-fa56-4694-b96d-fc18db0f562f/content. Cambridge University Library, account of Pascal's treatise

