The numbers are randomly placed into the squares of a grid. Each square gets one number, and each of the numbers is used once. What is the probability that the sum of the numbers in each row and each column is odd?
- A)
- B)
- C)
- D)
- E)
Answer
B
Key insight
Only parity matters: the five odd numbers must fill one full row and one full column (a cross), 9 placements out of C(9,5) = 126.
Solution
Only the parity of each entry matters. There are five odd numbers () and four even ones, and every choice of which cells hold the odd numbers is equally likely: patterns.
A row sum is odd exactly when the row contains or odd numbers. The three row counts are odd and add to , so they must be in some order: one row is entirely odd and each other row has exactly one odd entry. The all-odd row gives every column one odd number; the two remaining odd entries must keep each column count odd, so they cannot land in different columns (that would make two columns even). They therefore sit in the same column, making that column all odd.
So a good pattern is a full row plus a full column of odds, a "cross," and any cross uses exactly cells. There are crosses, and each does work (the full row and column have sums of three odds; the other rows and columns have exactly one odd).
Probability: .
The answer is .
Why this works
Conditions about sums being odd or even depend only on parities, so replace the arrangements by the odd/even patterns, each equally likely. Then a counting argument (odd counts summing to in rows, then in columns) forces the shape. Reducing a permutation problem to a pattern problem is the standard first move for parity questions.
Alternative approach
Count full arrangements: crosses, ways to place the odd numbers on the cross, ways for the evens, over total: .
The trap
Counting the odd-number patterns as 9 but dividing by 9! or by 5! x 4! instead of by the C(9,5) = 126 equally likely odd/even patterns.
Common mistakes
- Counting the odd-number patterns as 9 but dividing by 9! or by 5! x 4! instead of by the C(9,5) = 126 equally likely odd/even patterns.
- Allowing rows with two odd numbers, or forgetting that the column condition forces the two leftover odds into the same column.
Techniques
Map the objects to something easier to count · Use an invariant, parity, or coloring argument