Paperlane

no. 20 · Monday 23 November 2026

Avoiding squares over words with lists of size three

Matthieu Rosenfeld

math.CO

Abstract

We prove that every sequence of lists of size three admits an infinite square-free word, establishing that the Thue choice number of the path is three. More precisely, the number of compatible square-free words of length $n$ is at least $c(5/4)^n$, where $c>0$ is an absolute constant. The proof combines a computer-assisted construction of weights with the weighted counting method previously introduced by the author. We first consider words avoiding only squares of bounded period and use a finite state model to certify a uniform lower bound on their growth. The counting argument then controls the loss caused by excluding longer squares. The main new ingredient is a coarser description of the states, which makes the computation feasible without restricting the union of the lists. The same computation yields a deterministic polynomial-time strategy for constructing an infinite square-free word when each list is chosen adversarially after the preceding letters have been fixed.

fields
Combinatorics