This interesting question crops up in
recreational mathematics literature: Using each of the first
consecutive integers (1, 2, 3, 4, 5, 6, 7, 8, 9, 10) once each to
create the dimensions of five rectangles, how many combinations of
those five rectangles can be assembled into a square? In each of these
four cases, place the colored rectangles at right on the grid at left.