A rectangle of width and height is decomposed into nine squares of side lengths 1, 4, 7, 8, 9, 10, 14, 15, and 18 units. What are and ?
Bonus points, once you know and , if you can fit the squares back together to make the rectangle.
Solution
The area of the rectangle will be
Now 1056 factors into . This suggests that and are 33 and 32. In fact, if we check, and note that the rectangle must be at least 18 units wide to accommodate the largest square, no other factorization of 1056 will work.
The squares fit together as the figure below shows.