English

Gaps in the Thue--Morse word

Combinatorics 2021-11-19 v2 Number Theory

Abstract

The Thue--Morse sequence is a prototypical automatic sequence found in diverse areas of mathematics, and in computer science. We study occurrences of factors ww within this sequence, more precisely, the sequence of gaps between consecutive occurrences. This gap sequence is morphic; we prove that it is not automatic as soon as the length of ww is at least two, thereby answering a question by J.~Shallit in the affirmative. We give an explicit method to compute the \emph{discrepancy} of the number of occurrences of the block 01\mathtt{01} in the Thue--Morse sequence. We prove that the sequence of discrepancies is the sequence of output sums of a certain base-22 transducer.

Keywords

Cite

@article{arxiv.2102.01018,
  title  = {Gaps in the Thue--Morse word},
  author = {Lukas Spiegelhofer},
  journal= {arXiv preprint arXiv:2102.01018},
  year   = {2021}
}

Comments

36 pages. Accepted for publication in J. Aust. Math. Soc. This version is a significant extension of v1

R2 v1 2026-06-23T22:44:03.023Z