Alternating extreme extensions can produce a genuine universal cycle

A greedy rule that alternates between the smallest and largest available extensions can generate a universal cycle. For ordinary binary words of length three, starting from \(11\) and taking the smallest available bit first gives the cycle \(11010001\). Its eight cyclic windows contain every binary triple exactly once. This answers the existential question posed after a failed example with three symbols and windows of length two. Kitaev and Qiu, §3, second paragraph, printed p. 319 For an ordered alphabet \(A_k=\{0,\ldots,k-1\}\) of size \(k\ge2\) and window length \(n\ge2\), start with a seed of \(n-1\) symbols and an empty set of used words. At each step, a symbol is available if appending it to the current suffix of length \(n-1\) gives a word of length \(n\) outside that set. Append the smallest available symbol at odd-numbered steps and the largest at even-numbered steps, then record the new word as used. A forced move still counts as a step. Stop when the current suffix has no available extension. A universal cycle for this family has \(k^n\) symbols and contains each word of length \(n\) exactly once in its consecutive windows, including those that wrap around the end. With \(k=2\), \(n=3\) and seed \(11\), the appended bits are \(01000111\), giving the linear word \(1101000111\). Its successive windows are \[110,\quad101,\quad010,\quad100,\quad000,\quad001,\quad011,\quad111. \] The final two bits repeat the seed, so deleting them leaves a circle with precisely these windows. At this width, the other two successful seeds with the smallest bit first are \(00\) and \(01\), which give the full linear words \(0001011100\) and \(0101110001\), respectively. The seed \(10\) stops after seven windows at \(100101110\). Replacing each bit \(b\) by \(1-b\) exchanges the rules for starting with the smallest and largest available bit. At width two, the original convention of starting from the largest symbol and taking the smallest extension first fails for every \(k\ge2\). Write \(z=k-1\). For each \(i=0,\ldots,z-1\) in increasing order, the rule forms the pairs \((z,i)\) and \((i,z)\), then forms \((z,z)\) and stops. Each visit to a smaller symbol comes on an even step's turn to extend, so its first exit takes the largest symbol and returns to \(z\). The resulting \(2k-1\) windows exhaust the pairs involving \(z\) and leave all \((k-1)^2\) pairs of smaller symbols unused. At \(k=3\) this gives the original stopped word \(202122\). The binary witness and the width-two obstruction leave the general classification by alphabet size and window length open.

Authors

Institutions

Publication Details

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

Alternating extreme extensions can produce a genuine universal cycle

Zixuan He
Zenodo (CERN European Organization for Nuclear Research)
semigroups and automata theory
preprint

Alternating extreme extensions can produce a genuine universal cycle

Zixuan He
preprint en

Abstract

A greedy rule that alternates between the smallest and largest available extensions can generate a universal cycle. For ordinary binary words of length three, starting from \(11\) and taking the smallest available bit first gives the cycle \(11010001\). Its eight cyclic windows contain every binary triple exactly once. This answers the existential question posed after a failed example with three symbols and windows of length two. Kitaev and Qiu, §3, second paragraph, printed p. 319 For an ordered alphabet \(A_k=\{0,\ldots,k-1\}\) of size \(k\ge2\) and window length \(n\ge2\), start with a seed of \(n-1\) symbols and an empty set of used words. At each step, a symbol is available if appending it to the current suffix of length \(n-1\) gives a word of length \(n\) outside that set. Append the smallest available symbol at odd-numbered steps and the largest at even-numbered steps, then record the new word as used. A forced move still counts as a step. Stop when the current suffix has no available extension. A universal cycle for this family has \(k^n\) symbols and contains each word of length \(n\) exactly once in its consecutive windows, including those that wrap around the end. With \(k=2\), \(n=3\) and seed \(11\), the appended bits are \(01000111\), giving the linear word \(1101000111\). Its successive windows are \[110,\quad101,\quad010,\quad100,\quad000,\quad001,\quad011,\quad111. \] The final two bits repeat the seed, so deleting them leaves a circle with precisely these windows. At this width, the other two successful seeds with the smallest bit first are \(00\) and \(01\), which give the full linear words \(0001011100\) and \(0101110001\), respectively. The seed \(10\) stops after seven windows at \(100101110\). Replacing each bit \(b\) by \(1-b\) exchanges the rules for starting with the smallest and largest available bit. At width two, the original convention of starting from the largest symbol and taking the smallest extension first fails for every \(k\ge2\). Write \(z=k-1\). For each \(i=0,\ldots,z-1\) in increasing order, the rule forms the pairs \((z,i)\) and \((i,z)\), then forms \((z,z)\) and stops. Each visit to a smaller symbol comes on an even step's turn to extend, so its first exit takes the largest symbol and returns to \(z\). The resulting \(2k-1\) windows exhaust the pairs involving \(z\) and leave all \((k-1)^2\) pairs of smaller symbols unused. At \(k=3\) this gives the original stopped word \(202122\). The binary witness and the width-two obstruction leave the general classification by alphabet size and window length open.

Zenodo (CERN European Organization for Nuclear Research)
University of Glasgow (GB)
semigroups and automata theory
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