Problem:
Consider a grid where each entry is one of , , and . For how many such grids is the sum of the numbers in every row and in every column a multiple of ? One valid grid is shown below.
Problem:
Consider a grid where each entry is one of , , and . For how many such grids is the sum of the numbers in every row and in every column a multiple of ? One valid grid is shown below.
Solution:
Any two elements in the same row fix the rest of the grid, so .