Generating functions are useful in finding explicit formulas for sequences. The general idea is to

  1. Take an unknown sequence
  2. Define .
  3. Find an equation for describe by constraints on the coefficients ).
  4. Obtain the individual terms of as a Taylor series expansion of .