Skip to Main content Skip to Navigation
Journal articles

Counting occurrences for a finite set of words: combinatorial methods

Abstract : In this article, we give the multivariate generating function counting texts according to their length and to the number of occurrences of words from a finite set. The application of the inclusion- exclusion principle to word counting due to Goulden and Jackson (1979, 1983) is used to derive the result. Unlike some other techniques which suppose that the set of words is reduced (i.e., where no two words are factor of one another), the finite set can be chosen arbitrarily. Noonan and Zeilberger (1999) already provided a Maple package treating the non-reduced case, without giving an expression of the generating function or a detailed proof. We provide a complete proof validating the use of the inclusion-exclusion principle. We also restate in modern terms the normal limit laws theorems of Bender and Kochman (1993), emphasising on the underlying analytic mean shifting method.
Complete list of metadata

Cited literature [29 references]  Display  Hide  Download

https://hal.archives-ouvertes.fr/hal-00452694
Contributor : Frédérique Bassino <>
Submitted on : Friday, February 4, 2011 - 3:44:46 PM
Last modification on : Monday, December 14, 2020 - 5:08:07 PM
Long-term archiving on: : Sunday, December 4, 2016 - 3:50:28 AM

File

talg2010.pdf
Files produced by the author(s)

Identifiers

Citation

Frédérique Bassino, Julien Clément, Pierre Nicodème. Counting occurrences for a finite set of words: combinatorial methods. ACM Transactions on Algorithms, Association for Computing Machinery, 2012, 8, pp.31:1--31:28. ⟨10.1145/2229163.2229175⟩. ⟨hal-00452694v2⟩

Share

Metrics

Record views

1388

Files downloads

527