English

Periodic words, common subsequences and frogs

Probability 2021-06-07 v3 Combinatorics

Abstract

Let W(n)W^{(n)} be the nn-letter word obtained by repeating a fixed word WW, and let RnR_n be a random nn-letter word over the same alphabet. We show several results about the length of the longest common subsequence (LCS) between W(n)W^{(n)} and RnR_n; in particular, we show that its expectation is γWnO(n)\gamma_W n-O(\sqrt{n}) for an efficiently-computable constant γW\gamma_W. This is done by relating the problem to a new interacting particle system, which we dub "frog dynamics". In this system, the particles (`frogs') hop over one another in the order given by their labels. Stripped of the labeling, the frog dynamics reduces to a variant of the PushTASEP. In the special case when all symbols of WW are distinct, we obtain an explicit formula for the constant γW\gamma_W and a closed-form expression for the stationary distribution of the associated frog dynamics. In addition, we propose new conjectures about the asymptotic of the LCS of a pair of random words. These conjectures are informed by computer experiments using a new heuristic algorithm to compute the LCS. Through our computations, we found periodic words that are more random-like than a random word, as measured by the LCS.

Keywords

Cite

@article{arxiv.1912.03510,
  title  = {Periodic words, common subsequences and frogs},
  author = {Boris Bukh and Christopher Cox},
  journal= {arXiv preprint arXiv:1912.03510},
  year   = {2021}
}

Comments

43 pages, 4 figures, 2 tables

R2 v1 2026-06-23T12:38:55.238Z