Problem: how many numbers between 100 and 798 are divisible by 2 , 3 , and 7 together ?
Rationale: explanation : as the division is by 2 , 3 , 7 together , the numbers are to be divisible by : 2 * 3 * 7 = 42 the limits are 100 and 798 the first number divisible is 42 * 3 = 126 to find out the last number divisible by 42 within 798 : 798 / 42 = 19 hence , 42 * 19 = 798 is the last number divisible by 42 within 798 hence , total numbers divisible by 2 , 3 , 7 together are ( 19 â € “ 2 ) = 17 answer : d
annotated_formula: subtract(divide(798, multiply(multiply(2, 3), 7)), divide(100, multiply(multiply(2, 3), 7)))