If there are 201 seats in the Parliamentary chamber, how many different ways are there for the numbers of seats to be allocated amongst three political parties, subject to no one party having an overall majority?
I could figure it out manually. 201/3 = 67 per party. Thats one way. Then divide 67/2 (because you can move 2 from one party at a time to ensure the other 2 are equal) = 33.5 but use lower bound as a person cannot be split in half. That makes it 100+100+1 = 201. So now thats 33 ways. But party that gives up 2 each time can change. i.e. Party A gives up 2 members to B&C until 1 remain. Then party B gives up... then C. So would it be 1+(33*3) = 100 ways?
Is there a cleaner way to do this, say using generating funtions or combinatorics of some sort? If not I dont know why the would ask this question.
Any help appreciated.
Method one: a solution by manual inspection
First, note that no party can have more than $100$ seats otherwise they have an overall majority.
Let's call the parties $A$, $B$ and $C$ and look at the possible seats for $B$ and $C$ as we change the number of seats won by $A$.
Hopefully this is enough to establish the pattern which continues up to $A$ having $100$ seats and leads to the solution.
Method two: a solution by combinatorics
This can be solved using the stars and bars method and using inclusion-exclusion to eliminate combinations where one party has a majority.
The total number of ways to allocate the seats is$$\binom{201+3-1}{3-1}=\binom{203}{2}$$ but if we force the first group to have at least $101$ seats we can use$$\binom{203-101}{2}=\binom{102}{2}$$ to get the number of combinations where party $A$ has at least $101$ seats. As there are three parties we need to multiply this by $3$ when we exclude these combinations. The overall number of ways to allocate the seats is$$\binom{203}{2}-3\binom{102}{2}=5050$$