[Solved] How to know number is divisible by 3 or any odd number using bitwise operator in python [closed]
[ad_1] We know school principle: if the sum of decimal digits is divisible by 9, then number is divisible by 9. The same approach works for any base of number system b and divisor b-1: for base=4 we can check that sum of two-bits chunks is divisible by 3. We can repeat this process until … Read more