Problem:
Akash's birthday cake is in the form of a  inch cube. The cake has icing on the top and the four side faces, and no icing on the bottom. Suppose the cake is cut into  smaller cubes, each measuring  inch, as shown below. How many small pieces will have icing on exactly two sides?

Answer Choices:
A. 
B. 
C. 
D. 
E. 
Solution:

The cuts divide the cake into four inch horizontal layers. In the top layer there are pieces having exactly two sides with icing, namely the non-corner edge pieces that are part of both the top face and a side face. In each of the next layers, the corner pieces are the only ones having two sides with icing. This gives a total of small pieces with icing on exactly two sides.
First consider the edges of the cake that are not along the bottom face. Each of those edges has middle pieces with icing on exactly two sides. In addition to these pieces, the corner pieces of the bottommost layer also have two sides with icing. This gives a total of small pieces with icing on exactly twoides.
Answer: .
The problems on this page are the property of the MAA's American Mathematics Competitions