document.write( "Question 261225: John has 8 white socks, 6 blue socks, and 5 black socks.
\n" ); document.write( "a) How many socks does he need to pull out to be sure he has a pair of socks?
\n" ); document.write( "b) How many socks does he need to pull out to be sure he has a pair of black socks?
\n" ); document.write( "

Algebra.Com's Answer #192429 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
John has 8 white socks, 6 blue socks, and 5 black socks.
\n" ); document.write( "a) How many socks does he need to pull out to be sure he has a pair of socks?
\n" ); document.write( "Pull one white, one blue, one black.
\n" ); document.write( "The next sock will give you a pair
\n" ); document.write( "--------------------------------------
\n" ); document.write( "b) How many socks does he need to pull out to be sure he has a pair of black socks?
\n" ); document.write( "Pull 8 white, pull 6 blue, pick one black.
\n" ); document.write( "The next sock will give you a pair of black socks.
\n" ); document.write( "===========
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" ); document.write( "
\n" );