AIME I 2026 (Problem 15)

Let aa, bb, and nn be positive integers with both aa and bb greater than or equal to 22 and less than or equal to 2n2n. Define an a×ba\times b cell loop in a 2n×2n2n\times2n grid of cells to be the 2a+2b42a+2b-4 cells that surround an (a2)×(b2)(a-2)\times(b-2) (possibly empty) rectangle of cells in the grid. For example, the following diagram shows a way to partition a 6×66\times6 grid of cells into 44 cell loops.

Find the number of ways to partition a 10×1010\times10 grid of cells into 55 cell loops so that every cell of the grid belongs to exactly one cell loop.
Example partition of a 6 by 6 grid into 4 cell loops