English

Shuffle Squares and Reverse Shuffle Squares

Combinatorics 2023-11-21 v2

Abstract

Let SSk(n)\mathcal{SS}_k(n) be the family of {\it shuffle squares} in [k]2n[k]^{2n}, words that can be partitioned into two disjoint identical subsequences. Let RSSk(n)\mathcal{RSS}_k(n) be the family of {\it reverse shuffle squares} in [k]2n[k]^{2n}, words that can be partitioned into two disjoint subsequences which are reverses of each other. Henshall, Rampersad, and Shallit conjectured asymptotic formulas for the sizes of SSk(n)\mathcal{SS}_k(n) and RSSk(n)\mathcal{RSS}_k(n) based on numerical evidence. We prove that SSk(n)=1n+1(2nn)kn(2n1n+1)kn1+On(kn2), \lvert \mathcal{SS}_k(n) \rvert=\dfrac{1}{n+1}\dbinom{2n}{n}k^n-\dbinom{2n-1}{n+1}k^{n-1}+O_n(k^{n-2}), confirming their conjecture for SSk(n)\mathcal{SS}_k(n). We also prove a similar asymptotic formula for reverse shuffle squares that disproves their conjecture for RSSk(n)\lvert \mathcal{RSS}_k(n) \rvert. As these asymptotic formulas are vacuously true when the alphabet size is small, we study the binary case separately and prove that SS2(n)(2nn)|\mathcal{SS}_2(n)| \ge \binom{2n}{n}.

Keywords

Cite

@article{arxiv.2109.12455,
  title  = {Shuffle Squares and Reverse Shuffle Squares},
  author = {Xiaoyu He and Emily Huang and Ihyun Nam and Rishubh Thaper},
  journal= {arXiv preprint arXiv:2109.12455},
  year   = {2023}
}

Comments

16 pp

R2 v1 2026-06-24T06:19:41.674Z