2025 AIME I Problem 10
Problem 10 of 15IntermediateNumber TheoryCombinatorics
The cells of a grid are filled in using the numbers through so that each row contains different numbers, and each of the three blocks heavily outlined in the example below contains different numbers, as in the first three rows of a Sudoku puzzle.
The number of different ways to fill such a grid can be written as where and are distinct prime numbers and are positive integers. Find
Your answer
Integer from 0 to 999
Show solution
Solution
Fill the left block arbitrarily: ways. Let and be the sets of three digits in its rows. In the middle block, row must avoid (those digits already appear in row ), and the block’s three rows must partition Say its top row takes digits from and from Balancing the three rows then forces the middle row to take digits from together with all remaining digits of and the bottom row is determined. The number of content choices is
The right block’s row contents are then forced (row takes whatever is missing from row ), and each of the six rows of the middle and right blocks can be ordered internally in ways. The total is
Therefore
Tagged: arrangements with restrictions · multiplication principle · prime factorization