Generating key points…
Answers are grounded in this paper and cite their sources.
Ordinary Cayley–Wilf equivalence determines both the maximum rank of a pattern and the number of ranks that occur exactly once. This answers the question posed by Cerbai, Claesson, Ernst and Golab. An ordinary avoidance count pools words of all maximum ranks. The original paper's refined argument at the pattern length uses counts partitioned by maximum rank. The new result recovers both statistics from the pooled count one letter above the pattern length. Cerbai–Claesson–Ernst–Golab, Conjecture 8.7, printed p. 296. A nonempty Cayley word uses every positive integer from \(1\) to its maximum. A word contains a pattern \(p\) if it has a subsequence that becomes \(p\) when its distinct values are replaced by successive ranks starting at \(1\), in increasing order. For every nonempty Cayley pattern \(p\) of length \(m\), let \(k=max(p)\) and let \(s\) be the number of ranks appearing exactly once in \(p\). The number \(G(p)\) of distinct Cayley words of length \(m+1\) containing \(p\) is \[G(p)=(2k+1)(m+1)-m-2s=2k(m+1)+1-2s. \] The two terms in the insertion count come from whether the extra letter uses an existing rank or creates a new one. For an existing rank \(x\), the \(m+1\) insertion gaps give duplicate words exactly when the insertion moves across copies of \(x\). If \(x\) occurs \(c_x\) times, there are \(m+1-c_x\) distinct outputs for that rank. Different choices of \(x\) give different multiplicities, so this gives \(k(m+1)-m\) words of maximum \(k\). To create a rank, choose one of the \(m+1\) gaps and a rank \(x\) from \(1\) to \(k+1\), and increment every old rank at least \(x\). In a resulting word, the positions where deleting the new rank and repacking recovers \(p\) form a consecutive block. Each rank in that block occurs only once in the entire word, and successive ranks in the block increase by one throughout or decrease by one throughout. Duplicate insertion choices can therefore be counted by adjacent pairs of deletion positions. Each occurrence of a singleton rank \(a\) in \(p\) accounts for exactly two such pairs. In the gaps immediately before and after it, the choices \((a,a+1)\) give the same increasing pair and the choices \((a+1,a)\) give the same decreasing pair. This leaves \((k+1)(m+1)-2s\) distinct words of maximum \(k+1\). For a known \(m\), subtract the number of length-\(m+1\) avoiders from the total number of Cayley words of that length to obtain \(G(p)\). The total counts all words of length \(m+1\) that use every rank from \(1\) to \(r\), summed over \(1≤ r≤ m+1\). Then recover \[k=(p)-1/2(m+1), s=k(m+1)-G(p)-1/2, \] where the ceiling rounds up to the nearest integer. Since \(0≤ s≤ m\), for fixed \(m\) any pattern with a strictly greater maximum has at least two more containing words at length \(m+1\). Ordinary equivalence gives equal avoidance counts at every length. The first length at which the avoidance count falls below the total Cayley count is \(m\), so equivalent patterns have a common \(m\). Their counts at length \(m+1\) then force both statistics to agree. For a permutation pattern, \(k=s=m\), so the formula gives \(2m^2+1\) containing Cayley words at length \(m+1\). Of these, \(m^2+1\) are permutations, the classical count attributed to Pratt. Vatter, §3. Original problem sources. https://dr.ntu.edu.sg/bitstream/10356/157154/2/Efficiently%20List-Decodable%20Insertion%20and%20Deletion%20Codes%20via%20Concatenation_Ivan.pdf#page=3 https://doi.org/10.1109/TIT.2021.3096154
No takes yet. Share an insight, caveat, or question.
Zixuan He (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: