How many ways there are to distribute $400$ non distinct balls to $3$ bins such that in all of the bins there are more than $200$ balls or less than $100$ balls.
My attempt:
Notice there's only one bin with at least $202$ balls, there are $3$ ways to choose it.
Now we're left with $198$ balls and two bins such that both will hold $99$ balls at most, using complement: one of the bins will hold more than $99$, there are $2$ ways to choose which bin.
The general case: $\binom {198+2-1}{2-1}$, we'll fill that bin with $100$ balls and we're left with $98$ balls to distribute to $2$ bins: $\binom {98+2-1}{2-1}$
So the total would be: $3\cdot 2(\binom {198+2-1}{2-1}-\binom {98+2-1}{2-1})$
I'm not sure I'm using the complement correctly here.
You have a good start. You know that you have to have at least 202 balls in one box, and 99 or less in both others.
EDIT: I am assuming this problem is using distinct bins (as 99% of all balls-in-bins problems I've encountered are non distinct balls in distinct bins). The concept I used will still apply for non distinct bins, but the math becomes a little more complex.
So we can view this problem as the addition of the number of possible outcomes from having 202-400 balls in the largest box.
In the case that there were 400 balls in 1 box, and none in any other, your number of ways turns out to be 3- the number of possible boxes to hold the 400 balls. For 399, you have 3 possibilities for the large box, then 2 possibilities for the box with 1 ball. This gives 3*2=6. You can pretty easily extrapolate this formula to be N(b)=3*(401-b). This formula only works while b is less than or equal to 400, and greater than or equal to 301 (the midpoint between 202 and 400). The summation of the number of outcomes from 202 to 301 is equal to the summation from 301 to 400 (as both 400 and 202 balls in the largest box only allow for 3 possible outcomes).
Therefore, you can express the final answer as $2 * \sum\limits_{i=302}^{400}N(i)+N(301)$. Plugging this into our equation above gives the answer: $30000$