(i) The smallest cube
Along each edge of the cube, the bricks lie end to end. So the cube's edge must be a whole number of 12 cm lengths, and of 18 cm lengths, and of 27 cm lengths — a common multiple of 12, 18 and 27. The smallest such edge is the LCM.
12=22×318=2×3227=33
Highest power of each prime:
LCM(12,18,27)=22×33=4×27=108
Answer: an edge of 108 cm.
(ii) Bricks needed
Count the bricks along each edge:
108÷12=9108÷18=6108÷27=4
Number of bricks=9×6×4=216
Answer: 216 bricks.
(iii) The next larger cube
Every possible cube edge is a common multiple of 12, 18 and 27, so it is a multiple of 108. The next one is
2×108=216 cm
Bricks along each edge:
216÷12=18216÷18=12216÷27=8
Number of bricks=18×12×8=1728
Both are perfect cubes:
216=23×33=(2×3)3=63
1728=26×33=(22×3)3=123
In each, every exponent is a multiple of 3, which is exactly the condition for a perfect cube.
Why this always happens. Doubling the edge doubles the number of bricks along each of the three edges, so the total is multiplied by 2×2×2=8=23, and 216×8=1728 stays a cube.
Answer: 1728 bricks, which is 123.
(iii) OR — Cutting one brick into equal cubes
The small cube's edge must divide 12, 18 and 27 exactly, and we want the largest — the HCF.
12=22×318=2×3227=33
The only prime common to all three is 3, and its lowest power is 31:
HCF(12,18,27)=3
Number of small cubes:
312×318×327=4×6×9=216
Answer: cubes of edge 3 cm; 216 of them.