Suppose you have $7$ apples, $3$ banana, $5$ lemons. How many options to form $3$ equal in size baskets ($5$ fruits in each) are exist?
At first I wrote: $\displaystyle \frac{15!}{7!3!5!} $ But its definitely not true because I do not care about permutations of apples in one $5$-sized basket. So the real value in divider is smaller than $7!$ (the same logic for other fruits).
Textbook says that the answer is $\displaystyle\frac{15!}{2^93^35^3}$
The method of getting of numerator is clear but divider...
Assuming baskets are indistinguishable (as well as apples etc), there are surprisingly few arrangements possible. For apples the possible splits between baskets are: (5,2,0), (5,1,1), (4,3,0), (4,2,1), (3,3,1), (3,2,2).
For type (5,2,0) the possible splits of lemons are: (0,3,2), (0,2,3), (0,1,4), (0,0,5) (and in each case the bananas are distributed to make up the total of five fruits per basket).
For type (5,1,1) we have: (0,4,1), (0,3,2) (note that (0,1,4) would be duplicate).
For type (4,3,0) we have: (1,2,2), (1,1,3), (1,0,4), (0,2,3), (0,1,4), (0,0,5).
For type (4,2,1) we have: (1,3,1), (1,2,2), (1,1,3), (1,0,4), (0,3,2), (0,2,3), (0,1,4).
For type (3,3,1) we have: (2,2,1), (2,1,2), (2,0,3), (1,1,3), (1,0,4).
For type (3,2,2) we have: (2,3,0), (2,2,1), (1,3,1), (1,2,2), (0,3,2).
So a grand total of 29.