Problem:
120 unit cubes are put together to form a rectangular prism whose six faces are then painted. This leaves 24 unit cubes without any paint. What is the surface area of the prism?
Problem:
120 unit cubes are put together to form a rectangular prism whose six faces are then painted. This leaves 24 unit cubes without any paint. What is the surface area of the prism?
Solution:
Let the length, width and height of the rectangular prism made by the 24 cubes without paint be denoted by (necessarily positive integers), respectively. Then, those of the prism made by the 120 cubes have measures and , respectively. Hence, and . WLOG, assume that divides .
If , then and we get and . The values satisfy the problem constraints. In this case, the surface area is
If , then and so and . The former implies which does not satisfy the latter constraint.
If , then and therefore, . This forces which makes divisible by , contradiction.