2022 AMC 12B Problem 17

Attempt Problem 17 of the 2022 AMC 12B below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2022 AMC 12B solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

17.

How many 4×44 \times 4 arrays whose entries are 00s and 11s are there such that the row sums (the sum of the entries in each row) are 1,1, 2,2, 3,3, and 4,4, in some order, and the column sums (the sum of the entries in each column) are also 1,1, 2,2, 3,3, and 4,4, in some order? For example, the array [1110011011110100]\begin{bmatrix} 1 & 1 & 1 & 0 \\ 0 & 1 & 1 & 0 \\ 1 & 1 & 1 & 1 \\ 0 & 1 & 0 & 0 \end{bmatrix} satisfies the condition.
144144
240240
336336
576576
624624
Answer: D
Concepts:multiplication principlecasework
Small hint:
The row of sum 44 is all 11s and the column of sum 44 is all 11s
Big hint:
Delete the sum-44 column; the remaining 4×34 \times 3 array has row sums 0,1,2,30,1,2,3 and column sums 1,2,31,2,3
Solution:
The row with sum 44 is all 11s and the column with sum 44 is all 11s. There are 4!4! ways to assign the row sums 1,2,3,41, 2, 3, 4 to the four rows, and 44 choices for which column has sum 4.4.
Delete that column. The remaining 4×34 \times 3 array has row sums 0,1,2,30, 1, 2, 3 and must have column sums 1,2,3.1, 2, 3. The all-zero and all-one rows are forced; the rows of reduced sum 11 and 22 can be placed in 66 ways to produce column sums 1,2,31, 2, 3 in some order.
The total is 24⋅4⋅6=576.24 \cdot 4 \cdot 6 = 576.
Thus, the correct answer is D.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.