how many even number in the range between 10 to 160 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 . . . 160 using ap formula , we can say 160 = 10 + ( n - 1 ) * 2 or n = 76 . for 6 , 12,18 , . . . 156 using ap formula , we can say 156 = 12 + ( n - 1 ) * 6 or n = 25 . hence , only divisible by 2 but not 3 = 76 - 25 = 51 . hence , answer c"
subtract(divide(subtract(subtract(160, 10), const_2), const_2), divide(divide(subtract(subtract(subtract(subtract(160, const_2), multiply(3, const_4)), 3), 3), 3), const_2))