solution to sum of multiples of a number below some number