2023 AIME II · Question 10
Problem outline
Let count placements of through , once each, in a grid, with no edge-neighboring entries congruent modulo . How many positive divisors does have?
Show answer and methods 1 methods
Answer
144
Method 1 Record the missing residue in each column
Each column uses two of the three residues. Each residue appears four times overall, so it must be missing in exactly two columns. There are possible ordered lists of missing residues.
Fix such a list and choose the top residue of the first column in two ways. In each subsequent column an overlapping residue must switch rows. This fixes the ordering uniquely whether the two consecutive residue pairs agree or share just one element.
There are residue grids. Permuting four numbers of each residue gives , which has divisors.
Source and attribution
The outline and worked methods on this page were prepared for DR.WANG Mathematics.
Original question (external)