Cycle lemma Created 2026-10-06 Updated 2026-10-13
The cycle lemma turns a constraint at every prefix into a choice of where to start reading a circular sequence. Think of a lattice path whose vertical increments record votes for two candidates: for one candidate and for the other. Its partial sums are the running lead. Rotating the increments preserves the final lead, but changes whether that lead stays strictly positive throughout. This makes rotation useful for counting lattice paths subject to prefix constraints; the sum-one cycle lemma also supplies the cyclic prefix condition in the cyclic Turán covering construction.
The sum-one form. Let be any nonempty sequence of integers with . A starting position means reading the rotated sequenceCall good when every nonempty partial sum of is strictly positive, including the full sum:The cycle lemma says there is exactly one good starting position. Negative entries, zero entries and positive entries larger than one are all allowed in this sum-one form. The empty partial sum is zero and is excluded from the positivity requirement. Douglas West's exercise 1.3.46(a) states a stronger result for arbitrary integer entries: take its case with all partial sums positive. [ref]
https://api.pageplace.de/preview/DT0400.9781108889520_A49236431/preview-9781108889520_A49236431.pdf#page=72. West, Combinatorial Mathematics, exercise 1.3.46(a), p. 50
A worked sum-one example. For , the partial sums starting at zero are . Starts fail: they have, respectively, a zero second partial sum, a negative first partial sum, and a zero first partial sum. Start reads and has nonempty partial sums , all positive. This example both allows an increment larger than one and shows why touching zero fails.
Why the last minimum works. Put and . Choose the last index attaining the minimum of the proper partial sums : include and exclude . After that index, later proper partial sums are strictly larger than ; also , since . Before wrapping, the new partial sums are therefore positive differences . After wrapping, they are . In the worked example the last minimum is at ; choosing the first minimum at would fail. Uniqueness takes one further observation: two good starts would split the circle into two nonempty arcs, each having a positive integer sum, yet their sum would be one.
Gaussian binomial coefficient Created 2026-10-13 Updated 2026-10-20
A Gaussian binomial coefficient refines an ordinary binomial coefficient into a polynomial that remembers a size statistic. For nonnegative integers and , writeThe product represents a polynomial; it is not an instruction to divide by zero when or a denominator vanishes. The Gaussian binomial coefficient recurrence gives a way to compute it with only addition and multiplication. The empty product for is one, and as well. Setting after obtaining the polynomial recovers .
For example,At this gives six objects, but its coefficients reveal how those six objects are distributed across sizes : there are two of size two and one of each other size. The lattice-path interpretation of Gaussian binomial coefficients makes that information visible. Take unit steps north or east from to . A north step at horizontal coordinate contributes shaded cells to its left. The six step words have total shaded areas .
This is useful because an aggregate count can hide the feature one actually wants. A generating function retains the distribution of a statistic, so coefficient extraction answers questions such as “how many allowed diagrams contain exactly two cells?” The partition interpretation of Gaussian binomial coefficients makes every coefficient a nonnegative integer without relying on cancellation in the product formula.
An unexpected second use comes from linear algebra. If is a prime power, the value counts the -dimensional vector subspaces of . Thus the same expression that counts six paths at counts 35 two-dimensional subspaces of at . The Gaussian binomial coefficient counts finite-field subspaces article explains why selecting a vector subspace differs from selecting a subset of coordinates. [ref]
This relationship illustrates a q-analogue: the parameter can encode a statistic in one interpretation and the size of a finite field in another. Here denotes the formal variable, while denotes a finite field's cardinality when we evaluate the polynomial. The interpretation using a finite field requires to be a prime power; evaluating the polynomial at an arbitrary number does not construct a field of that size.
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.
Use lattice paths with north steps and east steps, beginning at . Let be the sum of the horizontal coordinates of its north steps, equivalently the number of unit cells to their left inside the -by- rectangle. A north step in zero-based word position has earlier north steps, so its horizontal coordinate is . The Gaussian binomial coefficient recurrence therefore counts these lattice paths with weight .
Lindström-Gessel-Viennot lemma Created 2026-10-20 Updated 2026-11-05
Let a finite directed acyclic graph have weighted edges, sources and sinks . Let be the sum of products of edge weights over directed paths from to . The Lindström-Gessel-Viennot lemma says that is the signed weighted sum of vertex-disjoint path families, with sign given by the permutation pairing sources to sinks. Expand the determinant: families with an intersection cancel by exchanging the tails of two paths at the first shared vertex, a sign-reversing involution. In planar arrangements where only the identity pairing can be disjoint, the determinant directly counts disjoint lattice paths.
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.
The Young diagrams of partitions in a rectangle with at most rows and at most cells in each row correspond to the lattice paths in the lattice-path interpretation of Gaussian binomial coefficients. Read the shaded row lengths from top to bottom; the result is a nonincreasing list of nonnegative integers. This bijection preserves the number of cells.
In a two-by-two rectangle, the possibilities are the empty integer partition, , , , , and . Their sizes are , giving . In particular, there are two allowed diagrams of size two, explaining the middle coefficient.[ref]

