🦘 Math Kangaroo Grade All Felix 1-2 Ecolier 3-4 Benjamin 5-6 Kadett 7-8 Junior 9-10 Student 11-12 ⇄ switch contest
2021 Math Kangaroo

Problem 27

Problem 27 · 2021 Math Kangaroo Stretch
Counting & Probability caseworkcareful-counting

In the 4×4 table, some cells must be painted black. The numbers next to and below the table show how many cells in that row or column must be black. In how many ways can this table be painted?

Figure for Math Kangaroo 2021 Problem 27
Show answer
Answer: D — 5
Show hints
Hint 1 of 2
The row and column labelled 0 are entirely white, shrinking the puzzle to a 3×3 grid.
Still stuck? Show hint 2 →
Hint 2 of 2
Count black-cell placements in that 3×3 grid with row sums 2,2,1 and column sums 2,2,1.
Show solution
Approach: reduce by the zero row/column, then enumerate
  1. Row 2 and column 2 each need 0 black cells, so they are all white.
  2. What remains is a 3×3 grid needing row sums 2,2,1 and column sums 2,2,1.
  3. Enumerating where the single-black row and the two double-black rows go yields exactly five valid fillings.
  4. So there are 5 ways, choice (D).
Mark: · log in to save