Wow!! just look at hte number of views for this problem
Ok people here is my approach to solve this problem:
We are suppose to find the number of ways to distribute 30 identical balls in 3 Identical boxes none empty
Now consider dis dummy problem no. positive integral of solutions of x+y+z = 30
Answer of this dummy prob. is 29C2 = 406.
But wait not so fast 406 will definitely not be the answer for our main question because in the dummy problem x, y, z were distinct.
For us x, y, z are identical.
so what to do???
Out of 406 solutions 1 corresponds to the solution {10,10,10} which has been counted only once.
Now we are remaining with other 405 solutions.
Out of theses 405 solutions there are cases like {5,5,20}, {5,20,5}, {20,5,5,} in general two same solutions which have been counted
3 times. (let number of such unique solutions be i )
Also there solutions like {12,8,10}, {12,10,8}, {8,10,12}, {8,12,10},.... in general all three different which have benn counted
3! = 6times (let number of such unique solutions be j)
so 3i + 6j = 405
Now to find no. of solutions in which any two of x, y, z are same
i.e. to find no. of non-negative solutions of 2g + h =27 .................(no box should be empty so give them each 1 ball does not matter as all balls are identical)
which are clearly 13 ......................... g can vary from 0 to 13 but g = 9 is the set {10,10,10} which has been taken care of.
so i=13 .............no. of sol. in which two are equal
now 3*13 + 6j = 405 hence j = 61
Hence the total number of solutions are
all same + two same + no same (all different ) = 1 + i + j = 1 + 13 + 61 = 75
Hence the answer is 75!!!