Related Experiment Video
Updated: Dec 24, 2025

A Real-world What-Where-When Memory Test
Published on: May 16, 2017
Finite automata, probabilistic method, and occurrence enumeration of a pattern in words and permutations
Toufik Mansour1, Reza Rastegar2, Alexander Roitershtein3
1Department of Mathematics, University of Haifa, 199 Abba Khoushy Ave, 3498838 Haifa, Israel.
Abstract:
The main theme of this paper is the enumeration of the order-isomorphic occurrence of a pattern in words and permutations. We mainly focus on asymptotic properties of the sequence , 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 , the number of pattern occurrences in a random n-array word. The two topics are closely related through the identity . In particular, we show that for any r ≥ 0, the Stanley-Wilf sequence 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 , including a central limit theorem, large deviation estimates, and the exact growth rate of the entropy of X . 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.
Related Concept Videos
Probability in Statistics
An example of a simple event is a coin toss. The result of a coin toss is either a head or a tail. Here, head and tail are two simple events. These two simple events make up the sample space. Further, the probability of an event occurring falls within the range of 0 to 1. The probability of an...
Poisson Probability Distribution
The...
Wald-Wolfowitz Runs Test I
The test works...
Random Variables
Uppercase letters such as X or Y denote a random variable. Lowercase letters like x or y denote the value of a random variable. If X is a random variable, then X is written in words, and x is given as a number.
For example, let X = the...
Mathematical Induction
Determination of Expected Frequency

