Hackerrank optimizing euler problem #1

So I see! I was too quick to write that after seeing the Enum.each in solve.

Is the current code still not passing the last test?

Edit: My carelessness was the root cause, but maybe renaming dividedSum to something like sum_of_multiples(n, multiple) would make it clearer, also.