Maths Olympiad Prep

Library / /12 of 15

Combinatorics Difficulty 5.2 AIME, harder Prove it United States

Problem:

Determine the number of ways to fill a 3×33 \times 3 grid with 00's and 11's such that each row and column has an even sum.

Solution

Solution:

a1a_{1}a2a_{2}a3a_{3}
b1b_{1}b2b_{2}b3b_{3}
c1c_{1}c2c_{2}c3c_{3}

Observe that the condition is equivalent to saying that every entry in the table has the same parity as the sum of the entries in its row (resp. column).

We claim that upon filling a1a_{1}, a2a_{2}, b1b_{1}, b2b_{2} there is exactly one way to fill the table. Indeed, we require that

- a3a_{3} has the same parity as a1+a2a_{1} + a_{2},
- b3b_{3} has the same parity as b1+b2b_{1} + b_{2},
- c1c_{1} has the same parity as a1+b1a_{1} + b_{1},
- c2c_{2} has the same parity as a2+b2a_{2} + b_{2}.

All that's left to do is check that there is exactly one way to fill in the entry c3c_{3}. We require c3c_{3} to have the same parity as a3+b3a_{3} + b_{3}. But the parity of this is the same as that of a1+a2+b1+b2a_{1} + a_{2} + b_{1} + b_{2}. Similarly, c1+c2c_{1} + c_{2} has the same parity as a1+b1+a2+b2a_{1} + b_{1} + a_{2} + b_{2}. Hence there is exactly one way to fill in c3c_{3}.

Thus the claim is proved, and the number of ways to fill the entire table is merely the number of ways to fill the 2×22 \times 2 upper-left square, which is 24=162^{4} = 16 as desired.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.