English

Testing k-binomial equivalence

Formal Languages and Automata Theory 2017-01-19 v2

Abstract

Two words w1w_1 and w2w_2 are said to be kk-binomial equivalent if every non-empty word xx of length at most kk over the alphabet of w1w_1 and w2w_2 appears as a scattered factor of w1w_1 exactly as many times as it appears as a scattered factor of w2w_2. We give two different polynomial-time algorithms testing the kk-binomial equivalence of two words. The first one is deterministic (but the degree of the corresponding polynomial is too high) and the second one is randomised (it is more direct and more efficient). These are the first known algorithms for the problem which run in polynomial time.

Keywords

Cite

@article{arxiv.1509.00622,
  title  = {Testing k-binomial equivalence},
  author = {Dominik D. Freydenberger and Pawel Gawrychowski and Juhani Karhumäki and Florin Manea and Wojciech Rytter},
  journal= {arXiv preprint arXiv:1509.00622},
  year   = {2017}
}
R2 v1 2026-06-22T10:47:17.151Z