On my example final exam, we are given the following problem:
How many ways can we pick seven balls of three colors red, blue, yellow given
also that the number of red balls must be strictly greater than blue and
blue strictly greater than yellow?
The solution I used (and was given) was a brute force counting. In particular, fix the number of red balls for $0, 1, \dots, 7$ and see how many viable cases we procure each time.
However, I wanted to try and find a more clever way to do it, but couldn't. Is there a better/general way to do this problem when the numbers get larger?
If possible, it would be even better if we solve the following more generalized form:
$$x_1 + \dots + x_n = c, x_1 > \dots > x_n \geq 0$$