Recovering Oriented Window Counts on Circular Words
· 6 pages · CC BY 4.0
Abstract
Read a window of width w from every site of a circular word of length n. Pool each window with the word formed by reversing it and applying a fixed letter involution θ. We determine when the pooled counts recover the oriented counts up to one global application of the same operation. For nonidentity θ, recovery is guaranteed exactly when n < 2w. Ordinary reversal allows n ≤ 2w + 1 and has extra cases for unary alphabets and small widths. A switch on an Euler circuit reduces the proof to an overlap between two end contexts. At the boundary, they leave a single middle letter unpaired.
Main results
Theorem 1
Fix a finite nonempty alphabet Σ, a letter involution θ on Σ, and integers 1 ≤ w ≤ n. Equal width-w folded histograms imply that Cw(A) equals either Cw(B) or τCw(B) for every pair of length-n circular words A and B if and only if the parameters satisfy the condition below:
| Folding rule and alphabet | Condition for recovery |
|---|---|
| Nonidentity θ | n < 2w |
| Ordinary reversal, |Σ| ≥ 3 | w = 1 or n ≤ 2w + 1 |
| Ordinary reversal, binary, w ≤ 3 | All lengths |
| Ordinary reversal, binary, w = 4 | n ≤ 11 |
| Ordinary reversal, binary, w ≥ 5 | n ≤ 2w + 1 |
| One letter | All lengths |
Keywords
Circular words, reversal, w-Abelian equivalence, de Bruijn graphs, Euler circuits, combinatorics, graph theory, bidirected graphs
BibTeX
@misc{duncan2026circularwords,
author = {Duncan, Daniel},
title = {{Recovering Oriented Window Counts on Circular Words}},
year = {2026},
month = nov,
publisher = {Zenodo},
doi = {10.5281/zenodo.24489517},
url = {https://doi.org/10.5281/zenodo.24489517},
howpublished = {\url{https://danielduncanresearch.com/papers/recovering-oriented-window-counts/}},
keywords = {Circular words, reversal, w-Abelian equivalence, de Bruijn graphs, Euler circuits, combinatorics, graph theory, bidirected graphs},
copyright = {Creative Commons Attribution 4.0 International}
}