2023 SSMO Accuracy Round Problems/Problem 9
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