Problem: a rectangular block 10 cm by 20 cm by 30 cm is cut into an exact number of equal cubes . find the least possible number of cubes ?
Rationale: "volume of the block = 10 * 20 * 30 = 6000 cm ^ 3 side of the largest cube = h . c . f of 10 , 20,30 = 10 cm volume of the cube = 10 * 10 * 10 = 1000 cm ^ 3 number of cubes = 6000 / 1000 = 6 answer is a"
annotated_formula: divide(add(subtract(divide(rectangle_area(const_360, const_1000), const_10), multiply(const_1000, multiply(const_3, const_2))), add(multiply(const_3, const_1000), multiply(30, const_10))), divide(add(subtract(divide(rectangle_area(const_360, const_1000), const_10), multiply(const_1000, multiply(const_3, const_2))), add(multiply(const_3, const_1000), multiply(30, const_10))), const_10))