Thursday, August 27, 2009

Thursday 8/27 competition

A cube has edges of length n, where n is an integer. Three faces that meet at a corner are painted red. The cube is then cut into n^3 smaller cubes of unit length. If exactly 125 of these cubes have no faces painted red, determine the value of n.