Alphabeta Math
DefinitionDefinition: Literature-sourcedProof: Not applicableSession-authored (Fable 5 assisted)judge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Motzkin paths, Schröder paths, the Motzkin numbers Mn, the large Schröder numbers Rn, and their generating functions

Definition

Put U=(1,1), D=(1,1), L=(1,0) and L2=(2,0), and recall the lattice paths of Lattice paths, step sets and step words. For a lattice path v of length write h(i) for the second coordinate of v(i) and x(i) for its first coordinate.

Definition. Let nN.

  • A Motzkin path of length n is a lattice path of length n with steps in {U,D,L} from (0,0) to (n,0) with h(i)0 for every in. Write Motn for the set of them.
  • A Schröder path of half-length n is a lattice path with steps in {U,D,L2} from (0,0) to (2n,0), of any length, with h(i)0 for every index i. Write Schn for the set of them.

Each step of a Motzkin path advances the first coordinate by exactly 1, so a Motzkin path of length n automatically ends at first coordinate n; this is the same induction as in Diagonal lattice paths with steps U=(1,1) and D=(1,1), and the height function. A Schröder path has a step of width 2, so its length is not determined by n and is recorded below.

Counting the steps of a Schröder path. Let vSchn have k up steps, k down steps and m level steps. Each U raises h by 1, each D lowers it by 1 and each L2 leaves it unchanged, so induction on the index (The principle of mathematical induction) gives h(i) as the number of U steps among the first i minus the number of D steps among them; from h=0 at the last index we get k=k. Likewise the first coordinate of v(i) is the number of U and D steps among the first i plus twice the number of L2 steps among them, so 2n=2k+2m and m=nk. Hence

0kn,and v has exactly n+k steps,

of which 2k are not level. In particular the length of a Schröder path of half-length n is at most 2n.

Both sets are finite, and the two counts are therefore defined. By For each start point the step word is a bijection onto Sn the paths of a given length from (0,0) with steps in a three-element step set form a finite set of 3 elements. So Motn is a subset of a finite set and is finite (A subset of a finite set is finite, with BA, and equality holds if and only if B=A); and Schn is a subset of the union of the finitely many sets of paths of length for 2n, which is finite by The sum rule: a finite disjoint union is finite with AB=A+B and iIAi=iIAi, and a sum over a finite index set splits along a partition because paths of different lengths are functions with different domains, so Schn is finite as well. Define

Mn:=Motn,Rn:=Schn

(The cardinality A of a finite set), the Motzkin numbers and the large Schröder numbers. Both are defined as counts, and every formula for them below is a theorem.

Small values, read off the definition. At n=0 both conditions leave only the empty path at (0,0), so M0=1 and R0=1. For M1: a single step from (0,0) to (1,0) must be L, since U ends at height 1 and D at height 1, so M1=1. For M2: the words LL and UD qualify, and DU fails the height condition at the middle vertex, so M2=2. For R1: a path from (0,0) to (2,0) is L2 or UD, and DU fails the height condition, so R1=2.

The two generating functions. In Qx (Formal power series over a commutative ring and the coefficient-extraction functional [xn]) put

M(x):=n0Mnxn,R(x):=n0Rnxn,

each count read as a rational coefficient exactly as in The Catalan generating function C(x)=n0Cnxn in Qx; two series are equal exactly when all their coefficients agree (Coefficient extraction is R-linear, separates formal series, shifts under multiplication by xk, and converts products to finite convolution).

Remarks

  • The indeterminate marks length in M(x) and half-length in R(x). That is the indexing of the source, and it is what makes the two functional equations below differ in the power of x multiplying the square: a U and a D consume two units of length but only one unit of half-length. Reading either series with the other convention gives a false equation.

  • The letter R for the large Schröder numbers is a deliberate departure. The source writes Sn; here S already names a step set (Lattice paths, step sets and step words) and Sa the periodic partial-sum function (Cyclic shifts of an integer word and its periodic partial-sum function), so the numbers are written Rn and the paths Schn. Nothing else about the source's convention is changed: Rn counts the Schröder paths of half-length n, so R0=1 and R1=2.

  • Why the finiteness clause treats the two cases differently. A Motzkin path of length n has exactly n steps, so one word length suffices. A Schröder path of half-length n has n+k steps, and k is not determined by n; the bound 2n is what makes the union above finite, and it is attained exactly when the path has no level step.

Depends on

Used by

Dependency tree · two levels

48 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources