While playing one day, Megan decided to build cubes out of a box of individual sugar cubes. Megan emptied the box onto the floor and using the sugar cubes as building blocks, Megan made three solid cubes with no sugar cubes left over. Each of the cubes contained more than one sugar cube, and the three cubes may or may not have been the same size.
At this point, the family dog ran into the room and sent the cubes flying in all directions. The dog picked up one of the sugar cubes and left, crunching noisily.
Megan decided to start over, but this time she created two cubes instead of three. As before, each cube contained more than one sugar cube, the cubes may or may not have been the same size, and there were no sugar cubes left over. What is the smallest number of sugar cubes that could have been in the box when Megan began?
NOTE: I had no idea what to tag this post with, so I'm sorry If I got it seriously wrong.