Problem: set a contains all the even numbers between 12 and 50 inclusive . set b contains all the even numbers between 112 and 150 inclusive . what is the difference between the sum of elements of set b and the sum of the elements of set a ?
Rationale: set a contains 12,14 , 16 . . . 50 set b contains 112 , 114 , 116 . . . 150 number of terms in each set = 20 difference between corresponding terms in set a and b = 100 difference between sum of set b and set a = 100 * 20 = 2000 answer a
annotated_formula: multiply(subtract(112, 12), add(divide(subtract(50, 12), const_2), const_1))