Skip to main content
QUICK REVIEW

[Paper Review] Approaches for enumerating permutations with a prescribed number of occurrences of patterns

Brian Nakamura|arXiv (Cornell University)|Jan 22, 2013
Advanced Combinatorial MathematicsMathematics18 references7 citations
TL;DR

This paper extends functional equation-based enumeration techniques to count permutations with a prescribed number of occurrences of specific non-increasing patterns, including 132, 1432, and 2341, as well as multiple patterns and inversions. It introduces polynomial-time algorithms via catalytic generating functions and provides Maple packages for computation, enabling the enumeration of previously intractable permutation classes with exact pattern counts.

ABSTRACT

In recent work, Zeilberger and the author used a functional equations approach for enumerating permutations with r occurrences of the pattern 12...k. In particular, the approach yielded a polynomial-time enumeration algorithm for any fixed nonnegative r. We extend that approach to patterns of the form 12...(k-2)(k)(k-1) by deriving analogous functional equations and using them to develop similar algorithms that enumerate permutations with r occurrences of the pattern. We also generalize those techniques to handle patterns of the form 23...k1 and derive analogous functional equations and enumeration algorithms. Finally, we show how the functional equations and algorithms can be modified to track inversions as well as handle multiple patterns simultaneously. This paper is accompanied by Maple packages that implement the algorithms described.

Motivation & Objective

  • To generalize the functional equation approach from increasing patterns (12...k) to non-increasing patterns such as 132 and 1432.
  • To develop efficient, polynomial-time algorithms for enumerating permutations with exactly r occurrences of a given pattern, even for r > 1.
  • To extend the method to simultaneously track multiple patterns and inversions in permutations.
  • To implement the algorithms in Maple packages for practical computation and sequence generation.

Proposed method

  • Derive functional equations using catalytic variables to track pattern occurrences and inversion counts in permutations.
  • Introduce weighted generating functions with variables x_i and y_i to encode left and right inversion contributions.
  • Adapt the recurrence structure from [14] to handle patterns like 12...(k-2)k(k-1) and 23...k1 by modifying the insertion rules.
  • Use the functional equations to build recursive algorithms that compute s_n(τ,r) efficiently for fixed r and pattern τ.
  • Implement the algorithms in Maple packages (e.g., F123n132, F2341, FS3) for automated sequence generation.
  • Combine multiple functional equations to simultaneously track all length-3 patterns and compute multivariate generating functions.

Experimental results

Research questions

  • RQ1Can the functional equation approach used for increasing patterns be extended to non-monotonic patterns such as 132 and 1432?
  • RQ2Is it possible to develop polynomial-time algorithms for counting permutations with exactly r occurrences of a pattern τ, even for r ≥ 2?
  • RQ3Can the method be generalized to simultaneously track multiple patterns and inversions in permutations?
  • RQ4What functional equations govern the generating functions for permutations with fixed occurrences of patterns like 123 and 132?
  • RQ5Can the resulting algorithms generate enough terms to conjecture P-recursive or closed-form expressions for pattern occurrence sequences?

Key findings

  • The paper successfully extends the functional equation method to patterns of the form 12...(k-2)k(k-1) and 23...k1, including 1432, which was previously intractable with earlier approaches.
  • Polynomial-time algorithms are developed for computing s_n(τ,r) for any fixed r ≥ 0 and the new pattern families.
  • The Maple package F123n132 generates sequences for permutations with exactly r occurrences of 123 and s occurrences of 132, with examples showing terms up to n=15.
  • The package FS3 computes the multivariate generating function for all six length-3 patterns up to n=11, producing a 450 MB file of expanded terms.
  • Empirical evidence supports a conjecture that the number of permutations with r occurrences of 123 and s of 132 is of the form p(n)2^n for n ≥ r+s+1, with p(n) a degree r+s polynomial.
  • The method enables the computation of sequences that lead to new conjectures, such as the P-recursive nature of c_r,s(n) for small r,s, and provides tools to explore deeper structural properties.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.