Problem:
Let be a positive integer. Roger has a square garden. He puts down fences to divide his garden into rectangular plots. He wants to end up with exactly two horizontal plots and exactly two vertical plots for each even integer between and , as well as a single square plot. How many different ways are there for Roger to do this?
, 2023
Solution
Solution:
Consider the 4 largest plots Roger will fence off. We will prove they will comprise the border of the garden.
Consider a vertical piece. Clearly, one of its short (horizontal) edges must touch the border, because otherwise there would be a narrow margin of width smaller than on either side of the piece which cannot belong to any of the other rectangles.
We will show that a long (vertical) edge also touches the border. If this is not the case, then the horizontal space on either side of the rectangle is strictly less than , meaning that both horizontal plots would need to be situated in the remaining strip above or below our rectangle. This is clearly impossible since .
Therefore it is clear that a piece must touch both a vertical and horizontal border, and therefore a corner; the same is true by symmetry for a piece. We therefore have one such piece for every corner, and it is simple to see there are only two configurations possible:

After removing these 4 pieces, we are now left with a square in the middle, which has to be subdivided exactly like in the initial problem statement (for instead of ). Iterating the same argument should give us the answer . We prove this more formally with induction.
Induction hypothesis: There are exactly possibilities to cover the -square.
Base case: For we have the possibilities described above for the border. The remaining area is exactly the square, which means we don't get more possibilities.
Induction step: By the reasoning above, we first choose one of two possibilities for the border of the -square and end up with a -square in the middle, which can be covered in different ways by the induction hypothesis for . Since we can combine both possibilities for the border with all possibilities of the interior, we obtain possibilities in total.
This proves that is indeed the answer.