Additive Squares

Does a bi-infinite additive-square-free word exist?

An additive square is a pair of adjacent blocks of the same length with the same sum, like [3 0 4] [2 5 0]. An open problem, posed independently by Pirillo–Varricchio (1994) and Halbeisen–Hungerbühler (2000), asks: is there an infinite word over a finite set of integers containing no additive square? Equivalently: is there a Lipschitz function f : ℤ → ℤ whose graph contains no nontrivial three-term arithmetic progression? (The letters are the increments f(n+1) − f(n).)

No such word exists over any alphabet of 3 or fewer integers, and the question is open for alphabets of size 5. This site tracks, for each alphabet, the longest known finite word avoiding additive squares — and, where an exhaustive search has settled it, the exact maximum.

Records

1251020125102050100200500100020005000 ≈ 4.5 d² alphabet diameter (log) → record word length (log) → {0, 1, 2, 3, 4}: length 99 {0, 1, 2, 3, 5}: length 144 {0, 1, 2, 4, 5}: length 148 {0, 1, 2, 4, 7}: length 317 {0, 1, 2, 4, 8}: length 331 {0, 1, 3, 7}: length 106 {0, 1, 3, 7, 12}: length 607 {0, 1, 3, 7, 15}: length 896 {0, 1, 4, 9, 18}: length 1506 {0, 1, 5, 11, 22}: length 1997 {0, 2, 7, 21, 36}: length 6212 {0, 1, 2, 3}: length 50 (closed: max = 50) {0, 1, 2, 4}: length 62 (closed: max = 62) {0, 1, 2, 5}: length 86 (closed: max = 86) {0, 1, 3, 4}: length 55 (closed: max = 55) {0, 1, 4, 5}: length 55 (closed: max = 55) {0, 2, 3, 5}: length 55 (closed: max = 55)

One point per canonical alphabet: the longest verified additive-square-free word against the alphabet’s diameter (max letter − min letter). Squares are closed alphabets whose exact maximum is known. The dashed line is an empirical guide, not a theorem. Browse the full table →

alphabetsizediameterrecordstatus
{0, 2, 7, 21, 36} 536 6212 open
{0, 1, 5, 11, 22} 522 1997 open
{0, 1, 4, 9, 18} 518 1506 open
{0, 1, 3, 7, 15} 515 896 open
{0, 1, 3, 7, 12} 512 607 open
{0, 1, 2, 4, 8} 58 331 open
{0, 1, 2, 4, 7} 57 317 open
{0, 1, 2, 4, 5} 55 148 open
{0, 1, 2, 3, 5} 55 144 open
{0, 1, 3, 7} 47 106 open

Submit a word

Paste a word: integers separated by spaces, commas, or line breaks. The word is checked exactly, then normalized — translating, scaling, and reflecting an alphabet gives an equivalent word, so records are kept per canonical alphabet (minimum 0, gcd 1, lexicographically ≤ its mirror). A record is set when your word is strictly longer than the alphabet’s current best.

max 20,000 letters per submission · or use the API