Sharp periods for sequences avoiding their letterwise involutes

Sharp periods for sequences avoiding their letterwise involutes An alphabet involution exchanges some pairs of letters and leaves the others fixed. Applied letter by letter to a word, it pairs most words with an involute. We determine the longest cyclic sequence that contains at most one word from each such pair as a window, and contains no fixed window. The elementary orbit-count bound is attained except in one precisely specified case: a fixed-point-free involution, windows of length two, and an odd number of exchanged letter pairs. In that case the exact maximum is one less than the bound. Let the alphabet contain \(k=f+2t\) letters, where \(f\ge0\) letters are fixed and \(t\ge0\) pairs are exchanged. Fix a window length \(n\ge2\). Windows are read cyclically, including across the end of the written sequence. A valid sequence has distinct length-\(n\) windows; whenever a window occurs, its letterwise involute does not. In particular, a window composed entirely of fixed letters is forbidden. The period may be shorter than \(n\), as allowed by the original question. For \(t>0\), the maximum period is \[\boxed{ L_{f,t}(n)=\frac{(f+2t)^n-f^n}{2} -\mathbf1_{\{f=0,\ n=2,\ t\text{ odd}\}}. } \] If \(t=0\), the involution is the identity and no nonempty sequence is allowed. This completely answers the letterwise-involution question following Mitchell–Wild, Definition 8.1 and §8. It does not claim the same answer for an arbitrary involution on the set of length-\(n\) tuples: such an involution need not respect window overlaps. The first term in the formula is unavoidable. There are \(k^n\) words, exactly \(f^n\) of which are fixed, and the remaining words form pairs. A valid sequence can use each pair at most once. The new issue is whether one representative from every pair can be arranged with the required consecutive overlaps and a closed seam. Why almost every orbit bound is attainable Represent a length-\(n\) word as a directed edge from its first \(n-1\) letters to its last \(n-1\) letters. Delete the fixed words and identify every vertex and edge with its involute, retaining parallel edges and loops as distinct objects. The resulting directed graph is balanced and strongly connected whenever \(t>0\). An Euler circuit therefore visits every allowed edge orbit exactly once. To obtain a literal cyclic word, that circuit must lift back to a closed walk on actual words. If a fixed letter exists, start at the vertex consisting of \(n-1\) copies of that letter. Its orbit has only one literal representative. Following the circuit and choosing compatible representatives necessarily returns to that representative, so the lifted circuit closes. This gives the orbit-count period for every \(f>0\), including involutions with more fixed letters than the modular-negation examples previously considered. When \(f=0\), write each letter as \((a,\varepsilon)\), where \(a\in\{1,\ldots,t\}\) names its exchanged pair and \(\varepsilon\in\mathbb F_2\) identifies the member of the pair. The involution changes \(\varepsilon\) to \(1+\varepsilon\). A word orbit is specified by the pair identities and the adjacent binary differences. Along a quotient edge, the first difference records whether the first bit of the lifted vertex changes. A closed quotient trail lifts to a closed literal trail exactly when the sum of these changes is even. Over all edge orbits, this total parity is \[t^n2^{n-2}\pmod2. \] It is even for every \(n\ge3\), and also when \(n=2\) and \(t\) is even. Any Euler circuit then has a closed lift and attains the full orbit count. At \(n=2\) with odd \(t\), every all-orbit circuit has odd parity and cannot close on its starting literal representative. This proves that at least one orbit must be omitted. Deleting a single loop represented by the two opposite members of one letter pair changes the parity to even while preserving balance and connectivity. The remaining Euler circuit closes after lifting, proving the exact loss of one. This is a construction for every exceptional alphabet size, rather than a finite-order observation. For example, with alphabet \(\{0,1,2,3,4,5\}\) and exchanged pairs \((0,1),(2,3),(4,5)\), the maximum at span two is 17, although there are 18 nonfixed word orbits. The cyclic word ``` 00203040533243445 ``` attains 17. Its adjacent windows, including the last-to-first window, use every orbit except the one containing \(01\) and \(10\). With three fixed letters \(0,1,2\) and one exchanged pair \((3,4)\), the span-two maximum is \((5^2-3^2)/2=8\), attained by `03132334`. Mitchell and Wild had established attainment for modular negation with one or two fixed letters and discussed the binary span-two exception. In the fixed-point-free binary case, the two-sheet lift and its parity test go back to Lempel's de Bruijn graph homomorphism and Hartke's subsequent treatment. The present classification keeps the identities of all exchanged pairs in the lift. It thereby covers every alphabet cycle type, identifies all further span-two exceptions, and gives a matching construction in each case. The construction is explicit through an Euler circuit of the finite quotient graph; no polynomial-in-\(n\) workspace or per-symbol delay bound is asserted.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-03
DOI
https://doi.org/10.5281/zenodo.24794438
Primary Topic
Advanced Combinatorial Mathematics
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Sharp periods for sequences avoiding their letterwise involutes

Zixuan He
Zenodo (CERN European Organization for Nuclear Research)
Advanced Combinatorial Mathematics
preprint

Sharp periods for sequences avoiding their letterwise involutes

Zixuan He
preprint en

Abstract

Sharp periods for sequences avoiding their letterwise involutes An alphabet involution exchanges some pairs of letters and leaves the others fixed. Applied letter by letter to a word, it pairs most words with an involute. We determine the longest cyclic sequence that contains at most one word from each such pair as a window, and contains no fixed window. The elementary orbit-count bound is attained except in one precisely specified case: a fixed-point-free involution, windows of length two, and an odd number of exchanged letter pairs. In that case the exact maximum is one less than the bound. Let the alphabet contain \(k=f+2t\) letters, where \(f\ge0\) letters are fixed and \(t\ge0\) pairs are exchanged. Fix a window length \(n\ge2\). Windows are read cyclically, including across the end of the written sequence. A valid sequence has distinct length-\(n\) windows; whenever a window occurs, its letterwise involute does not. In particular, a window composed entirely of fixed letters is forbidden. The period may be shorter than \(n\), as allowed by the original question. For \(t>0\), the maximum period is \[\boxed{ L_{f,t}(n)=\frac{(f+2t)^n-f^n}{2} -\mathbf1_{\{f=0,\ n=2,\ t\text{ odd}\}}. } \] If \(t=0\), the involution is the identity and no nonempty sequence is allowed. This completely answers the letterwise-involution question following Mitchell–Wild, Definition 8.1 and §8. It does not claim the same answer for an arbitrary involution on the set of length-\(n\) tuples: such an involution need not respect window overlaps. The first term in the formula is unavoidable. There are \(k^n\) words, exactly \(f^n\) of which are fixed, and the remaining words form pairs. A valid sequence can use each pair at most once. The new issue is whether one representative from every pair can be arranged with the required consecutive overlaps and a closed seam. Why almost every orbit bound is attainable Represent a length-\(n\) word as a directed edge from its first \(n-1\) letters to its last \(n-1\) letters. Delete the fixed words and identify every vertex and edge with its involute, retaining parallel edges and loops as distinct objects. The resulting directed graph is balanced and strongly connected whenever \(t>0\). An Euler circuit therefore visits every allowed edge orbit exactly once. To obtain a literal cyclic word, that circuit must lift back to a closed walk on actual words. If a fixed letter exists, start at the vertex consisting of \(n-1\) copies of that letter. Its orbit has only one literal representative. Following the circuit and choosing compatible representatives necessarily returns to that representative, so the lifted circuit closes. This gives the orbit-count period for every \(f>0\), including involutions with more fixed letters than the modular-negation examples previously considered. When \(f=0\), write each letter as \((a,\varepsilon)\), where \(a\in\{1,\ldots,t\}\) names its exchanged pair and \(\varepsilon\in\mathbb F_2\) identifies the member of the pair. The involution changes \(\varepsilon\) to \(1+\varepsilon\). A word orbit is specified by the pair identities and the adjacent binary differences. Along a quotient edge, the first difference records whether the first bit of the lifted vertex changes. A closed quotient trail lifts to a closed literal trail exactly when the sum of these changes is even. Over all edge orbits, this total parity is \[t^n2^{n-2}\pmod2. \] It is even for every \(n\ge3\), and also when \(n=2\) and \(t\) is even. Any Euler circuit then has a closed lift and attains the full orbit count. At \(n=2\) with odd \(t\), every all-orbit circuit has odd parity and cannot close on its starting literal representative. This proves that at least one orbit must be omitted. Deleting a single loop represented by the two opposite members of one letter pair changes the parity to even while preserving balance and connectivity. The remaining Euler circuit closes after lifting, proving the exact loss of one. This is a construction for every exceptional alphabet size, rather than a finite-order observation. For example, with alphabet \(\{0,1,2,3,4,5\}\) and exchanged pairs \((0,1),(2,3),(4,5)\), the maximum at span two is 17, although there are 18 nonfixed word orbits. The cyclic word ``` 00203040533243445 ``` attains 17. Its adjacent windows, including the last-to-first window, use every orbit except the one containing \(01\) and \(10\). With three fixed letters \(0,1,2\) and one exchanged pair \((3,4)\), the span-two maximum is \((5^2-3^2)/2=8\), attained by `03132334`. Mitchell and Wild had established attainment for modular negation with one or two fixed letters and discussed the binary span-two exception. In the fixed-point-free binary case, the two-sheet lift and its parity test go back to Lempel's de Bruijn graph homomorphism and Hartke's subsequent treatment. The present classification keeps the identities of all exchanged pairs in the lift. It thereby covers every alphabet cycle type, identifies all further span-two exceptions, and gives a matching construction in each case. The construction is explicit through an Euler circuit of the finite quotient graph; no polynomial-in-\(n\) workspace or per-symbol delay bound is asserted.

Zenodo (CERN European Organization for Nuclear Research)
University of Glasgow (GB)
Advanced Combinatorial Mathematics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon