Additive-square-free infinite words over a finite set of integers
On this page15 sections
Rated against the accepted literature, not the unrefereed claim. Difficulty 45: a question open since the 1970s whose existence part a 2026 preprint says is now answered, with the exact minimum (4, 5 or 6) still unknown. Application value 3: no foreseeable practical use. Leverage 18: it matters for additive Ramsey-type questions about bounded sequences in one subfield, and little else depends on the answer.
The problem
Can an endless string of whole numbers avoid two adjacent chunks of equal length and equal sum? A 2026 preprint says yes, with six numbers.
- 1Can integers avoid equal-sum adjacent blocks?
- 2At least four needed (abelian squares)
- 3Cubes avoided over four symbols (2011)
- 4Preprint: six integers by substitution
- 5Claimed Lean check, not rebuilt by DAH
- 6Open: is it 4, 5 or 6?
The question. Let be a finite set of integers and an infinite word over . An additive square in is two adjacent nonempty blocks of the same length and the same sum: . For example 1423 is one, since . Is there a finite and an with no additive square, and what is the least size of such an ?
What is known. If two blocks contain the same letters in a different order (an abelian square) their sums agree, so every abelian square is additive. Three letters cannot avoid abelian squares, so any additive-square-free word needs at least four integers. Brown and Freedman (1987) conjectured that every bounded sequence of positive integers contains an additive square, which would have made the answer no. The problem was also posed by Justin (1972), Pirillo and Varricchio (1994) and Halbeisen and Hungerbühler (2000), as the 2026 note cites them. For additive cubes (three adjacent blocks), Cassaigne, Currie, Schaeffer and Shallit built a word over four symbols avoiding them in 2011.
The 2026 claim. Shallit's arXiv note 2611.24441 gives an explicit word over six positive integers. In outline: build an auxiliary word as the fixed point of a substitution that turns each letter into a block of integers, whose residues modulo a fixed number are arranged so that the start, middle and end of any square must sit at the same offset in their blocks. The sums then give a square in of half-length , contradicting minimality (descent). Then encode into six values using a four-symbol word of Keränen's, which has no adjacent abelian-equivalent blocks of the relevant lengths, so a square in the final word would give a square in . The six values are huge numbers built from and .
Why DAH is careful. The proof is short but dense, and the note says it was almost entirely written by GPT 6.2 Astra; the author says he takes responsibility for it. A Lean verification is said to be available, but DAH has not downloaded or built it, and has not re-run any check. A Lean theorem is only as good as its statement, so the statement has to be compared with the definition above. The note itself says the least number of integers is 4, 5 or 6, and leaves open which.
Try it. In Python, write a function that tests a finite list for an additive square by prefix sums (compare with for all ). Search by backtracking for the longest word over three, four or five small integers that has none, and see how long it can get.
Go deeper
The full technical text.
An additive square in a word of integers is two adjacent nonempty blocks of equal length and equal sum (for example 1423, since ). Is there an infinite word over a finite set of integers with no additive square, and if so what is the least size of such a set? Every abelian square is an additive square and three letters cannot avoid abelian squares, so whenever it exists. Brown and Freedman (1987) conjectured that every bounded sequence of positive integers contains an additive square, which would make the answer "no".
Words on this page (9)
- additive square
- Two adjacent nonempty blocks of integers with equal length and equal sum, such as 14 followed by 23.
- abelian square
- Two adjacent blocks with the same letters in any order; every abelian square is an additive square.
- additive cube
- Three adjacent blocks with the same length and the same sum, avoidable over four symbols (2011).
- prefix sum
- The total of the first n terms of a sequence; block sums are differences of prefix sums.
- substitution (morphism)
- A rule replacing each letter by a fixed block of letters; iterating it builds an infinite word.
- descent argument
- A proof that assumes a smallest counterexample exists and shows it implies a smaller one, which is impossible.
- Walnut
- Software that decides statements about automatic sequences; not used in the 2026 note.
- Lean
- A proof assistant: a program that checks a mathematical proof written in a formal language.
- preprint
- A paper posted publicly before independent experts have refereed it.
New to this? Read first (3)
- Shallit: An additive-square-free word over an alphabet of size 6The 2026 preprint; the introduction and Section 8 state the problem and what is open.
- Cassaigne, Currie, Schaeffer, Shallit: Avoiding three consecutive blocks of the same size and same sumThe 2011 cube result and how it was found.
- Wikipedia: Square-free wordGentle background on avoiding repetitions in words.
Start with Pattern avoidance in infinite words. No foundations are linked to it yet.
State of the art
Open as far as the accepted literature goes; one unrefereed claim of existence with . Cassaigne, Currie, Schaeffer and Shallit (2011) showed that additive cubes can be avoided over four symbols, which is the nearest refereed-literature result DAH found. On 18 November 2026 Shallit posted arXiv:2611.24441 (v1), a short note whose abstract describes it as answering a problem open for more than 50 years: it gives an explicit infinite word over six positive integers with no additive square. The word is built in two steps, an auxiliary word obtained by iterating a substitution with blocks of length and a descent argument (a square would give one of half-length divided by ), then an encoding through a four-symbol word from Keränen's substitution using a result of Peltomäki and Whiteland on abelian squares. The note says it was almost entirely written by GPT 6.2 Astra, that the author takes full responsibility for its correctness, and that a Lean verification, also produced by that model, is available as a zip file. The note itself says the optimal alphabet size is 4, 5 or 6 and that it remains to determine which. If the construction is correct it contradicts the Brown–Freedman conjecture as the note quotes it, although the note does not say so explicitly. DAH has read the full text but has not checked the proofs, downloaded the Lean project or re-run anything. The status stays OPEN.
Realistic applications
None foreseeable. The question concerns the structure of integer sequences; methods for building and machine-checking such words (substitutions, automatic sequences, Walnut, Lean) are reused elsewhere in combinatorics on words.
What counts as solved
For existence, a proof that is accepted by experts or published after refereeing, or a machine-checked proof whose statement matches the definition of additive square above (adjacent nonempty blocks of equal length and equal sum) for an infinite word over a finite set of integers. For the minimum alphabet size, an additive-square-free word over 4 or 5 integers together with a proof that fewer do not suffice.
How it gets verified
To verify: Lean proofA formal proof checked by Lean 4 / Mathlib.
The note says the construction has a Lean verification, also produced by GPT 6.2 Astra, in a zip file hosted on the author's university page (the address is in Section 9 of the note; DAH did not open it). A verifier unzips it, runs sh check.sh, and confirms that the build succeeds with no sorry and only the standard axioms (#print axioms), and that the main theorem named in the note, AddSquare.Six.six_letter_counterexample in AdditiveSquare.lean, states exactly this: an infinite word over six positive integers such that no two adjacent nonempty blocks have equal length and equal sum. The definitions of the word (the alphabet, the 85-symbol word, the substitution, the labelling rule) and of "additive square" must be read against Section 2 of the note, since a Lean theorem can be true of a weaker object than the one claimed. A hand review of Sections 3 to 6 of the note is the independent check.
Claims
Connected problems
No connected problems.
Progress
- Nov 18, 2026Shallit: preprint claims a six-letter additive-square-free wordsource
Claims an explicit infinite word over six positive integers, with a hand proof and a Lean verification said to be written by GPT 6.2 Astra. The note leaves open whether 4 or 5 integers suffice. Unrefereed.
- Jun 26, 2011Additive cubes avoided over four symbolssource
Cassaigne, Currie, Schaeffer and Shallit construct an infinite word over four symbols with no additive cube.
- Jan 1, 1987Brown and Freedman: conjecture for bounded sequencessource
They conjectured that every bounded sequence of positive integers contains an additive square (pages 595-596 of their paper, as cited in the 2026 note).