English

A Connection Between Unbordered Partial Words and Sparse Rulers

Combinatorics 2024-09-02 v2 Formal Languages and Automata Theory

Abstract

Partial words\textit{Partial words} are words that contain, in addition to letters, special symbols \diamondsuit called holes\textit{holes}. Two partial words of a=a0ana=a_0 \dots a_n and b=b0bnb=b_0 \dots b_n are compatible\textit{compatible} if for all ii, ai=bia_i = b_i or at least one of ai,bia_i, b_i is a hole. A partial word is unbordered\textit{unbordered} if it does not have a nonempty proper prefix and a suffix that are compatible. Otherwise the partial word is bordered\textit{bordered}. A set R{0,,n}R \subseteq \{0, \dots, n\} is called a \textit{complete sparse ruler of length n} if for all k{0,,n}k \in \{0, \dots, n\} there exists r,sRr, s \in R such that k=rsk = r - s. These are also known as restricted difference bases\textit{restricted difference bases}. From the definitions it follows that the more holes a partial word has, the more likely it is to be bordered. By introducing a connection between unbordered partial words and sparse rulers, we improve bounds on the maximum number of holes an unbordered partial word can have over alphabets of sizes 44 or greater. We also provide a counterexample for a previously reported theorem. We then study a two-dimensional generalization of these results. We adapt methods from one-dimensional case to solve the correct asymptotic for the number of holes an unbordered two-dimensional binary partial word can have. This generalization might invoke further research questions.

Keywords

Cite

@article{arxiv.2408.16335,
  title  = {A Connection Between Unbordered Partial Words and Sparse Rulers},
  author = {Aleksi Saarela and Aleksi Vanhatalo},
  journal= {arXiv preprint arXiv:2408.16335},
  year   = {2024}
}
R2 v1 2026-06-28T18:27:23.430Z