2026-08-14

Problem — 2026-08-14

Medium

MediumCombinatorics

A chess tournament organizer wants to create a unique trophy by arranging 8 distinct chess pieces in a row on a display shelf. However, the organizer has a strict aesthetic rule: no two pieces of the same color can be adjacent. The 8 pieces consist of 4 white pieces (King, Queen, Rook, Bishop) and 4 black pieces (King, Queen, Rook, Bishop). How many valid arrangements are possible?

Enter the number of valid arrangements

Show solution
We need to count arrangements of 8 distinct pieces (4 white, 4 black) where no two pieces of the same color are adjacent. **Step 1: Recognize the alternating pattern constraint** Since we have exactly 4 white and 4 black pieces, and no two of the same color can be adjacent, the pieces must alternate in color: WBWBWBWB or BWBWBWBW. **Step 2: Count arrangements starting with white** For the pattern W_B_W_B_W_B_W_B_: - Position 1 (W): Choose from 4 white pieces → 4 choices - Position 2 (B): Choose from 4 black pieces → 4 choices - Position 3 (W): Choose from 3 remaining white pieces → 3 choices - Position 4 (B): Choose from 3 remaining black pieces → 3 choices - Position 5 (W): Choose from 2 remaining white pieces → 2 choices - Position 6 (B): Choose from 2 remaining black pieces → 2 choices - Position 7 (W): Choose from 1 remaining white piece → 1 choice - Position 8 (B): Choose from 1 remaining black piece → 1 choice Total for this pattern: 4!×4!=24×24=5764! \times 4! = 24 \times 24 = 576 **Step 3: Count arrangements starting with black** By symmetry, arrangements following the pattern B_W_B_W_B_W_B_W_ also give us 4!×4!=5764! \times 4! = 576 arrangements. **Step 4: Final count** Total valid arrangements: 576+576=1152576 + 576 = 1152