set a contains all the even numbers between 2 and 50 inclusive . set b contains all the even numbers between 102 and 150 inclusive . what is the difference between the sum of elements of set b and the sum of the elements of set a ?
"set a contains 2,4 , 6 . . . 50 set b contains 102 , 104 , 106 . . . 150 number of terms in each set = 25 difference between corresponding terms in set a and b = 100 difference between sum of set b and set a = 100 * 25 = 2500 answer a"
multiply(subtract(102, 2), add(divide(subtract(50, 2), const_2), const_1))