Difference between revisions of "2023 SSMO Accuracy Round Problems/Problem 9"
(Created page with "==Problem== Consider a <math>2023 \times 2023</math> grid called <math>A = P_{2023}</math>. We take one of the four smaller <math>2022 \times 2022</math> grids located in <mat...") |
|||
Line 21: | Line 21: | ||
==Solution== | ==Solution== | ||
+ | |||
+ | Let <math>a_{i,j,k}</math> denote the number of tuples with last element at position <math>(i,j)</math>, where <math>0 \le i,j \le k</math>, for <math>A = P_{k+1}</math>. Let <math>a_{i,j,k} = 0</math> if <math>i</math> or <math>j</math> is out of bounds. We want to compute <math>a_{1011,1011,2022}</math>. | ||
+ | |||
+ | We claim that | ||
+ | <cmath>a_{i,j,k} = \binom{k}{i} \cdot \binom{k}{j}.</cmath> | ||
+ | |||
+ | Note that by considering the four possible placements of <math>P_{k}</math>, | ||
+ | <cmath>a_{i,j,k} = a_{i-1, j-1, k-1} + a_{i-1, j, k-1} + a_{i, j-1, k-1} + a_{i, j, k-1}.</cmath> | ||
+ | |||
+ | Now verify the claimed closed form: | ||
+ | <cmath>\binom{k}{i} \cdot \binom{k}{j} = \left(\binom{k-1}{i-1} + \binom{k-1}{i}\right)\left(\binom{k-1}{j-1} + \binom{k-1}{j}\right),</cmath> | ||
+ | which expands and matches the recursive relation above. | ||
+ | |||
+ | This also agrees with base cases: the recurrence correctly handles out-of-bounds values, and <math>a_{0,0,0} = 1</math> holds. | ||
+ | |||
+ | Thus, we need to compute: | ||
+ | <cmath>2 \nu_2\left( \binom{2022}{1011} \right) = 2 \left( \nu_2(2022!) - 2\nu_2(1011!) \right) = \boxed{16}.</cmath> |
Revision as of 21:12, 9 September 2025
Problem
Consider a grid called
. We take one of the four smaller
grids
located in
as
. We repeat the process of taking smaller grids until we eventually converge at the unit square
![[asy] size(7cm); filldraw((0,0)--(0,10)--(10,10)--(10,0)--cycle, opacity(0.2)+lightblue, blue); fill((0,0)--(0,9)--(9,9)--(9,0)--cycle, opacity(0.1)+lightblue); draw((0,9)--(9,9)--(9,0), blue); fill((1,0)--(1,8)--(9,8)--(9,0)--cycle, opacity(0.1)+lightblue); draw((1,0)--(1,8)--(9,8), blue); label("$A = P_{2023}$", (8.3, 9.52)); label("$P_{2022}$", (6.8, 8.52)); label("$\dots$", (4.78, 7.52)); [/asy]](http://latex.artofproblemsolving.com/d/6/8/d68b27269494c8ba543d444a4cc6fc9c95b4cd37.png)
Of the distinct tuples of shrinking grids
, let
be the number of these tuples such that their last element is the center square of the original grid
. Find the largest integer
such
Solution
Let denote the number of tuples with last element at position
, where
, for
. Let
if
or
is out of bounds. We want to compute
.
We claim that
Note that by considering the four possible placements of ,
Now verify the claimed closed form:
which expands and matches the recursive relation above.
This also agrees with base cases: the recurrence correctly handles out-of-bounds values, and holds.
Thus, we need to compute: