Strings with maximally many distinct subsequences and substrings. Flaxman, Abraham; Harrow, Aram W.; Sorkin, Gregory B. — 2004 The Electronic Journal of Combinatorics [electronic only]