document.write( "Question 1020081: You have a bag containing 5 red candies, 7 blue candies,
\n" ); document.write( "8 green candies, and 12 yellow candies.If you pull
\n" ); document.write( "candies from the bag at random, what is the minimum
\n" ); document.write( "number you would have to take to ensure getting 3 of
\n" ); document.write( "at least one color?
\n" ); document.write( "

Algebra.Com's Answer #636060 by Edwin McCravy(20060)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "9.  I first thought about how I could have the greatest \r\n" );
document.write( "possible number of pieces of candy and yet not have 3 \r\n" );
document.write( "of any color.  That would be when I have 2 of each color, \r\n" );
document.write( "2 reds, 2 blues, 2 greens, and 2 yellows.  That makes 8 \r\n" );
document.write( "pieces of candy.  Then if I had that, and I got one more \r\n" );
document.write( "piece of candy, it would have to be the same color as one \r\n" );
document.write( "of those that I have 2 of, and then there will be 3 of \r\n" );
document.write( "that color.\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );