SOLUTION: Spiffy the Spider has 8 legs, each of which is a different color. Spiffy has a sock and a shoe for each of his eight legs (so that he has one sock and one shoe in each of the eight

Algebra.Com
Question 394474: Spiffy the Spider has 8 legs, each of which is a different color. Spiffy has a sock and a shoe for each of his eight legs (so that he has one sock and one shoe in each of the eight colors). In how many ways can Spiffy put on his socks and shoes, if each sock and shoe must go on with the matching color, and the sock must go on before the shoe?
Answer by richard1234(7193)   (Show Source): You can put this solution on YOUR website!
There are 16 "objects" (socks and shoes) to be put on in some order. Hence, there are 16! ways to put on the socks and shoes, if we include any order. However, for each color sock/shoe, we have two cases:

1: ...shoe1....sock1...
2: ...sock1....shoe1...

We divide by 2 for each color to account for over-counting, so we divide by 2^8 since there are eight colors. This leaves us ways to distribute the socks and shoes.

The problem is, the placement of the socks and shoes matters (i.e. the spider's legs are distinguishable). For example, if ROYGBIV + X were the colors, then in counterclockwise order, the positions

ROYGBIVX and
BGIORVXY are distinct. Since there are 8! ways to distribute the colors to each of the legs, we multiply by 8! to obtain .

(I hope it's correct...)

RELATED QUESTIONS

A spider has 8 legs. A dragonfly has 6 legs and 2 pairs of wings. A bird has 2 legs and 1 (answered by math_helper,Alan3354)
In Aunt Peggy’s attics there are spiders and ants, the total of 160 legs. And, there is... (answered by Alan3354)
A spider has 8 legs and no wings. A dragonfly has 6 legs and 2 pairs of wings. A cicada... (answered by checkley71)
In Aunt Melly’s attics there are also spiders and ants, the total of 136 legs and 20... (answered by Boreal)
how many spiders are in a box which consist of 270 legs? with 1 spider having 8 legs and... (answered by ikleyn)
2. Spiffy Sports has determined that the mean time it takes to process an order placed on (answered by stanbon)
A farmer has chickens and goats,with at least one of each. The chickens and goats... (answered by Edwin McCravy)
A farmer has 3 types of animals in his barn: chickens, cows and pigs. The farmer has 80... (answered by ikleyn,Edwin McCravy)
1. A drawer contains 8 blue socks and 7 red socks. One sock is drawn at random and not... (answered by ewatrrr)