document.write( "Question 1204253: (a) Find the number of ways that Magnus can give out 12 identical stickers to 12 of his friends. (Not everyone has to get a sticker.)\r
\n" ); document.write( "\n" ); document.write( "(b) Find the number of ways that Magnus can give out 12 identical stickers to 12 of his friends, if every friend gets at least one sticker.
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #840385 by ikleyn(52944)\"\" \"About 
You can put this solution on YOUR website!
(a) Find the number of ways that Magnus can give out 12 identical stickers
\n" ); document.write( " to 12 of his friends. (Not everyone has to get a sticker.)
\n" ); document.write( "(b) Find the number of ways that Magnus can give out 12 identical stickers
\n" ); document.write( " to 12 of his friends, if every friend gets at least one sticker.
\n" ); document.write( "~~~~~~~~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "                 Part (a)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "In this problem, stickers are not distinguishable, but the friends are.\r\n" );
document.write( "\r\n" );
document.write( "This problem is equivalent to the question: how many solutions does this equation have\r\n" );
document.write( "\r\n" );
document.write( "    \"x%5B1%5D\" + \"x%5B2%5D\" + \"x%5B3%5D\" + . . . + \"x%5Bk%5D\" = n\r\n" );
document.write( "\r\n" );
document.write( "in integer non-negative numbers at n= 12, k= 12 ?\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The answer is: the number of such solutions is \"C%5Bn%2Bk-1%5D%5En\" = \"C%5B12%2B12-1%5D%5E12\" = \"C%5B23%5D%5E12\" = 1352078.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "This formula is deduced using so called \"stars and bars method\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "On \"stars and bars method\", see this Wikipedia article \r\n" );
document.write( "\r\n" );
document.write( "https://en.wikipedia.org/wiki/Stars_and_bars_%28combinatorics%29\r\n" );
document.write( "\r\n" );
document.write( "or read from my lesson\r\n" );
document.write( "\r\n" );
document.write( "    - Stars and bars method for Combinatorics problems \r\n" );
document.write( "\r\n" );
document.write( "in this site.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "                 Part (b)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "This problem means that each friend gets exactly one sticker.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "And since the stickers are undistinguishable, it means that there is only one scenario \r\n" );
document.write( "to distribute stickers in a way, as it is assigned by the problem.\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "------------------\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Does the answer to (b) seem to be unexpected ?     Did you expect to get the answer 12! ? \r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "        Remember that 12! relates to permutations of 12 different items,
\n" ); document.write( "        while in this problem all the stickers are identical.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "This problem teaches you to read the problem attentively.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );