The combined volume of two cubes, each with integral sides, is equal to the combined length of all their edges. What is the side length of the two cubes?
Solution
Let and be the two side lengths. The combined volume is while the combined lengths of all sides (12 per cube) is . Thus we are looking for a whole-number solution of the equation:
or
Since only integer solutions are sought and the quantity grows larger and larger as and grow, any solution will be in a small region of the first quadrant. This is perfect for a computer search, using your spreadsheet. Tabulating for values of and between 1 and 6 gives the result shown in the figure.
There is a solution (and with these values reversed). As the values at the edge of the table will only grow larger, this must be the only solution.