English

Variations on shuffle squares

Combinatorics 2024-07-02 v2

Abstract

We study decompositions of words into subwords that are in some sense similar, which means that one subword may be obtained from the other by a relatively simple transformation. Our main inspiration are shuffle squares, an intriguing class of words arising in various contexts, from purely combinatorial to more applied, like modeling concurrent processes or DNA sequencing. These words can be split into two parts that are just identical. For example, ACTACATAGGACTACATAGG is a shuffle square consisting of two copies of the word ACTAGACTAG. Of course, each letter must appear any even number of times in each shuffle square. We call words with that property even. We mainly discuss new problems concerning generalized shuffle squares. We propose a number of conjectures and provide some initial results towards them. We prove that every binary word is a cyclic shuffle square, meaning that it splits into two subwords, one of which is a~cyclic permutation of the other. The same statement is no longer true over larger alphabets, but it seems plausible that a similar property should hold with slightly less restricted permutation classes. For instance, we conjecture that every even ternary word is a dihedral shuffle square, which means that it splits into two subwords, one of which can be obtained from the other by a permutation corresponding to the~symmetry of a~regular polygon. We propose a general conjecture stating that a linear number of permutations is sufficient to express all even kk-ary words as generalized shuffle squares. Our discussion is complemented by some enumerative and computational experiments. In particular, we disprove our former conjecture stating that every even binary word can be turned into a shuffle square by a cyclic permutation. The smallest counterexample has length 2424. We call words of this type shuffle anti-squares. We determined all of them up to the length 2828.

Keywords

Cite

@article{arxiv.2308.13882,
  title  = {Variations on shuffle squares},
  author = {Jarosław Grytczuk and Bartłomiej Pawlik and Mariusz Pleszczyński},
  journal= {arXiv preprint arXiv:2308.13882},
  year   = {2024}
}

Comments

18 pages, 4 figures

R2 v1 2026-06-28T12:05:03.820Z