Som of first n cubes

From Rosetta Code
Redirect page