No such thing as a small change PerlMonks

### Re: How many different varieties (color, size, etc) of socks do you have in your sock drawer?

by eyepopslikeamosquito (Bishop)
 on Oct 01, 2016 at 22:16 UTC ( #1173102=note: print w/replies, xml ) Need Help??

Curiously, from our early Perl Monk history, the only personal information known of cinder_bdt, the mysterious second non-insider to join the Perl Monks web site (on Dec 23 1999 22:49 UTC), relates to his socks:

When I buy socks, I throw all my old ones out and buy 21 new pairs. Here's my favorite high school math word problem:
• Q: If you have blue socks, red socks and white socks, what is the smallest number greater than 0 of socks that you have to pull out of your drawer to get a pair?
• A: n+1 where n is 3 because you have 3 different colors.
Well, this way I only ever have to touch two socks!
It's nice that he's still remembered and revered today even though he has not visited us for eleven years now (last here Jun 15, 2005 14:39 UTC). I wonder what he is doing with his socks today and if he will ever return to join us once again.

Update: Further googling suggests cinder_bdt may have moved to Alaska, in which case he will need more socks to prevent frost-bitten toes.

• Comment on Re: How many different varieties (color, size, etc) of socks do you have in your sock drawer?

Replies are listed 'Best First'.
Re^2: How many different varieties (color, size, etc) of socks do you have in your sock drawer?
by pryrt (Monsignor) on Oct 01, 2016 at 23:25 UTC
He was wrong, of course. You could pull out a pair on the first try. And pulling 4 socks only guarantees at least one pair if you have exactly 1 pair of each color. The question, as stated, had no information about how many pairs.

He's wrong because the question doesn't ask for a matched pair, so the correct answer is two.

the question doesn't ask for a matched pair,

"What do you mean my socks don't match?! I have another pair just like it at home!"

Re^2: How many different varieties (color, size, etc) of socks do you have in your sock drawer?
by talexb (Canon) on Oct 07, 2016 at 21:10 UTC

Interesting -- 21 new pairs, but are they split equally among the three colours? Discuss. :)

Alex / talexb / Toronto

Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

21 new pairs, but are they split equally among the three colours?

21 is Blackjack. Black is a pigment made from other colors, which could be three.

A blackjack can also cause you to see colors before blacking out.

Re^2: How many different varieties (color, size, etc) of socks do you have in your sock drawer?
by Pope-O-Matik (Pilgrim) on Oct 02, 2016 at 02:15 UTC

I'm glad to have contributed! (Or something like that. 8^P )

Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1173102]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2021-09-24 18:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
Voting Booth?

No recent polls found

Notices?