Flaxman, A., Harrow, A. W. and Sorkin, G. B. (2004) “Strings with Maximally Many Distinct Subsequences and Substrings”, The Electronic Journal of Combinatorics, 11(1), p. R8. doi: 10.37236/1761.