document.write( "Question 1024478: There are 8 blue balls, 8 yellow balls and 8 red balls of the same type inside a sack. How many balls must be pulled out to ensure that we get a pair of yellow balls? \n" ); document.write( "
Algebra.Com's Answer #639854 by ikleyn(52781)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "There are 8 blue balls, 8 yellow balls and 8 red balls of the same type inside a sack. How many balls must be pulled out to ensure that we get a pair of yellow balls?
\n" ); document.write( "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "8 + 8 + 2 = 18 balls.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "In the worst case you will pull out 8 blue balls and 8 red balls before first yellow ball will arise. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "But after that you will pull out only yellow balls, in reward!\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );