A generating function packages a sequence into a single formal expression. This lets us study sequences using algebraic operations rather than handling every term separately.
For a sequence a0,a1,a2,…, an ordinary generating function (OGF) is
G(x)=n=0∑∞anxn=a0+a1x+a2x2+⋯.
The coefficient of xn records the term an. The variable x is an indeterminate: it marks the position of each coefficient. A generating function is like a bag containing all the terms of a sequence, or a display line on which each term is hung at its indexed position.
All flashcards
Ordinary generating function (OGF)
For a sequence a0,a1,…, the formal series G(x)=∑n≥0anxn, with an as the coefficient of xn.
Indeterminate
A formal variable that marks coefficient positions and need not be evaluated numerically.
Formal power series
A series interpreted through its coefficients and formal algebraic operations, without requiring convergence.
Exponential generating function (EGF)
For a sequence a0,a1,…, the series E(x)=∑n≥0anxn/n!.
Lambert series
A series of the form ∑n≥1anxn/(1−xn), whose coefficients encode divisor sums.
Quiz questions
What does the coefficient of xn in an ordinary generating function represent?Answer: The sequence term an at index $n.
Must a formal power series converge at any nonzero numerical value of its variable?Answer: No; formal algebra does not require numerical convergence.
Which mathematician used generating functions in 1730 to solve linear recurrence problems?Answer: Abraham de Moivre.
Which expression is not an ordinary formal power series in nonnegative integer powers of x?Answer: x−1+1+x
Why can one type of generating function be more useful than another for a particular sequence?Answer: Different types suit different sequence structures and mathematical operations.