Mansour, T., M. Shattuck, and S. H. Yan. “Counting Subwords in a Partition of a Set”. The Electronic Journal of Combinatorics, Vol. 17, no. 1, Jan. 2010, p. R19, doi:10.37236/291.