In this paper,using the examples,based on generation function method to solve the problems of analysis of time complexity in complicated recurrence algorithm and the transform recurrence algorithm into efficient algorithm.On this condition,efficient combination algorithm can be designed.