On Tuesday, 8 May 2012 02:08:23 UTC+1, Don Del Grande wrote:
> Joe keane wrote:
>
> >When i get dressed, i'm like:
> >
> >undershirt, underwear, socks, pants, overshirt, shoes
> >
> >How many ways will work fine to do this?
>
>
> Assuming the only dependencies are socks before shoes, undershirt
> before overshirt, and underwear before pants, there are a total of 6!
> ways to order the items, but they can be divided equally into "shoes
> before socks" (bad) and "socks before shoes" (good); similarly, the
> 360 good combinations include 180 "overshirt before undershirt" (bad)
> and 180 "undershirt before overshirt" (good); these 180 have 90 "pants
> before underwear" (bad) and "underwear before pants" (good).
>
> The solution is 90.
>
> -- Don
In my experience it is next to impossible to put your trousers (pants) on if you already have your shoes on. On the other hand, it is clearly possible to put one trouser leg on, then the corresponding shoe, and then the other trouser leg followed by the second shoe.
---------
John Grint
Sevenoaks, UK