Sum of variables with a numerical coefficient