a cube is divided into 729 identical cubelets . each cut is made parallel to some surface of the cube . but before doing that the cube is coloured with green colour on one set of adjacent faces , red on the other set of adjacent faces , blue on the third set . so , how many cubelets are there which are painted with exactly one colour ?
"total cubes created are 729 so a plane of big cube has 9 * 9 cubes out of that ( n - 2 ) * ( n - 2 ) = 7 * 7 = 49 are painted only one side and a cube has six sides = 6 * 49 = 294 answer : b"
divide(subtract(729, multiply(multiply(const_4, const_2), const_3)), const_2)