English

On universal partial words

Combinatorics 2023-06-22 v5 Formal Languages and Automata Theory Information Theory math.IT

Abstract

A universal word for a finite alphabet AA and some integer n1n\geq 1 is a word over AA such that every word in AnA^n appears exactly once as a subword (cyclically or linearly). It is well-known and easy to prove that universal words exist for any AA and nn. In this work we initiate the systematic study of universal partial words. These are words that in addition to the letters from AA may contain an arbitrary number of occurrences of a special `joker' symbol A\Diamond\notin A, which can be substituted by any symbol from AA. For example, u=0011100u=0\Diamond 011100 is a linear partial word for the binary alphabet A={0,1}A=\{0,1\} and for n=3n=3 (e.g., the first three letters of uu yield the subwords 000000 and 010010). We present results on the existence and non-existence of linear and cyclic universal partial words in different situations (depending on the number of \Diamonds and their positions), including various explicit constructions. We also provide numerous examples of universal partial words that we found with the help of a computer.

Keywords

Cite

@article{arxiv.1601.06456,
  title  = {On universal partial words},
  author = {Herman Z. Q. Chen and Sergey Kitaev and Torsten Mütze and Brian Y. Sun},
  journal= {arXiv preprint arXiv:1601.06456},
  year   = {2023}
}
R2 v1 2026-06-22T12:35:44.693Z