Superpattern
In the mathematical study of permutations and permutation patterns, a superpattern or universal permutation is a permutation that contains all of the patterns of a given length. More specifically, a k-superpattern contains all possible patterns of length k.[1]
Definitions and example
If π is a permutation of length n, represented as a sequence of the numbers from 1 to n in some order, and s = s1, s2, ..., sk is a subsequence of π of length k, then s corresponds to a unique pattern, a permutation of length k whose elements are in the same order as s. That is, for each pair i and j of indexes, the i-th element of the pattern for s should be less than the j-th element if and only if the i-th element of s is less than the j-th element. Equivalently, the pattern is order-isomorphic to the subsequence. For instance, if π is the permutation 25314, then it has ten subsequences of length three, forming the following patterns:
Subsequence | Pattern |
---|---|
253 | 132 |
251 | 231 |
254 | 132 |
231 | 231 |
234 | 123 |
214 | 213 |
531 | 321 |
534 | 312 |
514 | 312 |
314 | 213 |
A permutation π is called a k-superpattern if its patterns of length k include all of the length-k permutations. For instance, the length-3 patterns of 25314 include all six of the length-3 permutations, so 25314 is a 3-superpattern. No 3-superpattern can be shorter, because any two subsequences that form the two patterns 123 and 321 can only intersect in a single position, so five symbols are required just to cover these two patterns.
Length bounds
The upper bound of k2 on superpattern length proven by Arratia is not tight. After intermediate improvements,[4] Miller (2009) proved that there is a k-superpattern of length at most k(k + 1)/2 for every k.[5] This bound was later improved by Engen and Vatter (2021), who lowered it to ⌈(k2 + 1)/2⌉.[6]
Eriksson et al. conjectured that the true length of the shortest k-superpattern is asymptotic to k2/2.[4] However, this is in contradiction with a conjecture of Alon on random superpatterns described below.
Random superpatterns
Researchers have also studied the length needed for a sequence generated by a random process to become a superpattern.[7] Arratia (1999) observes that, because the longest increasing subsequence of a random permutation has length (with high probability) approximately 2√n, it follows that a random permutation must have length at least k2/4 to have high probability of being a k-superpattern: permutations shorter than this will likely not contain the identity pattern.[2] He attributes to Alon the conjecture that, for any ε > 0, with high probability, random permutations of length k2/(4 − ε) will be k-superpatterns.
See also
References
- ISBN 9781439850510.
- ^ MR 1710623
- MR 4253319
- ^ S2CID 2021533
- MR 3488590