I want to distribute n indistinguishable objects to k containers with s0,s1,...,sk sizes. The order of the objects and the distrubution in one container doens't matter, only their amount counts. I tried several things with binomial and multinomial coefficients, be were unable to solve the problem. Any help or ideas are appreciated.
Here an example to clarify: You have 7 objects and 2 containers with sizes of 5 and 3. It is possible to put 5 objects in the first and 2 objects in the second container. It is also possible to put 4 objects in the first and 3 objects in the second container. So the possible distributions are 2.