what is the number of integers from 1 to 1000 ( inclusive ) that are divisible by neither 11 nor by 35 ?
"number divisible by 11 : - 1000 / 11 = 90 numbers divisible by 35 : - 1000 / 35 = 28 numbers divisible by both 11 and 35 = 2 total numbers divisible by both 11 and 28 = 90 + 28 - 2 = 116 ( because we counted 2 in both 90 and 28 ) total numbers not divisible by 11 or 35 = 1000 - 116 = 884 answer : a"
subtract(1000, subtract(add(divide(1000, 11), divide(1000, 35)), divide(1000, multiply(11, 35))))