Clear Notion Academy

Permutations and Combinations (Beyond Advanced) Practice: Each option shows a board made of 6 4 unit cells (6 columns, 4 rows) with one cell…

Question

Each option shows a board made of 6×46\times4 unit cells (6 columns, 4 rows) with one cell removed (shaded). A rectangle is counted if its sides lie along grid lines and it does not cover the removed cell (it may touch it). On which board can the greatest number of rectangles be drawn? (Columns are counted from the left and rows from the bottom.)

Options

  1. hole in column 2, row 1\text{hole in column }2\text{, row }1
  2. hole in column 3, row 1\text{hole in column }3\text{, row }1
  3. hole in column 1, row 2\text{hole in column }1\text{, row }2
  4. hole in column 2, row 2\text{hole in column }2\text{, row }2

Answer

Correct option: C

Hint

A rectangle covers the hole iff its left side is left of the hole, its right side is right of it, and likewise bottom and top; count these four independent choices.

Solution

All rectangles on a 6×46\times4 board: choose 22 of 77 vertical lines and 22 of 55 horizontal lines: 21⋅10=21021\cdot10=210. If the hole is in column cc and row rr, a rectangle covers it iff its left edge is one of the cc lines to the left of or at the hole's left edge, its right edge is one of the 7−c7-c lines at or beyond its right edge, and likewise rr lines below and 5−r5-r above. So c(7−c) r(5−r)c(7-c)\,r(5-r) rectangles are lost. Column 11, row 22: 1⋅6⋅2⋅3=361\cdot6\cdot2\cdot3=36, leaving 174174. Column 22, row 11: 2⋅5⋅1⋅4=402\cdot5\cdot1\cdot4=40, leaving 170170. Column 33, row 11: 3⋅4⋅1⋅4=483\cdot4\cdot1\cdot4=48, leaving 162162. Column 22, row 22: 2⋅5⋅2⋅3=602\cdot5\cdot2\cdot3=60, leaving 150150. The greatest number, 174174, is for the hole in column 11, row 22.

More questions from Permutations and Combinations (Beyond Advanced) Practice

Practise the full set: Permutations and Combinations — Beyond Advanced