Let and be positive integers. Mr. Fat has a set containing every rectangular tile with integer side lengths and area a power of . Mr. Fat also has a rectangle with dimensions and a square removed from one of the corners. Mr. Fat wants to choose rectangles from , with respective areas , and then tile with the chosen rectangles. Prove that this can be done in at most ways.
Problem 2320
Official solutions — 2
Solution 1
Solution 1. We call each of the rectangles in a tile, and the tile with area the unit tile. We may assume without loss of generality that the missing square in is the top-left corner. Suppose Mr. Fat walks on the path of squares starting from the top right corner square and going left along the top row of squares until the missing square is stepped on, then turning and going down along the left column of squares to the bottom left square. For a given tiling, let be the sequence of areas of the tiles he steps on by walking along this path from start to finish. We will show that
(a) every tile is stepped on, that is, is a rearrangement of ; and
(b) any valid sequence uniquely determines the tiling.
Since there are at most ways to order the possible areas, this would finish the problem.
To establish (a), we induct on . It is trivial for . Suppose it is true for . We show it holds for . Consider the tile with area , and call it . If has dimensions , then we have and since is contained in , and . Thus the only two possibilities for the dimensions of are or . In other words, must stretch over either the entire length or entire width of . It follows that must be hit on our walk.
Now, consider the rectangle formed by removing completely from and, if this breaks into two pieces, sliding them together so that the two newly formed edges coincide. This forms a tiling of a smaller rectangle with dimensions for , and the areas hit along the walk corresponding to are precisely those areas encountered along the walk on other than . By the inductive hypothesis, all of the areas are stepped on, and so (a) holds for all rectangles .
To establish (b), we again induct on . It is trivial for . Suppose it is true for . Let be a valid ordering of the areas , that is, an ordering generated by walking along a tiling.
Suppose appears before in . Consider any tiling that generates this ordering and call the largest tile . We must hit before the unit tile. Hence, the part of the rectangle below or to the left of has odd area, since all other tiles in the tiling have even area. In particular, this part must contain the missing corner. The corner is in the top-left, so this part can't be below the largest rectangle. Therefore, it is to the left of . Hence has the same height as . Likewise, if we hit the unit tile before , we may use the same reasoning to show that would have the same width as .
Therefore, depending on whether appears before or after in the ordering, we may uniquely determine whether spans an entire column or an entire row in any tiling achieving the given ordering. This uniquely determines the dimension of the rectangle that is obtained by removing and sliding the two resulting parts together (if there are even two parts at all). Suppose that the dimensions of this rectangle are uniquely fixed to be , where we must have .
Now, remove to obtain an ordering of . By the inductive hypothesis, there is a unique tiling of a rectangle by these tiles. The position of in the given ordering then provides a unique way to insert a tile of area to reconstruct a tiling of the original rectangle; that is, we know whether this tile spanned a column or a row and the ordering tells us the position along the top and left boundaries of the rectangle where it must be inserted. Finally, any tiling of the original rectangle that generates the given ordering must be obtained by making this insertion. Since the tiling of our rectangle was unique by induction, the entire tiling is unique, as desired.
Solution 2
Solution 2 (By Ricky Liu). We may assume without loss of generality that is missing its upper left corner. The left column of has length , which cannot be written as a sum of fewer than powers of . Therefore, at least tiles intersect this column. Likewise, at least tiles intersect the top row. Since no tiles can intersect both the left column and the top row, we must have equality in both cases. Hence rectangles intersect the left column in squares, and rectangles intersect the top row in squares.
We count tilings of with any rectangles such that intersects the left column in squares and intersects the top row in squares. The lower right corner of can lie in any of these rectangles, whose placement is then uniquely determined. Then the lower right corner of the remaining portion of can lie in any of the other rectangles, and so forth. It follows that there are exactly such tilings. Since all of our desired tilings have this form, this completes the proof.