Strings with maximally many distinct subsequences and substrings
The electronic journal of combinatorics, Tome 11 (2004) no. 1
A natural problem in extremal combinatorics is to maximize the number of distinct subsequences for any length-$n$ string over a finite alphabet $\Sigma$; this value grows exponentially, but slower than $2^n$. We use the probabilistic method to determine the maximizing string, which is a cyclically repeating string. The number of distinct subsequences is exactly enumerated by a generating function, from which we also derive asymptotic estimates. For the alphabet $\Sigma=\{1,2\}$, $\,(1,2,1,2,\dots)$ has the maximum number of distinct subsequences, namely ${\rm Fib}(n+3)-1 \sim \left((1+\sqrt5)/2\right)^{n+3} \! / \sqrt{5}$. We also consider the same problem with substrings in lieu of subsequences. Here, we show that an appropriately truncated de Bruijn word attains the maximum. For both problems, we compare the performance of random strings with that of the optimal ones.
@article{10_37236_1761,
author = {Abraham Flaxman and Aram W. Harrow and Gregory B. Sorkin},
title = {Strings with maximally many distinct subsequences and substrings},
journal = {The electronic journal of combinatorics},
year = {2004},
volume = {11},
number = {1},
doi = {10.37236/1761},
zbl = {1034.68067},
url = {http://geodesic.mathdoc.fr/articles/10.37236/1761/}
}
TY - JOUR AU - Abraham Flaxman AU - Aram W. Harrow AU - Gregory B. Sorkin TI - Strings with maximally many distinct subsequences and substrings JO - The electronic journal of combinatorics PY - 2004 VL - 11 IS - 1 UR - http://geodesic.mathdoc.fr/articles/10.37236/1761/ DO - 10.37236/1761 ID - 10_37236_1761 ER -
Abraham Flaxman; Aram W. Harrow; Gregory B. Sorkin. Strings with maximally many distinct subsequences and substrings. The electronic journal of combinatorics, Tome 11 (2004) no. 1. doi: 10.37236/1761
Cité par Sources :