Flaxman, Abraham, Harrow, Aram W. and Sorkin, Gregory B. ORCID: 0000-0003-4935-7820
(2004)
*Strings with maximally many distinct subsequences and substrings.*
Electronic Journal of Combinatorics, 11 (1).
pp. 1-10.
ISSN 1077-8926

## Abstract

A natural problem in extremal combinatorics is to maximize the number of distinct subsequences for any length-n string over a finite alphabet Σ; this value grows exponentially, but slower than 2n. 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 Σ = {1, 2}, (1, 2, 1, 2, . . . ) has the maximum number of distinct subsequences, namely Fib(n + 3) - 1 ∼((1 + 5)/2 )n+3 / 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.

Item Type: | Article |
---|---|

Official URL: | http://www3.combinatorics.org/ |

Additional Information: | © 2004 The Authors |

Divisions: | Management |

Subjects: | Q Science > QA Mathematics |

Date Deposited: | 13 Apr 2011 14:18 |

Last Modified: | 12 Nov 2023 22:45 |

URI: | http://eprints.lse.ac.uk/id/eprint/35473 |

### Actions (login required)

View Item |