Clear Notion Academy

Permutations and Combinations (Beyond Advanced) Practice: Each option shows five boxes (the circles) and some segments joining pairs of boxes. Nine…

Question

Each option shows five boxes (the circles) and some segments joining pairs of boxes. Nine identical balls are placed in the five boxes (a box may contain any number of balls, including none) so that no two boxes joined by a segment are both empty. For which diagram is the number of different ways to place the balls the greatest?

Options

  1. five boxes in a chain\text{five boxes in a chain}
  2. five boxes in a pentagon\text{five boxes in a pentagon}
  3. two triangles sharing one box\text{two triangles sharing one box}
  4. one box joined to each of the other four\text{one box joined to each of the other four}

Answer

Correct option: D

Hint

A set of empty boxes is allowed iff no two of its boxes are joined; count these sets by size, then count how the balls fill the other boxes.

Solution

If the set of empty boxes has size kk, the 99 balls fill the other 5−k5-k boxes with every one of them non-empty: (84−k)\binom{8}{4-k} ways, namely 70,56,28,8,170,56,28,8,1 for k=0,…,4k=0,\ldots,4. So the number of ways is ∑kik(84−k)\sum_k i_k\binom{8}{4-k}, where iki_k is the number of allowed empty sets of size kk (no two boxes joined). Chain: i=(1,5,6,1,0)i=(1,5,6,1,0), giving 70+280+168+8=52670+280+168+8=526. Pentagon: i=(1,5,5,0,0)i=(1,5,5,0,0), giving 70+280+140=49070+280+140=490. Hub with four spokes: any set of spoke-boxes is allowed, and the hub alone: i=(1,5,6,4,1)i=(1,5,6,4,1), giving 70+280+168+32+1=55170+280+168+32+1=551. Two triangles sharing a box: i=(1,5,4,0,0)i=(1,5,4,0,0), giving 70+280+112=46270+280+112=462. The greatest is 551551, for the box joined to each of the other four. (The chain and the hub both have four segments but differ in their independent sets.)

More questions from Permutations and Combinations (Beyond Advanced) Practice

Practise the full set: Permutations and Combinations — Beyond Advanced