- ordinary generating function(OGF) define by :
- coefficient:
- : ring of formal power series with complex coefficient
- Combination: 3 red, 4 blue, and 5 green
- coefficient gives the number of way to select balls
- Fibonacci number
- General Methodology
- Give a recursion that computes
- Give the generating function and manipulate the right hand side of equation so that it becomes some other expression involving
- shift:
- addition:
- convolution:
- differentiation:
- Solve the resulting equation to derive an explicit formula for
- Expand into a power series and read off the coefficient of
- Taylor expansion:
- Geometric sequence:
- ,
- Newton's formular:
- Catalan Number:
- Interpretation
- 出入栈:the number of expressions containing n pairs of parentheses which are correctly matched:以最后一个左括号的对应右括号的位置为 choice,划分成两个部分
- Dyck words of length (A Dyck word is a string consisting of n X's and n Y's such that no initial segment of the string has more Y's than X's)
- the number of different ways factors can be completely parenthesized
- the number of full binary trees with leaves
- 单调路径:the number of monotonic lattice paths along the edges of a grid with square cells, which do not pass above the diagonal
- 三角形剖分:triangulations of a convex -gon
- 二叉树种类
-
- Generating function
-
- 二次方程只有一解:
- Andre's reflection method:
- bijective proof: split up the set of all monotonic paths into equally sized classes
- Generating function
- Interpretation
- Quicksort
- Quicksort recursion:
Combinatorics
2. Generating Functions
2019-09-04Original-language archivelegacy assets may be incomplete