Comment Comment by JPC21 Generating functions are also a great tool in combinatorics (see for example the book Analytic Combinatorics by Flajolet and Sedgewick). parent JPC21 2 years ago