Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by Tux (Canon)
on Oct 02, 2016 at 14:00 UTC ( [id://1173118]=note: print w/replies, xml ) Need Help??


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

All my socks, both two types of "normal" socks, my white badminton sporting socks, and several bright-colored skiing sock pairs do not just come in pairs: they are all seamless and have a right-fit and a left-fit. All these math riddles assume left and right socks to be equal.


Enjoy, Have FUN! H.Merijn
  • 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 shmem (Chancellor) on Oct 02, 2016 at 14:10 UTC
    they are all seamless and have a right-fit and a left-fit.

    You can turn a left-fit into a right-fit and vice versa, if you treat them as Inside-Out-Objects. More math ;-)

    perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1173118]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-26 06:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found