I was just trying to solve a problem that had the following item which I needed to split into separate generating functions:
$$\frac{x}{(1-2x)^2(1-5x)}$$
I had assumed I needed to split it into:
$$\frac{A}{1-2x} + \frac{B}{1-2x} + \frac{C}{1-5x}$$
But according to Wolfram Alpha it appears I had to split it into:
$$\frac{A}{1-2x} + \frac{B}{(1-2x)^2} + \frac{C}{1-5x}$$
Can anyone explain the intuition behind this? Is this a general rule that when you have a repeated factor in the denominator, you split it into all powers of that factor?