the sum of the first 40 positive even integers is 2,550 . what is the sum of the odd integers from 101 to 200 , inclusive ?
"101 + 103 + . . . . . . . 199 if we remove 100 from each of these it will be sum of 1 st 100 odd numbers . so 101 + 103 + . . . . . . . 199 = 40 * 100 + ( 1 + 3 + 5 + 7 + . . . . . . ) sum of 1 st 100 natural numbers = ( 100 * 101 ) / 2 = 5050 sum of 1 st 40 positive even integers = 2550 sum of 1 st 100 odd numbers = 5050 - 2550 = 2500 so 101 + 103 + . . . . . . . 199 = 40 * 100 + ( 1 + 3 + 5 + 7 + . . . . . . ) = 4000 + 2500 = 6500 a is the answer ."
multiply(divide(add(200, 101), const_2), add(divide(subtract(200, 101), const_2), const_1))