Michael made a cake, in the shape of a perfect cube, for 64 guests at a recent party. The inside of the cake was sponge, and he iced the cake with red icing. He of course did not ice the bottom of the cake.

Michael cut each side of the cake into four equal pieces, making a total of 64 pieces of cake. Each exactly the same size.

How many of the pieces of cake had at least 2 of their sides with icing?



Number of pieces with 2 sides iced = 20
number of pieces with 3 sides iced = 4

total = 20+4 = 24

pieces with atleast 2 sides iced is 24.