login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Numbers n for which there is an extremal ternary word of length n.
1

%I #34 May 07 2022 10:00:08

%S 25,41,48,50,63

%N Numbers n for which there is an extremal ternary word of length n.

%C A ternary word is one over a three-letter alphabet, such as {0,1,2}. Such a word is called "squarefree" if it contains no sub-block of the form XX, where X is a nonempty contiguous block. A word x is extremal if it is squarefree, but every possible insertion of a single letter, that is, every word of the form x' a x'' with x = x' x'', a in {0,1,2}, is not squarefree.

%C The Grytczuk paper proves there are arbitrarily long extremal words.

%D Jaroslaw Grytczuk, Hubert Kordulewski, Artur Niewiadomski, Extremal Square-Free Words, Electronic J. Combinatorics, 27 (1), 2020, #1.48.

%H J. Grytczuk, H. Kordulewski, and A. Niewadomski, <a href="https://arxiv.org/abs/1910.06226">Extremal square-free words</a>, arxiv preprint arXiv:1910.06226v1 [math.CO], October 14 2019.

%e The smallest extremal word is of length 25, which is 0120102120121012010212012 and is unique up to renaming of the letters. The next smallest are of length 41, and there are two (up to renaming), namely 01021012021020121021201021012021020121021 and 02102012102120102101202102012102120102101. The next is of length 48, and is unique (up to renaming): 010212012102010212012101202120121020102120121020. The next is of length 50 and is unique (up to renaming): 01021201021012021020121012021201021012021020121020.

%e The next smallest are of length 63, and there are two (up to renaming): 010210120210201021202102012102120102101202102010212021020121021, 012010212012101202120121020120210120102120121012021201210201202. - _Michael S. Branicky_, May 06 2022

%e For lengths 25, 41, 48, 50, and 63, there is a unique extremal word up to both renaming and reversal. - _Pontus von Brömssen_, May 07 2022

%Y Cf. A006156, A332605.

%K nonn,more

%O 1,1

%A _Jeffrey Shallit_, Oct 20 2019

%E a(5) from _Michael S. Branicky_, May 06 2022