The population of balls | Mathematics homework help