# Difference between revisions of "2001 AMC 12 Problems/Problem 16"

## Problem

A spider has one sock and one shoe for each of its eight legs. In how many different orders can the spider put on its socks and shoes, assuming that, on each leg, the sock must be put on before the shoe?

$\text{(A) }8! \qquad \text{(B) }2^8 \cdot 8! \qquad \text{(C) }(8!)^2 \qquad \text{(D) }\frac {16!}{2^8} \qquad \text{(E) }16!$

## Solution

### Solution 1

Let the spider try to put on all $16$ things in a random order. Each of the $16!$ permutations is equally probable. For any fixed leg, the probability that he will first put on the sock and only then the shoe is clearly $\frac{1}{2}$. Then the probability that he will correctly put things on all legs is $\frac{1}{2^{8}}$. Therefore the number of correct permutations must be $\boxed{\frac {16!}{2^8}}$.

### Solution 2

Each dressing sequence can be uniquely described by a sequence containing two $1$s, two $2$s, ..., and two $8$s -- the first occurrence of number $x$ means that the spider puts the sock onto leg $x$, the second occurrence of $x$ means he puts the shoe onto leg $x$. The number of such sequences is ${16\choose 2,2,\dots,2} = \frac{16!}{(2!)^8} = \boxed{\frac {16!}{2^8}}$.