Comptes Rendus. Mathématique (Jan 2023)

Prefixes of the Fibonacci word that end with a cube

  • Rampersad, Narad

DOI
https://doi.org/10.5802/crmath.408
Journal volume & issue
Vol. 361, no. G1
pp. 323 – 330

Abstract

Read online

The Fibonacci word $\mathbf{f} = 010010100100101\cdots $ is one of the most well-studied words in the area of combinatorics on words. It is not periodic, but nevertheless contains many highly periodic factors (contiguous subwords). For example, it contains many cubes (i.e., non-empty words of the form $xxx$). We study the prefixes of the Fibonacci word that end with a cube. Using the computer prover Walnut, we obtain an exact description of the positions of the Fibonacci word at which a cube ends. This gives a certain measure of how close the Fibonacci word is to being periodic.