MathDB
ways to fill x 3x8 grid by 9 numbers having 6 already in fixed places

Source: Mathematics Regional Olympiad of Mexico Center Zone 2016 P1

November 12, 2021
combinatorics

Problem Statement

The grid shown below is completed by choosing nine of the following numbers without repeating: 4,5,6,7,8,12,13,16,18,194, 5, 6, 7, 8, 12, 13, 16, 18, 19. If the sum of the five rows are equal to each other and the sum of the three columns are equal to each other, in how many different ways is it possible to fill the grid?
1093111720\begin {array} {| c | c | c |} \hline 10 & & \\ \hline & & 9 \\ \hline & 3 & \\ \hline 11 & & 17 \\ \hline & 20 & \\ \hline \end {array}
Note: The sum of the rows and the sum of the columns are not necessarily equal.