You can make the following assumptions about the inputs to the
sum_of_multiples
function:
- All input numbers are non-negative
int
s, i.e. natural numbers including zero. - A list of factors must be given, and its elements are unique and sorted in ascending order.