English

Construction of orientable sequences in $O(1)$-amortized time per bit

Data Structures and Algorithms 2024-05-27 v3 Discrete Mathematics Information Theory Combinatorics math.IT

Abstract

An orientable sequence of order nn is a cyclic binary sequence such that each length-nn substring appears at most once \emph{in either direction}. Maximal length orientable sequences are known only for n7n\leq 7, and a trivial upper bound on their length is 2n12(n1)/22^{n-1} - 2^{\lfloor(n-1)/2\rfloor}. This paper presents the first efficient algorithm to construct orientable sequences with asymptotically optimal length; more specifically, our algorithm constructs orientable sequences via cycle-joining and a successor-rule approach requiring O(n)O(n) time per bit and O(n)O(n) space. This answers a longstanding open question from Dai, Martin, Robshaw, Wild [Cryptography and Coding III (1993)]. Applying a recent concatenation-tree framework, the same sequences can be generated in O(1)O(1)-amortized time per bit using O(n2)O(n^2) space. Our sequences are applied to find new longest-known (aperiodic) orientable sequences for n20n\leq 20.

Keywords

Cite

@article{arxiv.2401.14341,
  title  = {Construction of orientable sequences in $O(1)$-amortized time per bit},
  author = {Daniel Gabric and Joe Sawada},
  journal= {arXiv preprint arXiv:2401.14341},
  year   = {2024}
}
R2 v1 2026-06-28T14:27:20.293Z