Next Article in Journal
An Implementation of the Python Code for Computing the Independent Number of Genus Graphs
Previous Article in Journal
On Some Classes of Enriched Cyclic Contractive Self-Mappings and Their Boundedness and Convergence Properties
Previous Article in Special Issue
Symbolic Methods Applied to a Class of Identities Involving Appell Polynomials and Stirling Numbers
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Promotion of Lattice Paths by Riordan Arrays

Department of Computing and Mathematics, School of Science and Computing, Waterford Campus, South East Technological University, X91 K0EK Waterford, Ireland
*
Author to whom correspondence should be addressed.
Mathematics 2025, 13(18), 2949; https://doi.org/10.3390/math13182949
Submission received: 2 July 2025 / Revised: 28 July 2025 / Accepted: 15 August 2025 / Published: 11 September 2025

Abstract

This paper investigates the use of Riordan arrays in the enumeration and transformation of lattice paths through a combinatorial framework of promotion. We demonstrate how Dyck paths can be promoted to generalised Motzkin and Schröder paths via two key transformations: the Binomial and Chebyshev transforms, each associated with specific Riordan arrays. These promotions yield classical integer sequences and continued fraction representations that enumerate weighted lattice paths. The framework is further extended to analyse grand paths, which are permitted to cross below the x-axis. We develop constructive bijections establishing explicit correspondences between promoted path families. The promotion framework offers new insights into known integer sequences and enables a unified approach to the generalisation and classification of lattice paths.

1. Introduction

Riordan arrays and lattice paths provide a unifying framework for studying and counting combinatorial structures. Riordan arrays, formally introduced in 1991 by Shapiro et al., are infinite, lower-triangular matrices defined by pairs of generating functions, originally used to generalise properties of Pascal’s triangle [1]. Lattice paths have played a central role in combinatorics since the 1960’s [2], where they have been approached through analytical techniques (e.g., the kernel method), probabilistic methods, and algebraic tools such as Riordan arrays, where many connections have been established. Here the aim is to further deepen these connections by using Riordan array theory to enable the enumeration of broader path families, particularly focusing on the framework of promotion. In this paper, the term promotion refers to the action of a Riordan array on lattice paths, whereby the array systematically alters the step set and weights of the paths. This approach provides a structured way to derive new enumerative results and uncover hidden bijections between seemingly unrelated path families. A key tool in this study is the use of Riordan transforms, particularly the Binomial transform [3], which corresponds to the action of the Riordan array known as the Binomial matrix 1 1 x , x 1 x on a generating function. Similarly, we refer to the Riordan matrix 1 1 x 2 , x 1 x 2 as the Chebyshev transform. These transformations enable the systematic “promotion” of simple paths (e.g., Dyck paths) to more complex ones (e.g., Motzkin or Schröder paths), and they play a central role in the framework developed here.
The key contributions of this paper are as follows:
1.
Developing a generalised framework that extends classical paths to broader families using Riordan arrays.
2.
Deriving new enumerative results for these path families, including explicit generating functions and recurrence relations.
3.
Uncovering bijections between paths with different step sets and boundary conditions, revealing previously unnoticed combinatorial correspondences.
This expanded framework enriches our understanding of Riordan arrays and lattice paths. The promotion of simpler paths, such as Dyck paths, to Motzkin or Schröder paths via Riordan arrays is motivated by both theoretical and practical considerations. Riordan array transformations enable the derivation of new enumerative results. Practically, such paths appear in diverse areas such as coding theory, computational biology (e.g., RNA secondary structures) and, more recently, solutions to a variety of polymer models of absorption.

1.1. Preliminaries

1.1.1. Riordan Arrays

Riordan arrays [1,4,5] are defined by a pair of power series, drawn from two relevant subsets of the set of power series. These power series can be over a suitable ring that allows for the operations that are particular to the context of the problem at hand. In analytic contexts the coefficient ring is often taken as C . In combinatorial settings, the ring of integers Z is often sufficient. Thus, we let
F 0 = { g ( x ) = g 0 + g 1 x + g 2 x 2 + | g 0 0 }
be the set of power series with a non-zero constant term. Elements g ( x ) F 0 are thus invertible, that is, we can talk about the reciprocal 1 g . We also define
F 1 = { f ( x ) = f 1 x + f 2 x 2 + | f 0 = 0 ,   f 1 0 } .
Elements f ( x ) F 1 then possess a compositional inverse f ¯ ( x ) = f 1 , which satisfies f ( f ¯ ( x ) ) = x and f ¯ ( f ( x ) ) = x . Thus f ¯ ( x ) is the solution u ( x ) of the equation f ( u ) = x that satisfies u ( 0 ) = 0 . Note that as a formal power series, u ( 0 ) = 0 in this case just means that the constant term of the power series u ( x ) is zero. Elements in F 1 are composable. Thus, if f ( x ) F 1 , we can talk about the power series g ( f ( x ) ) . By a Riordan array, we mean a pair ( g ( x ) ,   f ( x ) ) F 0 × F 1 . Each such pair has a matrix representation ( t n , k ) 0 n , k given by
t n , k = [ x n ] g ( x ) f ( x ) k ,
where [ x n ] is the functional that extracts the coefficient of x n in a power series. The set of Riordan arrays forms a group for the operations
( g ( x ) ,   f ( x ) ) · ( u ( x ) ,   v ( x ) ) = ( g ( x ) u ( f ( x ) ) ,   v ( f ( x ) ) ) ,
and
( g ( x ) ,   f ( x ) ) 1 = 1 g ( f ¯ ( x ) ) ,   f ¯ ( x ) .
In the matrix representation, these expressions correspond to matrix multiplication and the matrix inverse. The identity element is ( 1 ,   x ) since, with that, we have t n , k = [ x n ] x k = δ n , k .
As seen in the group product above, the operation of a Riordan array ( g ( x ) ,   f ( x ) ) on a power series u ( x ) is given by
( g ( x ) ,   f ( x ) ) · u ( x ) = g ( x ) u ( f ( x ) ) .
We call this the fundamental theorem of Riordan arrays. In the matrix representation, it corresponds to multiplying the vector whose elements are ( u 0 , u 1 , u 2 , ) T by the matrix ( t n , k ) .
A subgroup of interest in this paper is the Bell subgroup. The Bell subgroup of the Riordan group is composed of elements of the form ( g ( x ) ,   x g ( x ) ) .
Example 1. 
The Binomial matrix n k is given by the element of the Bell subgroup 1 1 x , x 1 x as
[ x n ] 1 1 x x k ( 1 x ) k = [ x n k ] 1 ( 1 x ) k + 1 = [ x n k ] j = 0 k + 1 j ( 1 ) j x j = [ x n k ] j = 0 k + 1 + j 1 j x j = k + n k n k = n n k = n k .
We refer to the effect of the Riordan array 1 1 x , x 1 x on a power series as the Binomial transform of the series. Note that 1 1 x , x 1 x β = 1 1 β x , x 1 β x . A second element of interest of the Bell subgroup is 1 1 x 2 , x 1 x 2 . We calculate that general term of the second array 1 1 x 2 , x 1 x 2 . We obtain
t n , k = [ x n ] x k ( 1 x 2 ) k + 1 = [ x n k ] ( 1 x 2 ) ( k + 1 ) = [ x n k ] j = 0 ( k + 1 ) j ( 1 ) j x 2 j = [ x n k ] j = 0 k + j j x 2 j = k + n k 2 n k 2 1 + ( 1 ) n k 2 = n + k 2 k 1 + ( 1 ) n k 2 .
Now this gives the matrix with first few entries
0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 1 0 0 2 2 0 0 0 0 0 2 1 0 3 3 0 0 0 2 0 0 3 2 0 4 4 0 0 0 3 1 0 4 3 0 5 5 0 3 0 0 4 2 0 5 4 0 6 6 .
We let a ( x ) be the generating function of the sequence a 0 ,   a 1 ,   a 2 , . Then, the generating function
1 1 x 2 , x 1 x 2 · a ( x )
expands to give the sequence b n with the general term
b n = k = 0 n n + k 2 k 1 + ( 1 ) n k 2 a k = k = 0 n 2 n k k a n 2 k .
The Chebyshev polynomials of the second kind U n ( x ) can be expressed as U n ( x ) = k = 0 n 2 ( 1 ) k n k k ( 2 x ) n 2 k . The coefficient structure in this expansion closely mirrors that generated by the Riordan array 1 1 x 2 , x 1 x 2 . For this reason, throughout this paper, we refer to the action of this array on a sequence as the Chebyshev transform, emphasising the connection with the combinatorial structure underlying the Chebyshev polynomials. Note that 1 1 x 2 , x 1 x 2 γ = 1 1 γ x 2 , x 1 γ x 2 .

1.1.2. Lattice Paths

In what follows are the definitions and notations that can be found in [6,7]. Meanwhile, known sequences of integers in this note will be referred to by their On-Line Encyclopedia of Integer Sequences (OEIS) numbers [8]. A step set S Z 2 is a finite set of vectors { ( a 1 , b 1 ) , , ( a m , b m ) } . An n-step lattice path or walk is a sequence of vectors v = ( v 1 , , v n ) such that v j is in S. Geometrically, it is a set of points ω = ( ω 0 , ω 1 , , ω n ) , where ω i Z 2 , ω 0 = ( 0 ,   0 ) and ω i ω i 1 = ν i for i = 1 , , n . The elements of S are called steps or jumps. The length n = | ω | of a lattice path is its number of jumps. Here we introduce the paths we will meet throughout this paper and present their enumerations using Riordan arrays. Motzkin paths with step set S = { ( 1 ,   1 ) ,   ( 1 ,   0 ) ,   ( 1 , 1 ) } that begin at ( 0 ,   0 ) , end at ( n ,   0 ) and remain in the first quadrant are enumerated by the well known Motzkin numbers, M n (OEIS A001006), and satisfy the recurrence
M n = M n 1 + i = 0 n 2 M i M n 2 i , M 0 = 1 , M 1 = 1 .
The Motzkin numbers can also be expressed in closed form as M n = k = 0 n 2 n 2 k C k , where C n = 1 n + 1 2 n n is the n-th Catalan number. This expression translates the fact that the Motzkin numbers are the Binomial transform of the aerated Catalan numbers (i.e., recall that the aerated sequence is formed by inserting a zero between each pair of Catalan numbers: C 0 ,   0 ,   C 1 ,   0 ,   C 2 ,   0 , ). Now, using Riordan arrays, we can express the result as follows:
1 1 x , x 1 x · c ( x 2 ) = 1 x 1 2 x 3 x 2 2 x 2 = m ( x ) ,
which is the generating function of the Motzkin numbers, and c ( x ) = 1 1 4 x 2 x is the generating function of the Catalan numbers. Thus, the above binomial expression suggests that Dyck paths are “promoted” to full Motzkin paths by the Binomial matrix. Note that Dyck paths with step set S = { ( 1 , 1 ) , ( 1 , 1 ) } that begin at ( 0 ,   0 ) , end at ( 2 n ,   0 ) and remain in the first quadrant are enumerated by the Catalan numbers (OEIS A000108) and satisfy the recurrence
C n = i = 0 n 1 C i C n i 1 , C 0 = 1 .
The Catalan numbers can also be expressed in closed form as C n = 1 n + 1 2 n n .
Motzkin paths with step set S = { ( 1 ,   1 ) ,   ( 1 ,   0 ) ,   ( 1 ,   1 ) } that begin at ( 0 ,   0 ) , end at ( n ,   0 ) and are not constrained to the first quadrant are known as grand Motzkin paths and are enumerated by the central trinomial numbers T n (OEIS A002426), with
T n = k = 0 n 2 n 2 k 2 k k .
That is, T n is given by the Binomial transform of the aerated central binomial coefficients. In terms of generating functions and Riordan arrays, we have
1 1 x , x 1 x · 1 1 4 x 2 = 1 1 x 1 1 4 x 1 x 2 = 1 1 2 x 3 x 2 = t ( x ) ,
which is the generating function of the trinomial numbers. Note that Dyck paths with step set S = { ( 1 ,   1 ) ,   ( 1 ,   1 ) } that begin at ( 0 ,   0 ) , end at ( 2 n ,   0 ) and do not have to remain in the first quadrant are enumerated by the aerated central binomial numbers and are known as grand Dyck paths, so, again, we have the notion of promotion by the Binomial matrix. Schröder paths with step set S = { ( 1 ,   1 ) ,   ( 2 ,   0 ) ,   ( 1 ,   1 ) } that begin at ( 0 ,   0 ) , end at ( 2 n ,   0 ) and remain in the first quadrant are enumerated by the large Schröder numbers (OEIS A006318) governed by the recurrence
S n = 3 S n 1 + i = 1 n 2 S i S n i 1 , S 0 = 1 ,   S 1 = 2 .
A closed form expression for the large Schröder numbers is S n = k = 0 n n + k 2 k C k , where C k = 1 k + 1 2 k k . Paths with step set S = { ( 1 ,   1 ) ,   ( 1 ,   0 ) ,   ( 2 ,   0 ) ,   ( 1 ,   1 ) } that begin at ( 0 ,   0 ) , end at ( 2 n ,   0 ) and remain in the first quadrant are known as Motzkin–Schröder paths [9]. Note that these paths have also been referred to in the literature as 2-Motzkin paths, but this term has been also used to describe Motzkin paths with two types of horizontal ( 1 ,   0 ) steps [10,11]. These paths have also been called 2-generalised Motzkin paths [12]. To avoid confusion, the term Motzkin–Schröder path is used in this paper. Removing the restriction to remain in the first quadrant gives grand Motzkin–Schröder paths. The notion of weighted Motzkin paths was first introduced by P. Flajolet in [13] and has been widely used in the literature related to Motzkin paths. In particular, the study of lattice path colourings is viewed as an assignment of weights on each step of a path; such a connection can be seen in some papers in enumerative and bijective combinatorics [9,11,14,15]. The following fundamental result shows the connection between weighted Motzkin paths and continued fractions.
Theorem 1 
([13,16]). Let
μ n = π M n ν ( π )
where the sum is over the set M n of Motzkin paths π = π ( 0 ) , , π ( n ) of length n. Here, π ( i ) is the level after the i th step and the valuation of a path is the product of valuations of its steps ν ( π ) = i = 1 n ν i , where
ν i = ν π ( i 1 ) , π ( i ) = 1 if the i th step is ( 1 ,   1 ) , β π ( i 1 ) if the i th step is ( 1 ,   0 ) , α π ( i 1 ) if the i th step is ( 1 ,   1 ) .
Then, the generating function
M ( x ) = n = 0 μ n x n
has the Jacobi type continued fraction (J-fraction) expansion (see [17]).
M ( x ) = 1 1 β 0 x α 1 x 2 1 β 1 x α 2 x 2 1 β 2 x α 3 x 2 .
Consequently, the above theorem can be extended to Schröder paths. The proof of this corollary follows from the symbolic method [18] applied to the step set S = ( 1 , 1 ) , ( 1 , 1 ) , ( 2 , 0 ) .
Corollary 1. 
Suppose that
σ n = π S n ν ( π )
where S n is the collection of Schröder paths π = π ( 0 ) , , π ( 2 n ) of semilength n and having the valuation ν ( π ) = i = 1 n ν i , defined as follows:
ν i = ν π ( i 1 ) , π ( i ) = 1 if the i th step is ( 1 ,   1 ) , β π ( i 1 ) if the i th step is ( 2 ,   0 ) , α π ( i 1 ) if the i th step is ( 1 ,   1 ) .
Then, the generating function
S ( x 2 ) = n = 0 σ n x 2 n
has the Thron type continued fraction (T-fraction) expansion.
S ( x 2 ) = 1 1 β 0 x 2 α 1 x 2 1 β 1 x 2 α 2 x 2 1 β 2 x 2 α 3 x 2 .
In the generating function above, we can change x 2 n and x 2 into x n and x, respectively, without ill effect.
We end this section by introducing a result concerning coloured (or weighted) Motzkin–Schröder paths.
Proposition 1 
([9]). The number A n = A n ( r ,   s ,   t ) of Motzkin–Schröder paths of length n, where the horizontal steps h = ( 1 ,   0 ) can be of r colours, the horizontal steps H = ( 2 ,   0 ) can be of s colours and the up steps ( 1 ,   1 ) can be of t colours, is given by the following recurrence:
A n = r A n 1 + s A n 2 + t i = 0 n 2 A i A n 2 i , A 0 = 1 ,   A 1 = r .

2. Promotion of Lattice Paths

2.1. Promotion of a Family of Paths Restricted to the First Quadrant

We motivate this section first with the following example.
Example 2. 
The Motzkin–Schröder paths are enumerated by the sequence (OEIS A128720) which begins
1 , 1 , 3 , 6 , 16 , 40 , 109 , 297 , 836 , .
Expressing the related generating function using Riordan arrays, we have
1 1 x 2 , x 1 x 2 · m ( x ) = 1 x x 2 1 2 x 5 x 2 + 2 x 3 + x 4 2 x 2 .
The sequence OEIS A128720 has its general term given by k = 0 n 2 n k k M n 2 k . From a path construction perspective, the Chebyshev transform is inducing the ‘Schröder’ step in the paths. The first few rows of the matrices expand as follows:
1 0 0 0 0 0 0 1 0 0 0 0 1 0 1 0 0 0 0 2 0 1 0 0 1 0 3 0 1 0 0 3 0 4 0 1 1 1 2 4 9 21 = 1 1 3 6 16 40 .
We note that these paths can also be constructed from a double promotion of the aerated Catalan numbers as we have the following expression for the generating function.
1 1 x x 2 , x 1 x x 2 · c ( x 2 ) = 1 1 x 2 , x 1 x 2 · 1 1 x , x 1 x · c ( x 2 ) .
Here we see two stages of promotion: Dyck paths to Motzkin, the promotion via the Binomial transform inducing a level step, and Motzkin to Motzkin–Schröder, the Chebyshev transform inducing a ‘Schröder’ step.
We introduced two promotion-based Riordan arrays above. In the following sections, we generalise these promotions to a broader class of generating functions and examine the resulting bijections between associated lattice path families.

2.1.1. Binomial Transform Promotions

The following proposition establishes the connection between promotion via the Binomial transform and generalised Motzkin paths.
Proposition 2. 
The β t h -Binomial transform of the generating function that enumerates Dyck paths with α-weighted ( 1 ,   1 ) steps enumerates Motzkin paths with β-weighted ( 1 ,   0 ) steps and α-weighted ( 1 ,   1 ) steps.
Proof. 
The generating function for Dyck paths with α -weighted ( 1 , 1 ) steps is 1 1 4 α x 2 2 α x 2 . Applying the β t h -Binomial transform gives
1 1 β x , x 1 β x · 1 1 4 α x 2 2 α x 2 = 1 β x ( 1 β x ) 2 4 α x 2 2 α x 2 .
The Binomial transform adds β -weighted ( 1 ,   0 ) steps, promoting Dyck paths to Motzkin paths. The generating function has continued fraction expansion.
1 1 β x α x 2 1 β x α x 2 1 β x α x 2 .
The J-fraction in Theorem 1, Equation (1) has a well-known connection to lattice paths. The resulting sequences for various α and β are listed below, with OEIS references where available.
Example 3. 
For α = 1 ,   β = 1 and n = 4 , the promotion construction is expanded below. The matrix shows the first few entries of the Binomial transform Riordan array 1 1 x , x 1 x .
Mathematics 13 02949 g001
The n t h entry of the vector ( 1 ,   0 ,   1 ,   0 ,   2 ) T represents the number of Dyck paths of length n. These paths are promoted to Motzkin paths via the Binomial transform. The coloured lattice paths on the right illustrate the construction of the nine Motzkin paths of length 4 through the promotion of Dyck paths via the Binomial transform.
1. 
The one Dyck path of length 0 is promoted to Motzkin by adding four horizontal steps.
2. 
The one Dyck path of length 2 is promoted to Motzkin by adding two horizontal steps that are uniquely placed to make six distinct Motzkin paths.
3. 
The two Dyck paths of length 4 remain unchanged.

2.1.2. Bijections Arising from the Path Classifications in Table 1

We consider three types of walks confined to the first quadrant N 2 of Z 2 , all starting at ( 0 ,   0 ) . In the case where α = 2 and β = 0 in Table 1, the sequence expansion corresponds to the aerated Schröder numbers. In this subsection, we introduce three distinct families of lattice paths that are enumerated by this generating function. We then present explicit, constructive bijections between these path classes.
1.
Path 1: Starts at ( 0 ,   0 ) ; ends on the y-axis. Step set: P 1 = { ( 1 ,   1 ) , ( 1 ,   1 ) , ( 1 ,   0 ) } . There are two choices ( 1 ,   1 ) , ( 1 ,   0 ) for returning to the y-axis and one step ( 1 ,   1 ) for leaving the y-axis.
2.
Path 2: Starts at ( 0 ,   0 ) ; ends on the y-axis. Step set: P 2 = { ( 1 ,   1 ) , ( 1 ,   1 ) , ( 1 ,   0 ) } . There are two steps ( 1 ,   1 ) , ( 1 ,   0 ) for leaving the y-axis and one step ( 1 ,   1 ) for returning to the y-axis.
3.
Path 3: Starts at ( 0 ,   0 ) ; ends on the x-axis. Step set: P 3 = { ( 1 ,   1 ) ,   ( 1 ,   1 ) } . There are two coloured ( 1 ,   1 ) steps for returning to the x-axis and one step ( 1 ,   1 ) for leaving the x-axis.
Table 1. Sequences indexed by parameters α and β of the generating function in Equation (4).
Table 1. Sequences indexed by parameters α and β of the generating function in Equation (4).
α β Sequence ExpansionOEIS IDNote
10 1 , 0 , 1 , 0 , 2 , 0 , 5 , 0 , 14 , A000108Aerated (zeros between terms)
11 1 , 1 , 2 , 4 , 9 , 21 , 51 , 127 , A001006
12 1 , 2 , 5 , 14 , 42 , 132 , 429 , A000108Excludes the initial term a 0 = 1
20 1 , 0 , 2 , 0 , 8 , 0 , 40 , 0 , 224 , A151374Aerated
21 1 , 1 , 3 , 7 , 21 , 61 , 191 , A025235
22 1 , 2 , 6 , 20 , 72 , 272 , 1064 , A071356
Each path satisfies the generating function recurrence
A ( x ) = 1 + 2 x A ( x ) 2 .
The factor of 2 arises from the number of symmetric choices in departing from or returning to the axis in each type of walk, as detailed in the path set steps above. Solving this quadratic gives the generating function:
A ( x ) = 1 1 8 x 4 x .
Note that paths 1 and 3 are referenced in the OEIS A151374 and path 2 is studied in [19]. A constructive bijection between the three path classes is presented in the next section. Before proceeding, we illustrate each of the path types with an example of length n = 4 .
Example 4. 
For n = 4 , the eight paths for paths 1, 2 and 3 as defined above are drawn below.
Mathematics 13 02949 g002

2.1.3. Constructive Bijection Between Paths 1, 2 and 3

We define a bijection between paths 1 and 2 by reinterpreting their step types as follows.
  • In path 1 the steps are defined as D = ( 1 , 1 ) , D L = ( 1 , 1 ) and H L = ( 1 , 0 ) .
  • In path 2 the steps are defined as D = ( 1 , 1 ) , L = ( 1 , 1 ) and H = ( 1 , 0 ) .
The mapping between these step types defines the bijection. Bijective steps are shown below, accompanied by an illustrative example for n = 4 .
Mathematics 13 02949 g003
We also define a bijection between paths 1 and 3, again by reinterpreting their step types as follows:
  • In path 1 the steps are defined as D = ( 1 , 1 ) , D L = ( 1 , 1 ) and H L = ( 1 , 0 ) .
  • In Path 3 the steps are defined as D = ( 1 , 1 ) , D A = ( 1 , 1 ) and D B = ( 1 , 1 ) , where D A and D B are two differently coloured steps representing a weighting of 2.
Once again, the mapping between these step types defines the bijection. Bijective steps are again shown below, accompanied by an illustrative example for n = 4 .
Mathematics 13 02949 g004
Both substitutions preserve the overall step count and establish a one-to-one correspondence, mapping Path 1 to Path 2 and Path 1 to Path 3. To complete the triangle of bijections, we leave it to the reader to construct an analogous bijection between Paths 2 and 3.

2.1.4. Promotion and Extended Bijections

The notion of promotion can be now applied to the bijective framework as described above to extend the step set of paths 1, 2 and 3.
Under the Binomial transform promotion, paths 1 and 2 are extended by the inclusion of a vertical step. The resulting promoted step sets are
1.
Path 1: ( 1 , 1 ) , ( 1 , 1 ) , ( 1 , 0 ) , ( 0 , 1 ) ;
2.
Path 2: ( 1 , 1 ) , ( 1 , 1 ) , ( 1 , 0 ) , ( 0 , 1 ) .
This now yields a bijection between the promoted path 1 and path 2 families and the family of Motzkin paths featuring two types of weighted steps. The explicit construction of this bijection is omitted, as it follows naturally from the earlier bijections. We now generalise this construction in the following corollary:
Corollary 2. 
Let the paths start at ( 0 , 0 ) , end on the y-axis and use either of the following step sets:
P 1 = ( 1 , 1 ) , ( 1 , 1 ) , ( 1 , 0 ) , ( 0 , 1 ) or P 2 = ( 1 , 1 ) , ( 1 , 1 ) , ( 1 , 0 ) , ( 0 , 1 ) ,
where the vertical step ( 0 ,   1 ) occurs with weight β. Then, the generating function for the paths is given by
1 β x ( 1 β x ) 2 8 x 2 4 x 2 .
This generating function also enumerates Motzkin paths of length n starting at ( 0 ,   0 ) and ending on the x-axis, with step set ( 1 ,   1 ) , ( 1 , 1 ) , ( 1 ,   0 ) , where each ( 1 , 1 ) step is weighted (or 2-coloured) with weight 2 and each ( 1 ,   0 ) step is weighted with weight β (or β-coloured).
Note that for β = 1 , path 2 corresponds to the class of paths studied in [19], as they generalise the Delannoy paths. OEIS references for the generating function with values β = 0 ,   1 ,   2 are listed in Table 1.

2.1.5. Chebyshev Transform Promotions

The following proposition establishes the connection between promotion via the Chebyshev transform and generalised Schröder paths.
Proposition 3. 
The β t h Chebyshev transform of the generating function that enumerates Dyck paths with α-weighted ( 1 , 1 ) steps enumerates Schröder paths with β-weighted ( 2 , 0 ) steps and α-weighted ( 1 , 1 ) steps.
Proof. 
The generating function for Dyck paths with α -weighted ( 1 , 1 ) steps is 1 1 4 α x 2 2 α x 2 . Applying the β t h -Chebyshev transform gives
1 1 β x 2 , x 1 β x 2 · 1 1 4 α x 2 2 α x 2 = 1 β x 2 ( 1 β x 2 ) 2 4 α x 2 2 α x 2 .
The Chebyshev transform adds β -weighted ( 2 , 0 ) steps, promoting Dyck paths to Schröder paths. The generating function has continued fraction expansion.
1 1 β x 2 α x 2 1 β x 2 α x 2 1 β x 2 α x 2 .
The generalised Chebyshev transform introduces a β -weighted Schröder step to Dyck paths with α -weighted ( 1 , 1 ) steps. Here we see the T-fraction with a well known connection to lattice paths. The continued fraction above precisely coincides with that in Corollary 1, Equation (2). Some of the sequences are tabulated below for various values of α and β , with the OEIS reference of the sequence listed.
Example 5. 
For α = 1 ,   β = 1 and n = 4 (as shown in Table 2), the promotion construction is expanded below. The matrix below shows the first few entries of the Chebyshev transform Riordan array 1 1 x 2 , x 1 x 2 .
Mathematics 13 02949 g005
Table 2. Sequences indexed by parameters α and β of the generating function in Equation (5).
Table 2. Sequences indexed by parameters α and β of the generating function in Equation (5).
α β Sequence ExpansionOEIS IDNote
10 1 , 0 , 1 , 0 , 2 , 0 , 5 , 0 , 14 , A000108Aerated Catalan numbers
11 1 , 0 , 2 , 0 , 6 , 0 , 22 , 0 , 90 , A006318Aerated Schröder numbers
12 1 , 0 , 3 , 0 , 12 , 0 , 57 , 0 , 300 , A047891Aerated
20 1 , 0 , 2 , 0 , 8 , 0 , 40 , 0 , 224 , A151374Aerated
21 1 , 0 , 3 , 0 , 15 , 0 , 93 , 0 , 645 , A103210Aerated
22 1 , 0 , 4 , 0 , 24 , 0 , 176 , 0 , 1440 A156017Aerated
The n t h entry of the vector ( 1 ,   0 ,   1 ,   0 ,   2 ) T represents the number of Dyck paths of length n. These paths are promoted to Schröder paths via the Chebyshev transform. The coloured lattice paths on the right illustrate the construction of the six Schröder paths of length 4 through the promotion of Dyck paths via the Chebyshev transform.
1. 
The one Dyck path of length 0 is promoted to Schröder by adding two horizontal steps.
2. 
The one Dyck path of length 2 is promoted to Motzkin by adding one horizontal step that is uniquely placed to make three distinct Schröder paths.
3. 
The two Dyck paths of length 4 remain unchanged.
Previously, we observed that the Binomial transform promotion introduces level steps of length 1. Here we see the Chebyshev transform promotion inducing Schröder steps or level steps of length 2. Importantly, the bijections established under the Binomial transform promotion remain valid under the Chebyshev transform also. This observation leads to the following result.
Corollary 3. 
Let the paths start at ( 0 , 0 ) , end on the y-axis and use either of the following step sets:
S 1 = ( 1 , 1 ) , ( 1 , 1 ) , ( 1 , 0 ) , ( 0 , 2 ) or S 2 = ( 1 , 1 ) , ( 1 , 1 ) , ( 1 , 0 ) , ( 0 , 2 ) ,
where the vertical step ( 0 , 2 ) occurs with weight β. Then, the generating function for the paths is given by
1 β x 2 ( 1 β x 2 ) 2 8 x 2 4 x 2 .
This generating function also enumerates Schröder paths of length 2 n , starting at ( 0 , 0 ) and ending on the x-axis, with step set ( 1 , 1 ) , ( 1 , 1 ) , ( 2 , 0 ) , where each ( 1 , 1 ) step is weighted (or 2-coloured) with weight 2 and each ( 2 , 0 ) step is weighted with weight β (or β-coloured).
Before proceeding, we illustrate each of the path types with an example of length n = 4 .
Example 6. 
For α = 2 ,   β = 1 ,   n = 4 , we have the following paths:
Mathematics 13 02949 g006

2.2. Promotion of a Family of Paths Unrestricted When Crossing the X-Axis

In this section, we extend our study to include paths that are permitted to cross below the x-axis. By relaxing this constraint, we observe new types of promotions and structural behaviour in the resulting path families. As before, we begin with a motivating example to illustrate the key ideas and once again introduce the two promotion Riordan matrices.
Example 7. 
The grand Motzkin–Schröder paths are enumerated by the sequence (OEIS A059345) which begins
1 , 1 , 4 , 9 , 29 , 82 , 255 , .
The generating function of the grand Motzkin–Schröder paths can be expressed as follows.
1 1 x 2 , x 1 x 2 · t ( x ) = 1 1 2 x 5 x 2 + 2 x 3 + x 4 = 1 1 x x 2 2 x 2 1 x x 2 x 2 1 x x 2 .
The sequence OEIS A059345 has its general term given by k = 0 n 2 n k k T n 2 k . As seen in the last section, the Chebyshev matrix induces the ‘Schröder’ step in the paths. The first few rows of the matrices expand as follows. These are known generating functions of OEIS A059345.
1 0 0 0 0 0 0 1 0 0 0 0 1 0 1 0 0 0 0 2 0 1 0 0 1 0 3 0 1 0 0 3 0 4 0 1 1 1 3 7 19 51 = 1 1 4 9 29 82 .
Once again we can decompose into the promotion matrices as follows:
1 1 x x 2 , x 1 x x 2 · 1 1 4 x 2 = 1 1 x 2 , x 1 x 2 · 1 1 x , x 1 x · 1 1 4 x 2 .
In particular, we see that the general term of the sequence OEIS A059345 may be expressed as k = 0 n 2 n k k T n 2 k .

2.2.1. Binomial Transform Promotions

The following proposition establishes the connection between the Binomial transform and generalised grand Motzkin paths.
Proposition 4. 
The β t h -Binomial transform of the generating function that enumerates grand Dyck paths with α-weighted ( 1 , 1 ) steps enumerates grand Motzkin paths with β-weighted ( 1 , 0 ) steps and α-weighted ( 1 , 1 ) steps.
Proof. 
The generating function for grand Dyck paths with α -weighted ( 1 , 1 ) steps is 1 1 4 α x 2 . Applying the β t h -Binomial transform gives
1 1 β x , x 1 β x · 1 1 4 α x 2 = 1 ( 1 β x ) 2 4 α x 2 .
The Binomial transform adds β -weighted ( 1 , 0 ) steps, promoting grand Dyck paths to grand Motzkin paths. □
Sequences are tabulated in Table 3 for various values of α and β , with the OEIS reference of the sequence listed.
Example 8. 
For α = 1 ,   β = 1 for n = 4 ; the promotion construction is expanded below.
Mathematics 13 02949 g007
The matrix above shows the first few entries of the Binomial transform seen previously in Example (3) in Section 2.1.1. The n t h entry of the vector ( 1 ,   0 ,   2 ,   0 ,   6 ) T represents the number of grand Dyck paths of length n. These paths are promoted to grand Motzkin paths via the Binomial transform. The coloured lattice paths on the right illustrate the construction of the 19 grand Motzkin paths of length 4 through the promotion of grand Dyck paths via the Binomial transform.
1. 
The one grand Dyck path of length 0 is promoted to grand Motzkin by adding four horizontal steps.
2. 
The two grand Dyck paths of length 2 are promoted to grand Motzkin by adding two horizontal steps. For each of these grand Dyck paths, adding two horizontal steps gives six different choices of paths.
3. 
The six Dyck paths of length 4 remain unchanged.

2.2.2. Bijections Arising from the Path Classifications in Table 3

Note that the table above reveals a bijection between grand Motzkin paths with weighted steps α and β , and Motzkin paths constrained to remain above the x-axis, where all steps are weighted by α and β , except for the ( 1 , 1 ) steps that return to the x-axis, which are assigned a weight of 2 α . We begin with the continued fraction corresponding to paths where each return to the x-axis via a ( 1 , 1 ) step is given weight 2 α , while all other ( 1 , 1 ) steps are given weight α .
1 1 β x 2 α x 2 1 β x α x 2 1 β x α x 2 1 β x α x 2 1 β x .
From Proposition 2, we have the generating function for Motzkin-type paths with uniform weight α on down steps and β on horizontal steps.
1 β x ( 1 β x ) 2 4 α x 2 2 α x 2 .
Substituting (8) into (7), we obtain
1 1 β x 2 α x 2 1 β x ( 1 β x ) 2 4 α x 2 2 α x 2 = 1 1 β x 1 β x ( 1 β x ) 2 4 α x 2 = 1 ( 1 β x ) 2 4 α x 2 .
This corresponds to the generating function of grand Motzkin paths with uniform weights α and β , as shown in Proposition 4.

2.2.3. Constructive Bijection Between Restricted and Unrestricted Motzkin Paths

Let a path start at ( 0 , 0 ) with step set { ( 1 , 1 ) , ( 1 , 1 ) , ( 1 , 0 ) } , where every ( 1 , 1 ) step returning to the x-axis has a weight of 2 α , while all other ( 1 , 1 ) steps have weight α . We construct a bijection between this set of weighted paths and a family of reflected paths using the same step set, where all steps returning to the x-axis are uniformly weighted by α .
1.
Single return to the x-axis.
A path that returns to the x-axis exactly once has a single, nontrivial reflection: its mirror image across the x-axis. If the return step is weighted α , both the original and the reflected path contribute weight α , assigning weight 2 α to this step in the restricted paths.
2.
Multiple returns to the x-axis.
If the path returns to the x-axis n times, it naturally decomposes into n excursions. Each excursion can be independently reflected about the x-axis, producing 2 n distinct path variants corresponding to the 2 n α weighting for the steps returning to the x-axis in the restricted paths.
Example 9. 
For α = 1 ,   β = 0 , we illustrate the bijection between the six paths of length 4 shown below.
Mathematics 13 02949 g008

2.2.4. Chebyshev Transform Promotions

The following proposition establishes the connection between promotion via the Chebyshev transform and generalised grand Schröder paths.
Proposition 5. 
The β t h Chebyshev transform of the generating function that enumerates grand Dyck paths with α-weighted ( 1 , 1 ) steps enumerates grand Schröder paths with β-weighted ( 2 , 0 ) steps and α-weighted ( 1 , 1 ) steps.
Proof. 
The generating function for grand Dyck paths with α -weighted ( 1 , 1 ) steps is 1 1 4 α x 2 . Applying the β t h -Chebyshev transform gives
1 1 β x 2 , x 1 β x 2 · 1 1 4 α x 2 = 1 ( 1 β x 2 ) 2 4 α x 2 .
The Chebyshev transform adds β -weighted ( 2 , 0 ) steps, promoting grand Dyck paths to grand Schröder paths. □
Table 4 highlights some of the sequences on the OEIS for values of α and β .
Note that many of the OEIS references listed in Table 4 pertain to Delannoy numbers or paths. In particular, the central Delannoy paths are lattice paths from ( 0 , 0 ) to ( n , n ) using the step set { ( 1 , 0 ) , ( 0 , 1 ) , ( 1 , 1 ) } . These paths are structurally equivalent to grand Schröder paths, differing only in their terminal point: central Delannoy paths end at ( n , n ) , whereas grand Schröder paths typically return to the x-axis.
Example 10. 
For α = 1 ,   β = 1 and n = 4 , the promotion construction is expanded below. The
Mathematics 13 02949 g009
matrix above shows the first few entries of the Chebyshev transform and was seen previously in Example (5) in Section 2.1.5. The n t h entry of the vector ( 1 , 0 , 2 , 0 , 6 ) T represents the number of grand Dyck paths of length n. These paths are promoted to grand Schröder paths via the Chebyshev transform. The coloured lattice paths on the right illustrate the construction of the 13 grand Schröder paths of length 4 through the promotion of grand Dyck paths via the Chebyshev transform.
1. 
The one grand Dyck path of length 0 is promoted to grand Schröder by adding two horizontal steps.
2. 
The two grand Dyck paths of length 2 are promoted to grand Schröder by adding one horizontal step. For each of these grand Dyck paths, the horizontal step is uniquely placed to make three distinct grand Schröder paths.
3. 
The six Dyck paths of length 4 remain unchanged.
Similarly to the promotion of generalised grand Dyck paths under the Binomial transform promotion, here, we have a bijection between grand Schröder paths with weighted steps α and β and Schröder paths constrained to remain above the x-axis, where all steps are weighted by α and β , except for the ( 1 , 1 ) steps that return to the x-axis, which are assigned a weight of 2 α . We begin with the continued fraction corresponding to paths where each return to the x-axis via a ( 1 , 1 ) step given weight 2 α , while all other ( 1 , 1 ) steps are given weight α .
1 1 β x 2 2 α x 2 1 β x 2 α x 2 1 β x 2 α x 2 1 β x 2 α x 2 1 β x 2 .
From Proposition 3, we have the generating function for generalised Schröder paths with uniform weight α on down-steps and β on horizontal steps.
1 β x 2 ( 1 β x 2 ) 2 4 α x 2 2 α x 2 .
Substituting (12) into (11), we obtain
1 1 β x 2 2 α x 2 1 β x 2 ( 1 β x 2 ) 2 4 α x 2 2 α x 2 = 1 1 β x 2 1 β x 2 ( 1 β x 2 ) 2 4 α x 2 = 1 ( 1 β x 2 ) 2 4 α x 2 .
This corresponds to the generating function of grand Schröder paths, i.e., Schröder paths allowed to cross below the x-axis, with uniform weights α and β as shown in Proposition 5. We illustrate each of the path types with an example of length n = 4 .
Example 11. 
For α = 1 , β = 1 and n = 4 , the 13 paths for restricted and unrestricted Schröder paths are drawn below.
Mathematics 13 02949 g010

3. Discussion

The results presented in this paper highlight the role of Riordan arrays in the enumeration of lattice paths. By applying the Binomial and Chebyshev transforms as forms of promotion, we are able to reinterpret classical lattice path families such as Dyck, Motzkin and Schröder paths within a coherent framework. The notion of promotion introduced in this work builds upon earlier studies in enumerative combinatorics, particularly those involving weighted paths, continued fractions (e.g., Flajolet [13]), and Riordan group theory (e.g., Shapiro et al. [1,4]). The main contributions are as follows:
  • Formalisation of promotion as the action of Riordan arrays on generating functions for restricted paths.
  • Demonstration that the Binomial transform promotes Dyck paths to Motzkin paths and the Chebyshev transform promotes Dyck paths to Schröder paths.
  • Derivation of generalised generating functions for these promoted paths.
  • Introduction of bijective constructions linking promoted paths to other path sets found in the literature.
  • Extension of the framework to unrestricted path families and construction of a bijection between restricted and unrestricted paths.
These findings demonstrate that Riordan arrays offer a unifying framework for deriving and interpreting families of lattice paths. This suggests that Riordan array promotions can serve as a foundation for further exploration, particularly in discovering new transforms applicable to a broader range of path families.

Author Contributions

Conceptualization, A.H. and P.B.; methodology, A.H.; formal analysis, A.H.; writing—original draft preparation, A.H.; writing—review and editing, A.H., K.M. and N.G.; visualization, K.M.; student support, N.G. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Shapiro, L.W.; Getu, S.; Woan, W.J.; Woodson, L.C. The Riordan group. Discr. Appl. Math. 1991, 34, 229–239. [Google Scholar] [CrossRef]
  2. Humphreys, K. A history and a survey of lattice path enumeration. J. Stat. Plan. Inference 2010, 140, 2237–2254. [Google Scholar] [CrossRef]
  3. Barry, P. Riordan Arrays, the A-Matrix, and Somos 4 Sequences. arXiv 2019, arXiv:1912.01126. [Google Scholar]
  4. Shapiro, L.W.; Sprugnoli, R.; Barry, P.; Cheon, G.-S.; He, T.-X.; Merlini, D.; Wang, W. The Riordan Group and Applications; Springer: Cham, Switzerland, 2022; pp. 47–57. [Google Scholar]
  5. Barry, P. Riordan Arrays: A Primer, 2nd ed.; Logic Press: Kildare, Ireland, 2022; pp. 95–117. [Google Scholar]
  6. Lackner, M.-L.; Wallner, L. An Invitation to Analytic Combinatorics and Lattice Path Counting; Lecture Notes of a Mini-Course Held at the ALEA in Europe Young Researchers’ Workshop; University of Bath: Bath, UK, 2015; Available online: https://dmg.tuwien.ac.at/mwallner/files/lpintro.pdf (accessed on 4 February 2025).
  7. Stanley, R.P. Enumerative Combinatorics, Volume 1, 2nd ed.; Cambridge University Press: New York, NY, USA, 2012; p. 21. [Google Scholar]
  8. Sloane, N.J.A. The On-Line Encyclopedia of Integer Sequences. Available online: http://oeis.org (accessed on 14 April 2025).
  9. Barry, P. On Motzkin-Schröder paths, Riordan arrays, and Somos-4 Sequences. J. Integer Seq. 2023, 26, 23.4.7. [Google Scholar]
  10. Chen, W.Y.C.; Yan, S.H.F.; Yang, L.L.M. Weighted 2-Motzkin paths. arXiv 2004, arXiv:math/0410200. [Google Scholar]
  11. Deutsch, E.; Shapiro, L.W. A bijection between ordered trees and 2-Motzkin paths and its many consequences. Discret. Math. 2002, 256, 655–770. [Google Scholar] [CrossRef]
  12. Ramirez, J.L. The Pascal rhombus and the generalised grand Motzkin paths. J. Fibonacci Quart. 2015, 54, 99–104. [Google Scholar] [CrossRef]
  13. Flajolet, P. Combinatorial aspects of continued fractions. Discret. Math. 1980, 32, 125–161. [Google Scholar] [CrossRef]
  14. Merlini, D.; Sprugnoli, R. The relevant prefixes of coloured Motzkin walks: An average case analysis. Theor. Comput. Sci. 2010, 411, 148–163. [Google Scholar] [CrossRef]
  15. Yang, L.; Yang, S.-L. Riordan arrays, Łukasiewicz paths and Narayana polynomials. Linear Algebra Appl. 2021, 622, 1–18. [Google Scholar] [CrossRef]
  16. Viennot, X.G. Introduction to Chapter 3 on Continued Fractions; Version 6; LaBRI, CNRS, Université de Bordeaux. 2013. Available online: https://www.viennot.org/abjc4-ch3.html (accessed on 20 November 2024).
  17. Wall, H.S. Analytic Theory of Continued Fractions; AMS Chelsea Publishing: New York, NY, USA, 2000; pp. 192–213. [Google Scholar]
  18. Flajolet, P.; Sedgewick, R. Analytic Combinatorics; Cambridge University Press: Cambridge, UK, 2009; pp. 15–94. [Google Scholar]
  19. Dziemiańczuk, M. Counting lattice paths with four types of steps. Graphs Comb. 2014, 30, 1427–1452. [Google Scholar] [CrossRef]
Table 3. Sequences indexed by parameters α and β of the generating function in Equation (6).
Table 3. Sequences indexed by parameters α and β of the generating function in Equation (6).
α β Sequence ExpansionOEIS IDNote
10 1 , 0 , 2 , 0 , 6 , 0 , 20 , 0 , 70 , 0 , 252 A126869
11 1 , 1 , 3 , 7 , 19 , 51 , 141 , 393 , 1107 , A002426
12 1 , 2 , 6 , 20 , 70 , 252 , 924 , 3432 , 12870 A000984
20 1 , 0 , 4 , 0 , 24 , 0 , 160 , 0 , 1120 , A059304Aerated
21 1 , 1 , 5 , 13 , 49 , 161 , 581 , A084601
22 1 , 2 , 8 , 32 , 136 , 592 , 2624 , A006139
Table 4. Sequences indexed by parameters α and β of the generating function in Equation (10).
Table 4. Sequences indexed by parameters α and β of the generating function in Equation (10).
α β Sequence ExpansionOEIS IDNote
10 1 , 0 , 2 , 0 , 6 , 0 , 20 , 0 , 70 , 0 , 252 , A126869
11 1 , 0 , 3 , 0 , 13 , 0 , 63 , 0 , 321 , 0 , A001850Aerated
12 1 , 0 , 4 , 0 , 22 , 0 , 136 , 0 , 886 , 0 , 5944 , A069835Aerated
20 1 , 0 , 4 , 0 , 24 , 0 , 160 , 0 , 1120 , A059304Aerated
21 1 , 0 , 5 , 0 , 37 , 0 , 305 , 0 , 2641 , A006442Aerated
22 1 , 0 , 6 , 0 , 52 , 0 , 504 , 0 , 5136 , A084773Aerated
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Hennessy, A.; Murphy, K.; Gonzaga, N.; Barry, P. Promotion of Lattice Paths by Riordan Arrays. Mathematics 2025, 13, 2949. https://doi.org/10.3390/math13182949

AMA Style

Hennessy A, Murphy K, Gonzaga N, Barry P. Promotion of Lattice Paths by Riordan Arrays. Mathematics. 2025; 13(18):2949. https://doi.org/10.3390/math13182949

Chicago/Turabian Style

Hennessy, Aoife, Kieran Murphy, Narciso Gonzaga, and Paul Barry. 2025. "Promotion of Lattice Paths by Riordan Arrays" Mathematics 13, no. 18: 2949. https://doi.org/10.3390/math13182949

APA Style

Hennessy, A., Murphy, K., Gonzaga, N., & Barry, P. (2025). Promotion of Lattice Paths by Riordan Arrays. Mathematics, 13(18), 2949. https://doi.org/10.3390/math13182949

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop