Each of bricks (right rectangular prisms) has dimensions , where , , and are pairwise relatively prime positive integers. These bricks are arranged to form a block, as shown on the left below. A th brick with the same dimensions is introduced, and these bricks are reconfigured into a block, shown on the right. The new block is unit taller, unit wider, and unit deeper than the old one. What is ?

Log in to save your progress.
Similar problems
Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.