A1 Refereed original research article in a scientific journal

A Connection Between Unbordered Partial Words and Sparse Rulers




AuthorsSaarela, Aleksi; Vanhatalo, Aleksi

PublisherThe Electronic Journal of Combinatorics

Publication year2026

Journal: The Electronic Journal of Combinatorics

Article numberP1.40

Volume33

Issue1

ISSN1097-1440

eISSN1077-8926

DOIhttps://doi.org/10.37236/13806

Publication's open availability at the time of reportingOpen Access

Publication channel's open availability Open Access publication channel

Web address https://doi.org/10.37236/13806

Self-archived copy’s web addresshttps://research.utu.fi/converis/portal/detail/Publication/515762303

Self-archived copy's licenceCC BY

Self-archived copy's versionPublisher`s PDF


Abstract

Partial words are words that contain, in addition to letters, special symbols ♢ called holes. Two partial words a=a0…an and b=b0…bn are compatible if, for all i, ai=bi or at least one of ai,bi is a hole. A partial word is unbordered if it does not have a proper nonempty prefix and a suffix that are compatible. Otherwise, the partial word is bordered.

A set R⊆{0,…,n} is called a complete sparse ruler of length n if, for all k∈{0,…,n}, there exists r,s∈R such that k=r−s. These are also known as 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 the bounds on the maximum number of holes an unbordered partial word can have over alphabets of sizes 4 or greater. We also provide a counterexample for a previously reported theorem, depending on the reported values of the minimal number of marks in a length-135 ruler. We have not verified this value.

We then study a two-dimensional generalization of these results. We adapt methods from the one-dimensional case to solve the correct asymptotic for the number of holes that an unbordered two-dimensional binary partial word can have.


Downloadable publication

This is an electronic reprint of the original article.
This reprint may differ from the original in pagination and typographic detail. Please cite the original version.




Funding information in the publication
Authors were supported by the Academy of Finland under grants 339311 and 346566.


Last updated on 11/03/2026 01:23:36 PM