Maths Olympiad Prep

Library / /252 of 520

Combinatorics Difficulty 6.9 National olympiad Find the answer

A 3×63\times 6 grid is filled with the numbers in the list {1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9}\{1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9\} according to the following rules: (1) Both the first three columns and the last three columns contain the integers 1 through 9. (2) No numbers appear more than once in a given row. Let NN be the number of ways to fill the grid and let kk be the largest positive integer such that 2k2^k divides NN. What is k?

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

1. Understanding the problem: We need to fill a 3×63 \times 6 grid with the numbers from the list {1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9}\{1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9\} such that:
- Both the first three columns and the last three columns contain the integers 1 through 9.
- No numbers appear more than once in a given row.
- We need to find the largest integer kk such that 2k2^k divides the number of ways to fill the grid.

2. **Filling the first 3×33 \times 3 grid**: The first 3×33 \times 3 grid must contain the numbers 1 through 9. There are 9!9! ways to arrange these numbers in the first 3×33 \times 3 grid.

3. **Filling the second 3×33 \times 3 grid**: The second 3×33 \times 3 grid must also contain the numbers 1 through 9. However, the numbers in each row of the second 3×33 \times 3 grid must be different from the numbers in the corresponding row of the first 3×33 \times 3 grid.

4. Counting the arrangements:
- For each row in the first 3×33 \times 3 grid, there are 66 remaining numbers that can be placed in the corresponding row of the second 3×33 \times 3 grid.
- The number of ways to arrange these 66 numbers in each row is 6!6!.
- Since there are 33 rows, the total number of ways to arrange the second 3×33 \times 3 grid is (6!)3(6!)^3.

5. Combining the arrangements: The total number of ways to fill the entire 3×63 \times 6 grid is:
9!×(6!)3 9! \times (6!)^3

6. **Finding the largest power of 2 that divides NN**:
- The prime factorization of 9!9! is:
9!=1×2×3×4×5×6×7×8×9=27×34×5×7 9! = 1 \times 2 \times 3 \times 4 \times 5 \times 6 \times 7 \times 8 \times 9 = 2^7 \times 3^4 \times 5 \times 7
- The prime factorization of 6!6! is:
6!=1×2×3×4×5×6=24×32×5 6! = 1 \times 2 \times 3 \times 4 \times 5 \times 6 = 2^4 \times 3^2 \times 5
- Therefore, the prime factorization of (6!)3(6!)^3 is:
(6!)3=(24×32×5)3=212×36×53 (6!)^3 = (2^4 \times 3^2 \times 5)^3 = 2^{12} \times 3^6 \times 5^3
- Combining these, the prime factorization of 9!×(6!)39! \times (6!)^3 is:
9!×(6!)3=27×34×5×7×212×36×53=219×310×54×7 9! \times (6!)^3 = 2^7 \times 3^4 \times 5 \times 7 \times 2^{12} \times 3^6 \times 5^3 = 2^{19} \times 3^{10} \times 5^4 \times 7

7. Conclusion: The largest power of 2 that divides NN is 2192^{19}, so k=19k = 19.

The final answer is 19\boxed{19}.

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: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.