This is the solution that was provided:
Now, I have solved this question by using the sum of multiples in an interval formula. Coz they are multiples of 2.
The formula for that goes something like this -
Sum of multiples = (no. of multiples in the interval)/2 + (first multiple + last multiple) and,
no. of multiples in the interval = (last multiple - first multiple)/(multiple_of) + 1
So here, it would be-
no of multiples = (100 - 10)/2 + 1 = 46
sum of multipes = 46/2 * (10 + 100) = 23 * 110 = 2530.
What am I missing here? Why is my method wrong?

