document.write( "Question 1143349: How many ways are there to put 6 balls in 3 boxes if the balls are distinguishable but the boxes are not? \n" ); document.write( "
Algebra.Com's Answer #764158 by math_helper(2461)\"\" \"About 
You can put this solution on YOUR website!
\r
\n" ); document.write( "\n" ); document.write( "The case of indistinguishable boxes requires Stirling's number of the 2nd kind (this arises due to a recursive nature of combinations: you put ball A into a box, then ball B can go into the box with A or one of the other two boxes, etc.):\r
\n" ); document.write( "\n" ); document.write( "S(n,k) = Stirling's number of the 2nd kind
\n" ); document.write( "S(n,k) = \"+%281%2Fk%21%29%2Asum%28%28-1%29%5Ej+%2A+C%28k%2Cj%29+%2A+%28k-j%29%5En%2C+j=0%2C+k%29+\"\r
\n" ); document.write( "\n" ); document.write( " with C(k,j) = k!/((k-j)!j!) \r
\n" ); document.write( "\n" ); document.write( "We have n=6 balls, k=3 boxes. You can distribute the balls into one box, into two boxes, or all three boxes: \r
\n" ); document.write( "\n" ); document.write( "S(6,1) + S(6,2) + S(6,3) = 1 + 31 + 90 = \"+highlight%28+122+%29+\" \r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "
\n" );