We are given four cubes.The six faces of every cube are variously colored blue, green, red or white. Is it possible to stack the cubes one on top of another to form a column such that no color appears twice on any of the four sides of this column?
the book says the total possibilities of this arrangement is 41472= 3*24*24*24.
Can anybody explain how to calculate the number of possibilities?