[python] add multiples of a number