An improved KMY algorithm for pattern-avoiding inversion sequences
Qi Liu
Key points
From the paper's conclusion- These results demonstrate that the proposed algorithm provides an effective approach for constructing reduced generating trees for pattern-avoiding inversion sequences.
Abstract
Inversion sequences are an important class of integer sequences in combinatorics, and their pattern avoidance problems are closely related to Wilf-equivalence classification and enumeration. Based on the generating-tree algorithm of Kotsireas, Mansour, and Yıldırım, this paper proposes an optimized reduced generating-tree construction algorithm for pattern-avoiding inversion sequences. The algorithm combines the truncated isomorphism criterion, tail-anchored pattern checking, 64-bit unordered tree hashing, and incremental depth comparison, thereby reducing the computational cost of pattern detection and subtree isomorphism determination. Experiments on 13 single forbidden patterns of length 3 show that the optimized algorithm preserves the labels, rules, and succession structures of the original implementation while substantially reducing the running time in most cases. These results demonstrate that the proposed algorithm provides an effective approach for constructing reduced generating trees for pattern-avoiding inversion sequences.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Enumeration of Inversion Sequences Avoiding 010 and Some Patterns of Length FourHacettepe Journal of Mathematics and Statistics · 2026
- Optimal Pattern-Avoidance Bounds for Binary Search TreesarXiv · 2026
- Two refined Wilf-equivalences for patterns of length 4 and a conjecture on Dumont permutations of the first kindarXiv · 2026
- A Method to Generate Multi-interval Pairwise Compatibility GraphsDiscrete Mathematics Algorithms and Applications · 2026
- Iterating the Lehmer code on inversion sequences: Catalan fixed points and finite stabilizationarXiv · 2026
- Matchings and shape-Wilf-Equivalence of sets of patterns of length three I: TriplesarXiv · 2026