Take a test Sign in 中文
← Exercise 452 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
Contents · by chapter
Basic Counting (147)
Balls in Boxes (6)
Probability (142)

Exercises and their solutions

Exercise 452
Four yellow pegs and four red pegs are to be placed in the holes of a $4\times4$ board (one peg per hole; the other $8$ holes stay empty) so that no row or column contains two pegs of the same color. In how many ways can this be done?
← Back to Problem 452
Solution
  1. The yellow pegs occupy one hole in each row and each column: a permutation $\sigma$ of $\{1,2,3,4\}$, $4!=24$ ways.
  2. The red pegs also form a permutation $\tau$, and they need different holes, so $\tau(i)\ne\sigma(i)$ for every row $i$.
  3. For each $\sigma$, the number of such $\tau$ is the number of derangements of $4$ objects, $D_4=9$.
  4. The total is $24\cdot9=\boxed{216}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year