Asymptotically Sharp Bounds for Zero-Cyclic Equalization of Binary Words
We study simultaneous insertion of zeros into two binary words of equal length and Hamming weight, to make the resulting words equal up to cyclic rotation. Using cyclic $0$-gap vectors, we formulate the problem as an integral transport problem on a directed multigraph. For binary words $u, v \in \{0, 1\}^n$ of common Hamming weight $w \ge 1$, we show that the minimum number $K_0(u, v)$ of zeros that must be inserted into each word satisfies $K_0(u, v) \le (w-1)(n-w)$. The case $w = 0$ is trivial. For $w \ge 1$, we give an $O(nw)$-time algorithm that recovers an insertion vector satisfying this bound, together with an explicit family whose lower bound matches the quadratic leading term of the upper bound. Consequently, the worst-case minimum insertion number is $n^2/4+O(n)$, so the leading constant $1/4$ is optimal.
Authors
- Haruyuki Kawabe
Publication Details
- Journal
- arXiv
- Published
- 2026-12-03
- Primary Topic
- Algorithms and Data Compression
- Type
- preprint