Solution: using stars and bars and the final key to what you wanted. Ok so suppose that you want to make a paint in a bucket and you have m base colors. How many colors can you make if you can only add paint in quantities of 1/n at a time?
Then each paint is uniquely determined by $a_1,a_2,a_3..a_m$, where $a_i$ is the quantity of paint of the i'th color you add to the bucket(where the quantity is measured in n'ths of bucket. SInce you must fill the bucket then $m_1+m_2+...+m_n=n$
To find this number we use the stars and bars method. where we have the to divide the portions of paint to each color. To do this suppose each portion of paint is a capital $P$ and the portions of paint that are of the i'th color are to the left of the i'th bar but to the right of the (i-1)'th bar.
for example
|PPP|PP|P is the case where there are 0 of the first color, three of the second, two of the third and one of the fourth.
So in how many ways can we select the n-1 bars to divide the n portions into P piles? well there are m-1 bars and n portions. So m+n-1 objects in total. so there are m+n-1 places and we must chose m-1 for the bars so that gives us $\frac{(m+n-1)!}{m!(n-1)!}
$