English

Counting Lyndon Subsequences

Combinatorics 2021-07-14 v2 Discrete Mathematics

Abstract

Counting substrings/subsequences that preserve some property (e.g., palindromes, squares) is an important mathematical interest in stringology. Recently, Glen et al. studied the number of Lyndon factors in a string. A string w=uvw = uv is called a Lyndon word if it is the lexicographically smallest among all of its conjugates vuvu. In this paper, we consider a more general problem "counting Lyndon subsequences". We show (1) the maximum total number of Lyndon subsequences in a string, (2) the expected total number of Lyndon subsequences in a string, (3) the expected number of distinct Lyndon subsequences in a string.

Keywords

Cite

@article{arxiv.2106.01190,
  title  = {Counting Lyndon Subsequences},
  author = {Ryo Hirakawa and Yuto Nakashima and Shunsuke Inenaga and Masayuki Takeda},
  journal= {arXiv preprint arXiv:2106.01190},
  year   = {2021}
}
R2 v1 2026-06-24T02:45:09.760Z