Problem:
Determine the number of ways to fill a grid with 's and 's such that each row and column has an even sum.
Problem:
Determine the number of ways to fill a grid with 's and 's such that each row and column has an even sum.
Solution:
We claim that upon filling , , , there is exactly one way to fill the table. Indeed, we require that
- has the same parity as ,
- has the same parity as ,
- has the same parity as ,
- has the same parity as .
All that's left to do is check that there is exactly one way to fill in the entry . We require to have the same parity as . But the parity of this is the same as that of . Similarly, has the same parity as . Hence there is exactly one way to fill in .
Thus the claim is proved, and the number of ways to fill the entire table is merely the number of ways to fill the upper-left square, which is as desired.