how many even number in the range between 10 to 100 inclusive are not divisible by 3
"we have to find the number of terms that are divisible by 2 but not by 6 ( as the question asks for the even numbers only which are not divisible by 3 ) for 2 , 10 , 12,14 . . . 100 using ap formula , we can say 100 = 10 + ( n - 1 ) * 2 or n = 46 . for 6 , 12,18 , . . . 96 using ap formula , we can say 96 = 12 + ( n - 1 ) * 6 or n = 15 . hence , only divisible by 2 but not 3 = 46 - 15 = 31 . hence , answer c"
subtract(divide(subtract(subtract(100, 10), const_2), const_2), divide(divide(subtract(subtract(subtract(subtract(100, const_2), multiply(3, const_4)), 3), 3), 3), const_2))