Student or educator? Sign up with your school email and get 6 months of Pro free.
Cited by 13semigroups and automata theoryComputability, Logic, AI AlgorithmsAlgorithms and Data Compression

The DOI matches its Crossref record; 10 of the 10 references it cites were found in a registry or an index; none of the 8 sources its claims cite is checked for support yet.

Avoiding squares and overlaps over the natural numbers

Open access
Guay-Paquet, Mathieu, Shallit, Jeffrey·2009·Discrete Mathematics

Abstract

We consider avoiding squares and overlaps over the natural numbers, using a greedy algorithm that chooses the least possible integer at each step; the word generated is lexicographically least among all such infinite words. In the case of avoiding squares, the word is 01020103..., the familiar ruler function, and is generated by iterating a uniform morphism. The case of overlaps is more challenging. We give an explicitly-defined morphism @f:N^*->N^* that generates the lexicographically least infinite overlap-free word by iteration. Furthermore, we show that for all h,[email protected]?N with [email protected]?k, the word @f^k^-^h(h) is the lexicographically least overlap-free word starting with the letter h and ending with the letter k, and give some of its symmetry properties.

Overview

CoChat Summary

TL;DR

The paper studies greedy no-backtracking generation of lexicographically least infinite words over \(\mathbb N\) avoiding squares and overlaps. It identifies the squarefree case as the ruler sequence generated by a simple morphism, and constructs an explicit overlap-free morphism whose fixed point is the lexicographically least overlap-free word, with length, frequency, and symmetry properties.

Key findings

  • For squares, the lexicographically least infinite squarefree word over \(\mathbb N\) is \(w_2=01020103\cdots\), the ruler sequence (Sloane A007814), equal to \(\gamma^\omega(0)\) for \(\gamma(i)=0\cdot(i+1)\); \(w_2[i]=\nu_2(i)\), the exponent of the highest power of 2 dividing \(i\).
  • For overlaps, the lexicographically least infinite overlap-free word is \(w_{2^+}=\varphi^\omega(0)\), where \(\varphi(0)=001\), \(\varphi(1)=1001002\), \(\varphi(2)=200100110010020010011001003\ldots\); the morphism \(\varphi\) is overlap-free and irreducible.
  • For all \(0\le h\le k\), the lexicographically least overlap-free word starting with \(h\) and ending with \(k\) is \(\psi(h,k)=\varphi^{k-h}(h)\). Lengths include \(a(0,k)=1,3,13,79,633,6331\) for \(k=0,\dots,5\), and \(|\varphi(h)|=3,7,27,159,1267,\ldots\), with \(|\varphi(h)|=a(h,h+1)=2a(0,h)+1\).
  • The letter \(k\) occurs in \(w_{2^+}\) with limiting frequency \(1/(2^k k!\sqrt e)\); symmetry results include \(S^{-1}(\psi(0,k))=R(\psi(0,k))\), \(\psi(0,k)\cdot k^{-1}\) is a palindrome, and \(\varphi\) commutes with its reversed morphism.

Methods

  • Theoretical combinatorics on words: defines a no-backtracking greedy algorithm over \(\mathbb N\) and the notions of irreducibility of words and morphisms with respect to a pattern.
  • No empirical data or sample; the work constructs morphisms \(\gamma\) and \(\varphi_h/\varphi\) and proves properties by induction, using a left inverse \(\rho\) for \(\gamma\) and block decompositions for \(\varphi_h\).
  • Main analysis proves squarefree/overlap-free and irreducible properties, derives recurrences for lengths \(a(h,k)\) and letter counts \(d(h,k)=2^{k-h}k!/h!\), and establishes limiting letter frequencies.

Limitations

  • Stated: fractional powers are harder; it is not even clear that an infinite alphabet is needed, and the first million letters of \(w_{5/2}\), the lexicographically least infinite word over \(\mathbb N\) avoiding all powers with exponent \(\ge 5/2\), are all in \(\{0,1,2\}\).
  • Stated: the proofs are presented for squares and overlaps, though they can be extended to arbitrary \(n\)th powers and \((n+)\)-powers; for finite alphabet \(\Sigma_3\), it is not known whether the number of positions one has to backtrack is bounded.
  • Evident from the text: the main overlap result is over the infinite alphabet \(\mathbb N\) and relies on the no-backtracking algorithm, so finite-alphabet analogues and backtracking complexity are not settled here.

Model-written summary. Check it against the paper before relying on it.

Integrity signals

Registry

Crossref · 10.1016/j.disc.2009.06.004

Cites

10 of 10 references verified0 citation errors · 0 not checkable

Statistics

Nothing to recompute.

Verification

Claims the paper makes

0 Valid · 4 Not valid · 4 Not checked · 32 Own results and interpretations

19 more claims

Create a free account to see all 40 claims and to verify the 5 references still open.

See all claims — free account
  • It may state two separate claims as one. 7
  • The quote only partly states this claim. 1
  • Probably not a substantial claim. 9

Create a free account to see these claims.

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Citations

Cites

Show all 10 references

Research works printed but not linked: 2

  1. Thue, 1906, Über unendliche Zeichenreihen, Norske vid. Selsk. Skr. Mat. Nat. Kl., 7, 1
  2. Thue, 1912, Über die gegenseitige Lage gleicher Teile gewisser Zeichenreihen, Norske vid. Selsk. Skr. Mat. Nat. Kl., 1, 1

Cited by

See all 13

Metadata

Authors
Guay-Paquet, M., & Shallit, J.
Affiliations
University of Waterloo (CA)
Venue
Discrete Mathematics
Publisher
Elsevier BV
Published
2009-11
Volume
309
Issue
21
Pages
6245-6254
ISSN
0012-365X (ISSN-L)
OpenAlex
W2079923544
Cited by
13
References
10
Citations by year
2023: 2 · 2020: 2 · 2018: 1 · 2017: 1 · 2016: 3 · 2014: 3 · 2012: 1
FWCI
0.35
Type
journal article
Language
en
Open access
Licence
Locations
  • Discrete Mathematics (publishedVersion)
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Funders
Natural Sciences and Engineering Research Council of Canada
Topics
  • Physical Sciences › Computer Science › Computational Theory and Mathematics › semigroups and automata theory
  • Physical Sciences › Computer Science › Computational Theory and Mathematics › Computability, Logic, AI Algorithms
  • Physical Sciences › Mathematics › Theoretical Computer Science › Algorithms and Data Compression
Keywords
square-free words, overlap-free words, infinite words, greedy algorithm, morphisms, natural numbers

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

A language model drew the claims from the paper on 2026-11-14, under version 3 of the claim definition (model deepseek-v4.1-flash, prompt extract-v3).

A second model labelled each claim on 2026-11-14 (model jev-1.13-20260917, definition revision gold-guideline-v0.2).

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

How to cite

Cite CoChat for the checks on this page, and the paper for its own findings.

This page
CoChat. (2026). Citation check: Avoiding squares and overlaps over the natural numbers. https://app.cochat.ai/papers/10.1016/j.disc.2009.06.004
The paper
Guay-Paquet, M., & Shallit, J. (2009). Avoiding squares and overlaps over the natural numbers. Discrete Mathematics. https://doi.org/10.1016/j.disc.2009.06.004

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.