Work

Exact enumeration of double-occurrence words at fixed reduction index

Year: 2026
Type: preprint
Abstract: A double-occurrence word of size \(n\) contains \(n\) different letters, each appearing twice. Its leximin form names the letters \(1,2,\ldots\) in order of first appearance. A deletion removes two disjoint contiguous blocks that list the same distinct letters, in the same order for a repeat or in reverse order for a return. A pair of single letters also qualifies. The recurrence index is the minimum number of deletions needed to reach the empty word. Cohen-Rider, Riehl and Wang Hu's Theorem 3.3 allows this minimum to be taken over maximal deletions, where a pair of blocks is maximal if it cannot be extended to a larger repeat or return. For each positive index \(k\), the enumeration reduces to a finite set of templates independent of \(n\), and the count is eventually a polynomial of degree exactly \(3k-3\). For index two, Cohen-Rider, Riehl and Wang Hu conjectured a cubic count for every integer \(n\ge3\). Writing \(a_{n,k}\) for the number of leximin words of size \(n\) and index \(k\), the enumeration confirms \[a_{n,2}=\frac{7n^3-18n^2-7n+30}{3}\qquad(n\ge3). \] There is one index-two word at size two and none at sizes zero or one. Cohen-Rider, Riehl and Wang Hu, §6, Conjecture 6.1 and Eq. (2) The authors also asked for exact size counts at larger fixed indices. For every integer \(k\ge3\) and every integer \(n\ge0\), the following construction gives both a rational generating function and a finite binomial sum under the original deletion rules. The same construction applies at \(k=1,2\). Cohen-Rider, Riehl and Wang Hu, §7, final paragraph To obtain the template of a word, let \(\mu(i)\) be the position of the other copy of the letter at position \(i\). Join consecutive positions \(i,i+1\) when their letters differ and \(|\mu(i+1)-\mu(i)|=1\). The resulting intervals come in pairs under \(\mu\), and each pair is one maximal deletion. Collapse both intervals of each pair to the same symbol, naming the symbols by first appearance. Tag the symbol \(0\) for length one, \(+\) for a repeat of length at least two, and \(-\) for a return of length at least two. To recover a leximin word, give each symbol a permitted length, use fresh distinct letters in its first block, and write them in the prescribed order in its second block. Then rename the letters by first appearance. Validity and recurrence index can both be tested with lengths one for \(0\) and two for \(+\) and \(-\). For validity, apply the join rule to this representative and check that the prescribed intervals are exactly its components. At a boundary between different symbols, the join depends only on whether the mate intervals are consecutive and their mate endpoints face each other. A singleton can serve as either endpoint. At a boundary between two copies of the same symbol, the boundary letters coincide for a singleton or return. For a repeat of length at least two, their mates lie at opposite outer ends of the two blocks. Neither case yields a join. After a maximal deletion the surviving intervals keep their internal joins, and the same boundary rule determines how they merge and pair up. Thus the subsequent deletion options are independent of the permitted lengths as well. An index-\(k\) word has at most \(3k-2\) block pairs. For each \(1\le t\le3k-2\), enumerate the matchings of \(2t\) ordered positions into \(t\) pairs and all \(3^t\) assignments of tags. Keep the valid templates whose representative has index \(k\). This index can be computed recursively by trying each maximal deletion, recomputing the interval pairs on the surviving word and taking the shortest route to the empty word. Let \(C_{k;t,j}\) count the retained templates with \(t\) pairs and exactly \(j\) nonsingleton tags. With \(z\) marking the number of distinct letters, the exact formulas are \[F_k(z)=\sum_{n\ge0}a_{n,k}z^n =\sum_{t=1}^{3k-2}\sum_{j=0}^{t} C_{k;t,j}\frac{z^{t+j}}{(1-z)^j}, \] \[a_{n,k}=C_{k;n,0}+ \sum_{t=1}^{3k-2}\sum_{\substack{1\le j\le t\\n\ge t+j}} C_{k;t,j}\binom{n-t-1}{j-1}, \] where \(C_{k;n,0}=0\) outside \(1\le n\le3k-2\). Each nonsingleton tag allows an independent choice of length from two upwards. The binomial coefficient distributes the \(n-t-j\) letters beyond the minimum size among those \(j\) choices. Each word has a unique canonical template and lengths, so different optimal deletion sequences contribute no extra copies. For \(n\ge3k-1\), the binomial sum is polynomial in \(n\). Its degree is set by the maximum number of independently variable lengths. Reversing a deletion inserts two matching blocks, which can split at most two existing pairs and add at most one new pair. Starting from one pair at index one gives the bound \(3k-2\). It is attained with every pair nonsingleton. Start with a nonsingleton repeat and enlarge one existing pair to length at least six. Insert two copies of a fresh length-two repeat into two internal gaps of the same occurrence, leaving three old chunks of length at least two. This replaces the chosen pair by three and adds one separate new pair. Deleting that new pair recovers the preceding index, while the pair bound forces the index to have increased by one. Iterating gives a positive leading coefficient \(C_{k;3k-2,3k-2}/(3k-3)!\). At index three the evaluated generating function is \[F_3(z)=\frac{z^3\bigl(z^8-8z^7+33z^6+65z^5-450z^4+680z^3+363z^2+41z+1\bigr)}{(1-z)^7}. \] The count is zero at sizes zero through two, equals one at size three and 48 at size four, and for every integer \(n\ge5\) is \[a_{n,3}=\frac{121}{120}n^6-\frac{373}{40}n^5+\frac{587}{24}n^4-\frac{161}{24}n^3+\frac{563}{15}n^2-\frac{10739}{30}n+467. \]
Author: He, Zixuan
Language: English
Open Access status: green
OpenAlex ID: W7242532040
Cites:
Cited by:
Related to: