Assignment:
A cube, painted green on the outside and measuring 15 centimeters on each edge, is cut into congruent cubes measuring 5 centimeters on each edge. How many smaller cubes will there be? How many of the small cubes will have 0 green sides? 1 green side? 2 green sides? 3 green sides?
Provide complete and step by step solution for the question and show calculations and use formulas.