Next Article in Journal
Geometric Invariants: Theory for Application to Financial Time Series
Previous Article in Journal
Flow Field Characteristics of Turbulent Annular Channels with Surface Roughness
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

0132-Avoiding Ascent Sequences

Department of Mathematics, University of Haifa, Haifa 3103301, Israel
Symmetry 2026, 18(7), 1174; https://doi.org/10.3390/sym18071174
Submission received: 18 June 2026 / Revised: 6 July 2026 / Accepted: 10 July 2026 / Published: 12 July 2026
(This article belongs to the Section B: Mathematics)

Abstract

An ascent sequence of length n is a sequence a 1 a 2 a n of non-negative integers satisfying a 1 = 0 and, for 1 < i n , a i asc ( a 1 a 2 a i 1 ) + 1 , where asc ( a 1 a 2 a k ) denotes the number of ascents in the sequence a 1 a 2 a k . In this paper, we investigate ascent sequences avoiding the pattern 0132. By refining the structure of such sequences, we derive a generating tree and recurrence relations that characterize their enumeration. These recurrences are then translated into functional equations for the associated generating functions, which are solved using generating-function techniques. As a consequence, we obtain an explicit formula for the generating function that enumerates 0132-avoiding ascent sequences according to length.

1. Introduction

An ascent in a sequence a 1 a 2 a k is a position j 1 such that a j < a j + 1 . An ascent sequence  a 1 a 2 a n is a sequence of non-negative integers satisfying a 1 = 0 and, for 1 < i n ,
a i asc ( a 1 a 2 a i 1 ) + 1 ,
where asc ( a 1 a 2 a k ) denotes the number of ascents in the prefix a 1 a 2 a k . Ascent sequences were introduced by Bousquet-Mélou, Claesson, Dukes, and Kitaev [1] in connection with ( 2 + 2 ) -free posets, and their generating function was first obtained in that work. Since then, ascent sequences have become a central object in enumerative combinatorics due to their rich structure and connections with pattern avoidance, posets, and other Catalan families. We refer the reader to [2,3] for further background and developments.
A pattern is a word in { 0 , 1 , , l } m containing each letter 0 , 1 , , l for some l 0 and m 1 . Let a = a 1 a 2 a n be an ascent sequence and let τ = τ 1 τ 2 τ m be a pattern. We say that a contains  τ if it has a subsequence a f ( 1 ) , a f ( 2 ) , , a f ( m ) with 1 f ( 1 ) < < f ( m ) n that is order-isomorphic to τ , meaning that all pairwise comparisons between entries are preserved. Otherwise, a is said to avoid  τ .
Pattern avoidance in ascent sequences has been an exceptionally active area of research over the past decade. The systematic study of short patterns was initiated by Duncan and Steingrímsson [4], who classified and conjectured avoidance formulas for several patterns of lengths 3 and 4, establishing deep connections to Catalan families and classical permutation avoidance. Many of these foundational conjectures were subsequently resolved using a variety of bijective and analytic techniques; for instance, Mansour and Shattuck [5] established the exact counts for patterns like 0012, 0021, and 1012 (see Table 1). Concurrently, Liu, Kitaev, and Zhang [6] successfully enumerated classes avoiding specific subsets of length-4 patterns, such as 0101 and 0102, by introducing specialized refined statistics.
Beyond classical avoidance, the literature has expanded in several distinct directions to map the structural landscape of these sequences. For example, Fu [7] and Yan [8,9] investigated the avoidance of consecutive patterns and barred patterns, revealing close ties to inversion sequences and restricted permutations. Meanwhile, algorithmic and structural frameworks—such as the use of generating trees and the definition of new Wilf-equivalence classes—have been significantly advanced by works such as Callan and Mansour [10], Boliac et al. [11,12,13], and Baxter and Pudwell [14].
Despite this rich body of work, a comprehensive classification for all patterns of length four remains incomplete. Indeed, determining avoidance formulas for patterns of length four is widely recognized as an exceptionally difficult problem across classical combinatorial structures, including permutations, involutions, and k-ary words (see, e.g., Bóna [15] and Kitaev [3]). For instance, while Regev [16] successfully determined the asymptotic behavior for k-ary words avoiding 0123 via representation theory tools, an explicit formula for the generating function of permutations avoiding the pattern 1324 (and its Wilf-equivalent classes) remains one of the most famous open problems in the discipline.
The pattern 0132 in the context of ascent sequences represents a parallel, notorious gap. Unlike patterns that yield conventional Catalan or binomial distributions, 0132-avoiding sequences generate a highly complex tree structure where the placement of new elements depends non-trivially on multiple tracking statistics of the prefix. Consequently, its explicit enumeration has remained open, and its generating function cannot be derived from any previously known framework.
The main contribution of this paper is to bridge this gap by providing the first complete enumerative and structural analysis of 0132-avoiding ascent sequences. Specifically, we achieve the following:
  • Exact Enumeration: We establish that the generating function for 0132-avoiding ascent sequences is algebraic of degree three, satisfying a definitive cubic equation (Theorem 1). This provides a sharp contrast to simpler length-4 patterns that typically yield quadratic generating functions.
  • Methodological Framework: We introduce a refined generating tree framework utilizing multiple catalytic variables to capture the subtle interactions within the prefix ascents. This provides a systematic workflow for solving the resulting complex systems of functional equations, which may be applicable to other unresolved pattern classes. See the last section.
Our core result is formulated as follows.
Theorem 1.
The generating function f = f ( x ) for the number of ascent sequences of length n 1 avoiding the pattern 0132 satisfies
x 2 x ( 1 3 x ) f x ( 2 3 x ) f 2 + ( 1 x ) 2 f 3 = 0 .
The proof of Theorem 1 proceeds in three stages:
(1)
We construct a generating tree for 0132-avoiding ascent sequences;
(2)
We derive a system of recurrence relations for associated generating functions, including f;
(3)
We solve the resulting functional equations to obtain the cubic equation satisfied by f.
By applying the above theorem and following the standard procedure for obtaining trigonometric solutions to cubic equations, we obtain that the generating function f = f ( x ) for the number of ascent sequences of length n 1 that avoid 0132 is given by
2 x ( 3 11 x + 9 x 2 ) 3 ( 1 x ) 2 cos π 3 + 1 3 arccos x ( 9 7 x 27 x 2 ( 1 x ) ) 2 3 11 x + 9 x 2 3 + x ( 2 3 x ) 3 ( 1 x ) 2 = x + 2 x 2 + 5 x 3 + 15 x 4 + 52 x 5 + 200 x 6 + 826 x 7 + 3583 x 8 + 16,096 x 9 + 74,215 x 10 + 349,133 x 11 + 1,668,933 x 12 + 8,082,765 x 13 + 39,573,601 x 14 + 195,546,506 x 15 + .
This paper is organized as follows. In Section 2, we introduce the generating tree framework that serves as the basis for our enumeration. In Section 3, we derive the recurrence relations governing the generating tree and translate them into a system of functional equations for the associated generating functions. In Section 2.1 and Section 2.2, we solve this system of equations and use the resulting generating functions to establish the main enumeration theorem (Theorem 1). In Section 3, we illustrate the flexibility of our approach by applying it to several additional pattern classes, namely those avoiding 0123, 0122, 0120, 0102, and 0101, obtaining their corresponding enumerations through analogous generating tree constructions. We conclude with a discussion of possible directions for future research.

2. Proof of Theorem 1

Generating trees have proved to be an effective tool for studying pattern avoidance in many combinatorial structures, particularly in the study of ascent sequences. Their main advantage is that they encode the recursive growth of ascent sequences and often reveal a finite collection of equivalence classes from which recurrence relations and generating functions can be derived. Following [10], we recall the generating-tree framework for pattern-avoiding ascent sequences.
Let T ( P ) denote the pattern-avoidance generating tree associated with the set of ascent sequences avoiding every pattern in a given set P. The root of T ( P ) is the sequence 0, placed at level 1. The tree is constructed recursively: for each n 2 , the nodes at level n are precisely the ascent sequences of length n that avoid all patterns in P. If a = a 1 a 2 a n is such a sequence, then its parent is the sequence a 1 a 2 a n 1 . To generate the children of a node a 1 a 2 a n 1 , we consider all possible ascent sequences a 1 a 2 a n 1 a n , where
0 a n asc ( a 1 a 2 a n 1 ) + 1 ,
and retain only those that continue to avoid every pattern in P. Thus, the generating tree records all admissible extensions of pattern-avoiding ascent sequences.
For any node a in T ( P ) , let T ( P ; a ) denote the subtree rooted at a and consisting of all its descendants. Given two nodes a and a in T ( P ) , we say that the subtrees T ( P ; a ) and T ( P ; a ) are isomorphic, denoted by T ( P ; a ) T ( P ; a ) , if they are isomorphic as plane trees. This induces an equivalence relation ∼ on the nodes of T ( P ) , where a a if and only if T ( P ; a ) T ( P ; a ) .
Finally, we define the reduced generating tree T [ P ] by replacing each node a of T ( P ) with the leftmost node a occurring at the lowest possible level such that a a .
In the next two figures, we illustrate the first levels of the generating trees T ( { 0132 } ) and T [ { 0132 } ] . More precisely, Figure 1 presents the generating tree T ( { 0132 } ) without using the equivalence relation. For instance, the children of 0 are 00 and 01, and the children of 01 are 010, 011, and 012. Thus, in this generating tree, we have the succession rules 0 00 , 01 and 01 010 , 011 , 012 . Figure 2, on the other hand, presents the generating tree T [ { 0132 } ] under the equivalence relation. For instance, the children of 0 are 0 00 and 01, and the children of 01 are 010, 01 011 , and 012. Thus, in this generating tree, we have the succession rules 0 0 , 01 and 01 010 , 01 , 012 . Note that this equivalence relation allows us to characterize the succession rules of the generating tree T [ { 0132 } ] , as stated in Lemma 1.
Now, we are ready to describe the generating tree T [ 0132 ] = T [ { 0132 } ] .
Lemma 1.
The generating tree T [ 0132 ] has root 0 and it satisfies the following succession rules
0 0 , d 1 , d j e j , d j , a j 1 , 2 , a j 2 , 3 , , a 0 , j + 1 , f o r   j 1 , e j e j , d j + 1 , a j 1 , 2 , a j 2 , 3 , , a 0 , j + 1 , f o r   j 1 , a j , m b j , m , c j , m , a j , m , a j , m + 1 , a j 1 , m + 2 , , a 0 , m + 1 + j , f o r   m 2 , j 0 , b j , m b j , m , c j + 1 , m , a j + 1 , m , a j , m + 1 , a j 1 , m + 2 , , a 0 , m + 1 + j , f o r   m 2 , j 0 , c j , m b j , m , c j , m , a j + 1 , m , a j , m + 1 , a j 1 , m + 2 , , a 0 , m + 1 + j , f o r   m 2 , j 0 ,
where a j , m = ( 01 ) j 01 m , b j , m = a j , m 0 , c j , m = a j , m 1 , d j = ( 01 ) j , and e j = d j 0 (for a sequence X and an integer d, the constant sequence X X X of d occurrences of X is denoted by X d ).
Proof. 
Clearly, the children of 0 are 00 and d 1 = 01 . Since 00 b A 0132 ( n ) if and only if 0 b A 0132 ( n 1 ) , it follows that 00 0 . Therefore, the succession rule 0 0 , d 1 holds.
Let j 1 , the children of d j are d j i with i = 0 , 1 , , j + 1 . By definition, we have that d j 0 = e j , d j 1 d j , and d j i d j + 1 i 01 i = a j + 1 i , i for all i = 2 , 3 , , j + 1 . Therefore, the succession rule d j e j , d j , a j 1 , 2 , a j 2 , 3 , , a 0 , j + 1 holds.
Let j 1 , the children of e j are e j i with i = 0 , 1 , , j + 1 . By definition, we have that e j 0 = e j , e j 1 d j + 1 , and e j i d j + 1 i 01 i = a j + 1 i , i for all i = 2 , 3 , , j + 1 . Therefore, the succession rule e j e j , d j + 1 , a j 1 , 2 , a j 2 , 3 , , a 0 , j + 1 holds.
Now, let j 0 and m 2 , the children of a j , m are a j , m i with i = 0 , 1 , , m + j + 1 . By definition, we have that a j , m 0 = b j , m , a j , m 1 = c j , m , a j , m i with i = 2 , 3 , , m 1 contains 0132, a j , m m a j , m , and a j , m ( m + 1 + i ) a j i , m + 1 + i for all i = 0 , 1 , , j . Therefore, the succession rule a j , m b j , m , c j , m , a j , m , a j , m + 1 , a j 1 , m + 2 , , a 0 , m + 1 + j holds.
Similarly, all the other succession rules hold. □
Let A v ( x ) be the generating function for the number of nodes at level n in the subtree of T [ P ] rooted at v and containing all its descendants, where the root stays at level 1; that is,
A v ( x ) = n 1 ( number of nodes at level   n   in the subtree of   T [ P ]   rooted at   v ) x n .
Define A j , m ( x ) = A a j , m ( x ) , B j , m ( x ) = A b j , m ( x ) , C j , m ( x ) = A c j , m ( x ) , D j ( x ) = A d j ( x ) , and E j ( x ) = A e j ( x ) . Thus, by Lemma 1, we have
A 0 ( x ) = x + x A 0 ( x ) + x D 1 ( x ) ,
D j ( x ) = x + x E j ( x ) + x D j ( x ) + x i = 2 j + 1 A j + 1 i , i ( x ) , f o r   j 1 ,
E j ( x ) = x + x E j ( x ) + x D j + 1 ( x ) + x i = 2 j + 1 A j + 1 i , i ( x ) , f o r   j 1 ,
A j , m ( x ) = x + x B j , m ( x ) + x C j , m ( x ) + x A j , m ( x ) + x i = 0 j A j i , m + 1 + i ( x ) , f o r   m 2 , j 0 ,
B j , m ( x ) = x + x B j , m ( x ) + x C j + 1 , m ( x ) + x A j + 1 , m + x i = 0 j A j i , m + 1 + i ( x ) , f o r   m 2 , j 0 ,
C j , m ( x ) = x + x B j , m ( x ) + x C j , m ( x ) + x A j + 1 , m ( x ) + x i = 0 j A j i , m + 1 + i ( x ) , f o r   m 2 , j 0 .
Define L ( v , u ) = m 2 i 0 L i , m v i u m 2 with L { A , B , C } and L ( v ) = i 1 L i ( x ) v i 1 with L { D , E } . Here, we used either one or two catalytic variables. By multiplying (4)–(6) by v j u m 2 and summing over m 2 and j 0 , and by multiplying (2)–(3) by v j 1 and summing over j 1 , we obtain
A 0 ( x ) = x + x A 0 ( x ) + x D 1 ( x ) , A ( v , u ) = m 2 j 1 A j , m ( x ) v j u m 2 = m 2 j 0 x v j u m 2 + x m 2 j 0 B j , m ( x ) v j u m 2 + x m 2 j 0 C j , m ( x ) v j u m 2 + x m 2 j 0 A j , m ( x ) v j u m 2 + x m 2 j 0 i = 0 j A j i , m + 1 + i ( x ) v j u m 2 = x ( 1 v ) ( 1 u ) + x B ( v , u ) + x C ( v , u ) + x A ( v , u ) + x m 2 i 0 j 0 A j , m + 1 + i ( x ) v j + i u m 2 = x ( 1 v ) ( 1 u ) + x B ( v , u ) + x C ( v , u ) + x A ( v , u ) + x i 0 m i + 3 j 0 A j , m ( x ) v j + i u m i 3 = x ( 1 v ) ( 1 u ) + x B ( v , u ) + x C ( v , u ) + x A ( v , u ) + x m 3 i = 0 m 3 j 0 A j , m ( x ) v j + i u m i 3 = x ( 1 v ) ( 1 u ) + x B ( v , u ) + x C ( v , u ) + x A ( v , u ) + x v u m 3 j 0 A j , m ( x ) ( v j + m 2 v j u m 2 ) = x ( 1 v ) ( 1 u ) + x B ( v , u ) + x C ( v , u ) + x A ( v , u ) + x v u ( A ( v , v ) A ( v , u ) ) .
and similarly,
B ( v , u ) = x ( 1 v ) ( 1 u ) + x B ( v , u ) + x v ( C ( v , u ) C ( 0 , u ) ) + x v ( A ( v , u ) A ( 0 , u ) ) + x v u ( A ( v , v ) A ( v , u ) ) , C ( v , u ) = x ( 1 v ) ( 1 u ) + x B ( v , u ) + x C ( v , u ) + x v ( A ( v , u ) A ( 0 , u ) ) + x v u ( A ( v , v ) A ( v , u ) ) , D ( v ) = x 1 v + x E ( v ) + x D ( v ) + x A ( v , v ) , E ( v ) = x 1 v + x E ( v ) + x v ( D ( v ) D ( 0 ) ) + x A ( v , v ) .
In order to solve this system of equations, we assume the following:
L ( v , u ) = 1 1 u L ˜ ( v ) , L { A , B , C } .
This assumption is motivated by the computation of the first terms of the generating functions A, B, and C.
The strategy to solve (7) and (8) is as follows. First, we solve (7) and (8) under the assumption of (9). Then, we verify whether the resulting solution satisfies both (7)–(9). If it does, the obtained solution is indeed a solution to (7) and (8).

2.1. Solving (7) and (8) Under the Assumption of (9)

By (7)–(9), we have
A 0 ( x ) = x + x A 0 ( x ) + x D 1 ( x ) , A ˜ ( v ) = x 1 v + x B ˜ ( v ) + x C ˜ ( v ) + x A ˜ ( v ) + x 1 v A ˜ ( v ) , B ˜ ( v ) = x 1 v + x B ˜ ( v ) + x v ( C ˜ ( v ) C ˜ ( 0 ) ) + x v ( A ˜ ( v ) A ˜ ( 0 ) ) + x 1 v A ˜ ( v ) , C ˜ ( v ) = x 1 v + x B ˜ ( v ) + x C ˜ ( v ) + x v ( A ˜ ( v ) A ˜ ( 0 ) ) + x 1 v A ˜ ( v ) , D ( v ) = x 1 v + x E ( v ) + x D ( v ) + x 1 v A ˜ ( v ) , E ( v ) = x 1 v + x E ( v ) + x v ( D ( v ) D ( 0 ) ) + x 1 v A ˜ ( v ) .
Solving the third and fourth equations of (10) for B ˜ ( v ) and C ˜ ( v ) , and then substituting at the second equation of (10), we obtain
K ( x , v ) A ˜ ( v ) = ( 1 v ) ( v x 2 v x ) x 2 A ˜ ( 0 ) + v ( 1 v ) x 2 C ˜ ( 0 ) v 2 x ,
where K ( x , v ) = x 3 + 3 ( 1 x ) x 2 v ( 3 x 2 3 x + 1 ) ( 1 x ) v 2 + ( 1 x ) 3 v 3 . This type of equation can be solved using the kernel method (see [17]). For the equation K ( x , v ) = 0 , there are three roots v j = v j ( x ) , j = 0 , 1 , 2 , where
v 0 ( x ) = 1 x 3 x 2 9 x 3 30 x 4 + , v 1 ( x ) = x x + 3 2 x 2 25 8 x 2 x + 5 x 3 1167 128 x 3 x + 16 x 4 30,729 1024 x 4 x + , v 2 ( x ) = x x + 3 2 x 2 + 25 8 x 2 x + 5 x 3 + 1167 128 x 3 x + 16 x 4 + 30,729 1024 x 4 x + .
Hence, by substituting v = v 1 and v = v 2 into (11), and then solving for A ˜ ( 0 ) and C ˜ ( 0 ) , we obtain
A ˜ ( 0 ) = v 1 v 2 x 2 ( 1 v 1 ) ( 1 v 2 ) , C ˜ ( 0 ) = 2 v 1 v 2 ( 1 x ) + ( v 1 + v 2 ) x x 2 ( 1 v 1 ) ( 1 v 2 ) .
Thus, by the second, the third, and the fourth equations of (10), we obtain
A ˜ ( v ) = x ( v v 1 ) ( v v 2 ) K ( x , v ) ( 1 v 1 ) ( 1 v 2 ) , B ˜ ( v ) = a ˜ ( v ) x K ( x , v ) ( 1 v 1 ) ( 1 v 2 ) , C ˜ ( v ) = b ˜ ( v ) x K ( x , v ) ( 1 v 1 ) ( 1 v 2 ) .
where
a ˜ ( v ) = x ( v 1 v 2 ( 1 x ) + x ) ( 1 x ) ( v 1 v 2 ( 1 2 x ) ( 1 x ) + x ( 1 2 x ) ( v 1 + v 2 ) + 2 x 2 ) ( 1 v ) + ( 1 x ) 2 ( v 2 ( x 1 ) x ) ( v 1 ( x 1 ) x ) ( 1 v ) 2 , b ˜ ( v ) = x ( v 1 v 2 ( x 1 ) ( v 1 + v 2 ) x + x ) ( v 1 v 2 ( 1 x ) ( 1 x + x 2 ) + x 2 ( v 1 + v 2 ) ( 1 x ) + x 2 ( x 2 ) ) ( 1 v ) ( 1 x ) ( v 1 v 2 ( 1 x ) 2 x 2 ) ( 1 v ) 2 .
By solving the sixth equation of (10) for E ( v ) , and substituting its expression into the fifth equation of (10) with v = x 2 ( 1 x ) 2 , we obtain
D ( 0 ) = x 2 v 1 v 2 ( 1 x ) 2 x ( 1 v 1 ) ( 1 v 2 ) ( 1 x ) 2 .

2.2. A Solution for (7) and (8)

Therefore, by taking L ( v , u ) = 1 1 u L ˜ ( v ) for all L { A , B , C } and the expression of D ( 0 ) , we see that the second, third, fourth, fifth, and sixth equations of (10) hold. Hence, by the first equation of (10), we solved the system (10), which implies the following result.
Theorem 2.
The generating function n 1 A 0132 ( n ) x n is given by
A 0 ( x ) = x 1 x + x 1 x D ( 0 ) = x 1 x + x 2 v 1 v 2 ( 1 x ) 2 ( 1 v 1 ) ( 1 v 2 ) ( 1 x ) 3 .
Note that by the definitions of the roots v 0 , v 1 , v 2 , we have v 0 v 1 v 2 = x 3 ( 1 x ) 3 and v 0 + v 1 + v 2 = 1 3 x + 3 x 2 ( 1 x ) 2 . So, by Theorem 2, we have
A 0 ( x ) = x 1 x 1 + x v 0 ( 1 x ) 2 x 2 .
Note that v 0 satisfies K ( x , v 0 ) = 0 . Hence, by finding v 0 in terms of A 0 ( x ) and then substituting into the equation K ( x , v 0 ) = 0 , we obtain the result in Theorem 1.

3. Further Results and Conclusions

In this section, we present several applications of the generating-tree framework developed in the proof of Theorem 1. In particular, we derive explicit formulas for the generating functions that count ascent sequences avoiding a specific pattern of length four, illustrating the utility and versatility of our recursive approach.
As a first consequence, we find an explicit formula for the generating function for the number of ascent sequences of length n avoiding the pattern 0101. One can show that the generating tree T [ 0101 ] has root 0 and satisfies the succession rules
01 m 0 , 01 , 012 , , 01 m ( m + 1 )
for all m 0 . Thus, the corresponding weights satisfy the recurrence relation
A 01 m ( x ) = x + x j = 0 m + 1 A 01 j ( x ) .
To solve this, we define the bivariate generating function A ( x ; u ) = m 0 A 01 m ( x ) u m . Multiplying the recurrence by u m and summing over m 0 yields the functional equation
A ( x ; u ) = x 1 u + x 1 u A ( x ; u ) + x u A ( x ; u ) A ( x ; 0 ) .
This type of linear functional equation can be solved systematically using the kernel method (see, e.g., [17]). By setting u = 1 1 4 x 2 to cancel the kernel coefficient, we obtain
A ( x ; 0 ) = 1 1 4 x 2 x 1 ,
which matches the known results established in [4,6].
As another application, we derive an explicit formula for the generating function counting ascent sequences of length n that avoid the pattern 0102. It can be shown that the generating tree T [ 0102 ] has root 0 and obeys the following succession rules:
01 m 010 , 0121 , , 01 ( m 1 ) m ( m 1 ) , 01 m , 01 ( m + 1 ) , 01 ( m 1 ) m ( m 1 ) 010 , 0121 , , 01 ( m 1 ) m ( m 1 ) , 01 ( m 1 ) m ( m 1 ) ,
for all m 0 . Translating these rules into a system of recurrence relations and converting them into a functional equation allows us to apply the kernel method once more. This shows that the generating function for the number of ascent sequences of length n avoiding 0102 is given by
x ( 1 2 x ) ( 1 x ) ( 1 3 x ) ,
which matches the known results established in [4,6].
Similarly, we can study the pattern 0112. It can be shown that the generating tree T [ 0112 ] has root 0 and obeys the following succession rules:
01 m 01 m , 011 , 0122 , , 01 ( m 1 ) m m , 01 ( m + 1 ) , 01 ( m 1 ) m m 01 ( m 1 ) m m , 011 , 0122 , , 01 ( m 1 ) m m .
From these rules, it is straightforward to see that the generating trees T [ 0102 ] and T [ 0112 ] are isomorphic, immediately implying that the two corresponding generating functions are equal.
Also, we can study the pattern 0123. It can be shown that the generating tree T [ 0123 ] has root 0 and obeys the following succession rules:
0 0 , 01 , ( 01 ) m ( 01 ) m 0 , ( 01 ) m , 012 , ( 01 ) 2 3 , , ( 01 ) m ( m + 1 ) , ( 01 ) m ( m + 1 ) ( 01 ) m ( m + 1 ) , ( 01 ) m ( m + 1 ) , 012 , ( 01 ) 2 3 , , ( 01 ) m ( m + 1 ) , ( 01 ) m 0 ( 01 ) m 0 , ( 01 ) m + 1 , 012 , ( 01 ) 2 3 , , ( 01 ) m ( m + 1 ) ,
for all m 1 . Translating these rules into a system of recurrence relations, we obtain
A 0 ( x ) = x + x A 0 ( x ) + x A 01 ( x ) , A ( 01 ) m ( x ) = x + x A ( 01 ) m 0 ( x ) + x A ( 01 ) m ( x ) + x j = 1 m A ( 01 ) ( j + 1 ) ( x ) , A ( 01 ) m ( m + 1 ) ( x ) = x + 2 x A ( 01 ) m ( m + 1 ) + x j = 1 m A ( 01 ) j ( j + 1 ) ( x ) , A ( 01 ) m 0 ( x ) = x + x A ( 01 ) m 0 ( x ) + x A ( 01 ) m + 1 ( x ) + x j = 1 m A ( 01 ) j ( j + 1 ) ( x ) ,
for all m 1 . Translating these recurrence relations to functional equations allows us to apply the kernel method once more. This shows that
A ( 01 ) m ( x ) = x ( 1 2 x ) m ( 1 3 x ) m 1 ( 1 5 x + 6 x 2 x 3 ) , A ( 01 ) m 0 ( x ) = x ( 1 3 x + x 2 ) ( 1 2 x ) m ( 1 3 x ) m ( 1 5 x + 6 x 2 x 3 ) , A ( 01 ) m ( m + 1 ) ( x ) = x ( 1 2 x ) m 1 ( 1 3 x ) m ,
for all m 1 . Hence, we have the following theorem.
Theorem 3.
The generating function for the number of ascent sequences of length n avoiding 0123 is given by
x ( 1 3 x + x 2 ) 1 5 x + 6 x 2 x 3 .
Similarly, we can study the pattern 0122. It can be shown that the generating tree T [ 0122 ] has root 0 and obeys the following succession rules:
0 0 , 01 , ( 01 ) m ( 01 ) m 0 , ( 01 ) m , ( 01 ) m , ( 01 ) m 3 , ( 01 ) m 4 , , ( 01 ) m ( m + 1 ) , ( 01 ) m 0 ( 01 ) m 0 , ( 01 ) m + 1 , ( 01 ) m , ( 01 ) m 3 , ( 01 ) m 4 , , ( 01 ) m ( m + 1 ) , ( 01 ) m j ( 01 ) m 0 , ( 01 ) m , ( 01 ) m 1 , ( 01 ) m 1 3 , ( 01 ) m 1 4 , , ( 01 ) m 1 ( j 1 ) , ( 01 ) m j , ( 01 ) m ( j + 1 ) , , ( 01 ) m ( m + 1 ) ,
for all m 1 and 3 j m + 1 . Translating these rules into a system of recurrence relations, we obtain
A 0 ( x ) = x + x A 0 ( x ) + x A 01 ( x ) , A ( 01 ) m ( x ) = x + x A ( 01 ) m 0 ( x ) + 2 x A ( 01 ) m ( x ) + x j = 3 m + 1 A ( 01 ) m j ( x ) , A ( 01 ) m 0 ( x ) = x + x A ( 01 ) m 0 ( x ) + x A ( 01 ) m + 1 ( x ) + x A ( 01 ) m ( x ) + x j = 3 m A ( 01 ) m j ( x ) , A ( 01 ) m j ( x ) = x + x A ( 01 ) m 0 ( x ) + x A ( 01 ) m ( x ) + x A ( 01 ) m 1 ( x ) + x i = 3 j 1 A ( 01 ) m 1 i ( x ) + x i = j m + 1 A ( 01 ) m i ( x ) ,
for all m 1 and 3 j m + 1 . Define A ( u ) = m 1 A ( 01 ) m ( x ) u m 1 , B ( u ) = m 1 A ( 01 ) m 0 ( x ) u m 1 , and C ( u , v ) = m 2 j = 3 m + 1 A ( 01 ) m j ( x ) u m 2 v m + 1 j . Now, the above recurrence relations can be written as
A ( u ) = x 1 u + x B ( u ) + 2 x A ( u ) + x u C ( u , 1 ) , B ( u ) = x 1 u + x B ( u ) + x A ( u ) + x u A ( u ) A ( 0 ) + x u C ( u , 1 ) , C ( u , v ) = x ( 1 u ) ( 1 u v ) + x u ( 1 v ) B ( u ) B ( u v ) + x u ( 1 v ) A ( u ) A ( u v ) + x 1 v A ( u ) v A ( u v ) + x u 1 v C ( u , 1 ) v C ( u , v ) + x 1 v C ( u , v ) v C ( u v , 1 ) .
Here, we were unable to solve this system to derive an explicit generating function for the number of ascent sequences of length n avoiding the pattern 0122.
Another direction is to consider the set of ascent sequences of length n that avoid both 0132 and another pattern τ . For instance, it can be shown that the generating tree T [ 0132 , 0123 ] has root 0 and obeys the following succession rules:
0 0 , 01 , 01 010 , 01 , 012 , 010 010 , a 2 , 012 , 012 012 , 012 , 012 , a m b m , a m , 012 , , 012 m t i m e s , b m b m , a m + 1 , 012 , , 012 m t i m e s ,
where a m = ( 01 ) m and b m = ( 01 ) m 0 . Translating these rules into a system of recurrence relations and converting them into a functional equation allows us to apply the kernel method once more. This shows that the generating function for the number of ascent sequences of length n avoiding both 0132 and 0123 is given by
x ( 1 5 x + 7 x 2 x 3 ) ( 1 3 x ) ( 1 2 x ) 2 .
In another example, it can be shown that the generating tree T [ 0132 , 0012 ] has root 0 and obeys the following succession rules:
0 00 , 01 , 00 00 , 00 , 01 010 , 011 , 012 , 010 010 , 00 , 010 , 011 010 , 011 , 011 , 012 0120 , 0121 , 0122 , 012 , 0120 0120 , 00 , 010 , 010 , 0121 0120 , 0121 , 011 , 011 , 0122 0120 , 0121 , 0122 , 011 .
Translating these rules into a system of recurrence relations and converting them into a functional equation allows us to show that the generating function for the number of ascent sequences of length n avoiding both 0132 and 0123 is given by
x ( 1 5 x + 9 x 2 5 x 3 + x 4 ) ( 1 x ) ( 1 2 x ) 3 .
In conclusion, the methodology presented above—constructing the underlying generating tree, translating its succession rules into a system of recurrence relations, deriving the corresponding functional equations, and systematically solving them using tools such as the kernel method—provides a powerful framework for obtaining explicit formulas for pattern-avoiding ascent sequences. We have demonstrated the effectiveness of this approach by resolving the non-trivial avoidance case of 0132, along with several other cases considered in this work. A limitation of the method is that, in its current form, it does not immediately lead to a universal procedure for deriving closed formulas for all pattern-avoidance classes.
We anticipate that this approach is robust enough to be applied to many of the pattern sets discussed in the introduction, although a complete characterization remains open. As a natural direction for future research, we therefore propose the following conjecture: it should be possible to obtain explicit generating functions for ascent sequences avoiding any given single pattern τ of length four. More generally, one may also investigate the simultaneous avoidance of arbitrary sets of length-four patterns.

Funding

This research received no external funding.

Data Availability Statement

No datasets were generated or analyzed during the current study.

Acknowledgments

We thank the referees for their careful reading of and helpful comments on the previous version of this manuscript.

Conflicts of Interest

The author declares no conflicts of interest.

References

  1. Bousquet-Mélou, M.; Claesson, A.; Dukes, M.; Kitaev, S. (2+2)-free posets, ascent sequences and pattern avoiding permutations. J. Comb. Theory Ser. A 2010, 117, 884–909. [Google Scholar] [CrossRef] [Scilit]
  2. Dukes, M.; Parviainen, R. Ascent sequences and upper triangular matrices containing non-negative integers. Electron. J. Comb. 2010, 17, #R53. [Google Scholar] [CrossRef] [Scilit]
  3. Kitaev, S. Patterns in Permutations and Words; Monographs in Theoretical Computer Science; Springer: Berlin, Germany, 2011. [Google Scholar]
  4. Duncan, P.; Steingrímsson, E. Pattern avoidance in ascent sequences. Electron. J. Comb. 2011, 18, #P226. [Google Scholar] [CrossRef] [Scilit]
  5. Mansour, T.; Shattuck, M. Some enumerative results related to ascent sequences. Discret. Math. 2014, 315–316, 29–41. [Google Scholar] [CrossRef] [Scilit]
  6. Liu, Q.; Kitaev, S.; Zhang, P. Simultaneous avoidance of length-4 patterns in ascent sequences. arXiv 2026, arXiv:2604.06735v1. [Google Scholar]
  7. Fu, S.; Jin, E.Y.; Lin, Z.; Yan, S.H.F.; Zhou, R.D.P. A new decomposition of ascent sequences and Euler–Stirling statistics. J. Comb. Theory Ser. A 2020, 170, 105141. [Google Scholar] [CrossRef] [Scilit]
  8. Yan, S.H.F. Ascent sequences and 3-nonnesting set partitions. Eur. J. Comb. 2013, 34, 1297–1308. [Google Scholar]
  9. Yan, S.H.F. Bijections for inversion sequences, ascent sequences and 3-nonnesting set partitions. Appl. Math. Comput. 2018, 325, 24–30. [Google Scholar] [CrossRef] [Scilit]
  10. Callan, D.; Mansour, T. Ascent sequences avoiding a triple of length-3 patterns. Electron. J. Comb. 2025, 32, #P1.40. [Google Scholar] [CrossRef] [Scilit]
  11. Bényi, B.; Claesson, A.; Dukes, M. Weak ascent sequences and related combinatorial structures. Eur. J. Comb. 2023, 108, 103633. [Google Scholar] [CrossRef] [Scilit]
  12. Callan, D.; Mansour, T. Wilf classes for weak ascent sequences avoiding a pair or triple of length-3 patterns. Discret. Math. 2025, 348, 114438. [Google Scholar] [CrossRef] [Scilit]
  13. Baril, J.-L.; Khalil, C.; Vajnovszki, V. Catalan words avoiding pairs of length three patterns. Discret. Math. Theor. Comput. Sci. 2021, 22, #5. [Google Scholar]
  14. Baxter, A.M.; Pudwell, L.K. Ascent sequences avoiding pairs of patterns. Electron. J. Comb. 2015, 22, #P1.58. [Google Scholar] [CrossRef] [Scilit]
  15. Bóna, M. Combinatorics of Permutations, 3rd ed.; CRC Press: Boca Raton, FL, USA, 2022. [Google Scholar]
  16. Regev, A. Asymptotic values for degrees associated with strips of Young diagrams. Adv. Math. 1981, 41, 115–136. [Google Scholar] [CrossRef] [Scilit]
  17. Banderier, C.; Bousquet-Mélou, M.; Denise, A.; Flajolet, P.; Gardy, D.; Gouyou-Beauchamps, D. Generating functions for generating trees. Discret. Math. 2002, 246, 29–55. [Google Scholar] [CrossRef] [Scilit]
Figure 1. First four levels of T ( { 0132 } ) .
Figure 1. First four levels of T ( { 0132 } ) .
Symmetry 18 01174 g001
Figure 2. First four levels of T [ { 0132 } ] .
Figure 2. First four levels of T [ { 0132 } ] .
Symmetry 18 01174 g002
Table 1. Enumeration results for ascent sequences avoiding patterns of length four (exact counts or recurrences).
Table 1. Enumeration results for ascent sequences avoiding patterns of length four (exact counts or recurrences).
τ Reference τ Reference
0012[5]0021[5]
0101[4,6], Section 30102[4,6], Section 3
0112[4,6], Section 30120[4,6]
0121[4,6]0122Section 3
0123Theorem 30132Theorem 1
1012[4,5]
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

Mansour, T. 0132-Avoiding Ascent Sequences. Symmetry 2026, 18, 1174. https://doi.org/10.3390/sym18071174

AMA Style

Mansour T. 0132-Avoiding Ascent Sequences. Symmetry. 2026; 18(7):1174. https://doi.org/10.3390/sym18071174

Chicago/Turabian Style

Mansour, Toufik. 2026. "0132-Avoiding Ascent Sequences" Symmetry 18, no. 7: 1174. https://doi.org/10.3390/sym18071174

APA Style

Mansour, T. (2026). 0132-Avoiding Ascent Sequences. Symmetry, 18(7), 1174. https://doi.org/10.3390/sym18071174

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