A cube of side is painted on all its sides. If it is sliced in cubes, then number of such cubes that will have exactly two of their faces painted is __________.
The cube side =
The volume of cube
When it is sliced into , then
Now, you can see that,
On each side of the larger cube, the smaller cubes in the edges should have more than one face painted.
Therefore, the cube which is located at the corner of the larger cube has three faces painted.
Hence, on each edge, two small cubes are left, in which two faces are painted.
It is known that the total number of edges in cubes
Thus, the number of small cubes with two faces painted small cubes.