A cube of side $5\text{ cm}$ is painted on all its faces and sliced into $1\text{ cm}^3$ cubes. How many small cubes have (i) $3$ faces painted, (ii) $2$ faces painted, (iii) $1$ face painted, and (iv) no face painted?
Step-by-Step Solution
Here $n = 5$, so total $1\text{ cm}^3$ cubes $= 5^3 = 125$:
- (i) $3$ faces painted (corners) $= \mathbf{8}$
- (ii) $2$ faces painted (edges) $= 12(n - 2) = 12 \times 3 = \mathbf{36}$
- (iii) $1$ face painted (face interiors) $= 6(n - 2)^2 = 6 \times 9 = \mathbf{54}$
- (iv) No face painted (inner core) $= (n - 2)^3 = 3^3 = \mathbf{27}$