How many ways are there to divide 100 balls into two cells, such that in the first cell there must be at least $2$ balls, while in the other cell there must be even number of balls.
I want to solve it using generating functions.
First, We'll present each demand as a polynomial:
$$({x^2} + {x^3} + {x^4} + ...)({x^0} + {x^2} + {x^4} + ...)$$
Now lets present those terms as a power series (I skipped a step here):
$$\frac{{{x^2}}}{{{{(1 - x)}^2}(1 + x)}}$$
Using this "fractions method" (I can't recall it's formal name):
$$\frac{{{x^2}}}{{{{(1 - x)}^2}(1 + x)}} = \frac{A}{{{{(1 - x)}^2}}} + \frac{B}{{(1 + x)}}$$
We have that $A={1\over 2}$ and $B={1\over 4}$.
We recall that dividing by $(1-x)$ produces the "partial sums series". Hence,
$${F_1} = \frac{1}{{2{{(1 - x)}^2}}} = \frac{1}{2}\left\{ {1,2,3,4...} \right\}$$
$${F_2} = \frac{1}{{4(1 + x)}} = \frac{1}{{4(1 - ( - x))}} = \frac{1}{4}\left\{ { - 1,1, - 1,1...} \right\}$$
Am I right so far?
How to extract the number of possibilities from those two generating functions? (I am new with that, sorry if it's a newbie question).