Chapter 10 Recursions and generating functions

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 a0,a1,…. IDEA Investigate analytically the function f⁢(x)=∑n≥0an⁢xn for x∈ℝ. Similarly use multivariate functions to understand sequences such as am,n,m≥0,n≥0 and al,m,n,l,m,n≥0. Sometimes it is of use to consider variable z∈ℂ. We shall mainly focus on real functions.

The ordinary generating function (OGF) is the function

f⁢(x)=∑n≥0an⁢xn.

Sometimes it is more useful to consider the exponential generating function (EGF)

f⁢(x)=∑n≥0an⁢xnn!.

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.