Article view

Counting occurrences for a finite set of words: an inclusion-exclusion approach

By Frédérique Bassino, Julien Clément, J. Fayolle, Pierre Nicodème

Article information

Publication
Published 1 January 2007
Institutions at publication
Laboratoire d'Informatique Gaspard-Monge; GREYC; Laboratoire de Recherche en Informatique; Laboratoire d'Informatique de l'École Polytechnique
10 Citations OpenAlex, 3 December 2026 FULL LIST: Citations
5 Countries with citations Where the citing authors were FULL LIST: Countries with citations
Usage Phase 3: not collected yet

Abstract

In this paper, 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 give a complete proof validating the use of the inclusion-exclusion principle and compare the complexity of the method proposed here with the one using automata for solving the problem.

Citations per year

Citations per year
YearCitations
2017 0
2018 0
2019 0
2020 1
2021 0
2022 0
2023 0
2024 0
2025 0
2026 1

OpenAlex counts citations by year for the last ten years only, so the total and the list of citing works can include earlier ones.

Works citing this article

OpenAlex counts 10 citations; 8 citing works of them are listed here.

The newest works citing this article
Citing workYearPublished in
Combinatorial Contemplations 2026 HAL
Analytic Pattern Matching: From DNA to Twitter 2015 Cambridge University Press eBooks
Successions in Words and Compositions 2012 Annals of Combinatorics
Algorithmes, mots et textes aléatoires (self-citation) 2011 HAL
Constructions for Clumps Statistics. (self-citation) 2008 Discrete Mathematics & Theoretical Computer Science
Markovian embeddings of general random strings 2008 Workshop on Analytic Algorithmics and Combinatorics (ANALCO)
Statistics for transcription factor binding sites 2008 Universitätsbibliothek der FU Berlin Hochschulschriftenstelle u. Dokumentenserver
Exact p-value calculation for heterotypic clusters of regulatory motifs and its application in computational annotation of cis-regulatory modules (self-citation) 2007 Algorithms for Molecular Biology

Where its authors are based

Countries of the institutions the article's authors were affiliated to when it was published.

  • Changes the map only; the tables list the figures.
  • USAGE Phase 3
Authors by country
CountryAuthors
France4
Citations from 5 countries
Citations by the country of the citing authors
CountryCitations
France3
United States2
Germany1
Russia1
South Africa1

Where the authors of the works citing these were, from the citing works OpenAlex lists. A citation whose authors were in several countries counts in each.