### Current browse context:

math.CO

### Change to browse by:

### References & Citations

# Mathematics > Combinatorics

# Title: Gaps in the Thue--Morse word

(Submitted on 1 Feb 2021 (v1), last revised 18 Nov 2021 (this version, v2))

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 $w$ 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 $w$ 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 $\mathtt{01}$ in the Thue--Morse sequence. We prove that the sequence of discrepancies is the sequence of output sums of a certain base-$2$ transducer.

## Submission history

From: Lukas Spiegelhofer [view email]**[v1]**Mon, 1 Feb 2021 17:48:45 GMT (15kb)

**[v2]**Thu, 18 Nov 2021 11:51:33 GMT (38kb)

Link back to: arXiv, form interface, contact.