# Finite automata, probabilistic method, and occurrence enumeration of a   pattern in words and permutations

**Authors:** Toufik Mansour, Reza Rastegar, Alexander Roitershtein

arXiv: 1905.05646 · 2019-05-15

## TL;DR

This paper investigates the asymptotic enumeration and probabilistic distribution of pattern occurrences in words and permutations, establishing limit theorems and introducing weak avoidance concepts linked to non-product measures.

## Contribution

It provides new asymptotic results for pattern occurrence counts, extends limit theorems to permutations, and introduces a novel weak avoidance framework with perturbation analysis.

## Key findings

- Stanley-Wilf sequence converges to a limit independent of occurrence count
- Established CLT and large deviation principles for pattern occurrences
- Extended results from words to permutations

## Abstract

The main theme of this paper is the enumeration of the occurrence of a pattern in words and permutations. We mainly focus on asymptotic properties of the sequence $f_r^v(k,n),$ the number of $n$-array $k$-ary words that contain a given pattern $v$ exactly $r$ times. In addition, we study the asymptotic behavior of the random variable $X_n,$ the number of pattern occurrences in a random $n$-array word. The two topics are closely related through the identity $P(X_n=r) = $ $\frac{1}{k^n}f_r^v(k,n).$ In particular, we show that for any $r\geq 0,$ the Stanley-Wilf sequence $\bigl(f_r^v(k,n)\bigr)^{1/n}$ converges to a limit independent of $r,$ and determine the value of the limit. We then obtain several limit theorems for the distribution of $X_n,$ including a CLT, large deviation estimates, and the exact growth rate of the entropy of $X_n.$ Furthermore, we introduce a concept of weak avoidance and link it to a certain family of non-product measures on words that penalize pattern occurrences but do not forbid them entirely. We analyze this family of probability measures in a small parameter regime, where the distributions can be understood as a perturbation of a uniform measure. Finally, we extend some of our results for words, including the one regarding the equivalence of the limits of the Stanley-Wilf sequences, to pattern occurrences in permutations.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1905.05646/full.md

## References

35 references — full list in the complete paper: https://tomesphere.com/paper/1905.05646/full.md

---
Source: https://tomesphere.com/paper/1905.05646