document.write( "Question 1189758: A cold-footed centipede has a drawer filled with many, many socks. And yes, that
\n" );
document.write( "centipede does have 100 feet. If the centipede only owns green and brown socks, how
\n" );
document.write( "many must it pull from the drawer in the dark of the morning to be assured that it has
\n" );
document.write( "a matching set for all of its feet (100 socks of the same color)? What if the centipede
\n" );
document.write( "also owns polka-dotted socks? What if the centipede’s drawer has many, many socks
\n" );
document.write( "of k different colors? \n" );
document.write( "
Algebra.Com's Answer #821201 by ikleyn(52781)![]() ![]() You can put this solution on YOUR website! . \n" ); document.write( "A cold-footed centipede has a drawer filled with many, many socks. And yes, that \n" ); document.write( "centipede does have 100 feet. If the centipede only owns green and brown socks, how \n" ); document.write( "many must it pull from the drawer in the dark of the morning to be assured that it has \n" ); document.write( "a matching set for all of its feet (100 socks of the same color)? What if the centipede \n" ); document.write( "also owns polka-dotted socks? What if the centipede’s drawer has many, many socks \n" ); document.write( "of k different colors? \n" ); document.write( "~~~~~~~~~~~~~~\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \r\n" ); document.write( "For 100 feet/socks and 2 (two) colors, like green and brown, the answer is \" pull at least 199 socks \".\r\n" ); document.write( "\r\n" ); document.write( "\r\n" ); document.write( "Then among these 199 socks, at least 100 must be one of the two colors.\r\n" ); document.write( "\r \n" ); document.write( "\n" ); document.write( "---------------\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "It is a nice and very well known entertainment problem.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "See my lesson\r \n" ); document.write( "\n" ); document.write( " - In the worst case \r \n" ); document.write( "\n" ); document.write( "in this site.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Find there many other similar and different solved problems.\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " |