Generating functions are a useful tool in combinatorics and probability. We will again a see a few easy examples to illustrate the basic ideas. This is part of what is known as ’analytic combinatorics’. A basic reference is [Wilf 2005] and for more advanced reading in analytic combinatorics, see [Flajolet and Sedgewick, Melczer 2021, Pemantle and Wilson 2023].
AIM - To understand sequence . IDEA Investigate analytically the function for . Similarly use multivariate functions to understand sequences such as and . Sometimes it is of use to consider variable . We shall mainly focus on real functions.
The ordinary generating function (OGF) is the function
Sometimes it is more useful to consider the exponential generating function (EGF)
We shall not be explicit about the domain of the functions. It is necessary only that the functions are well-defined in some open interval. The specific interval is not of relevance to us.