Let an , an-1 ,............ a1, a0 be the binary representation of an integer b. Then b is divisible by 3 if
A. | number of 1's is divisible by 3 |
B. | number of 0's is divisible by 3 |
C. | (c) number of 1's of is divisible by 6 |
D. | (a) difference of alternate sum, i.e. a0 + a2 +.........- (a1 + a2 + ...) is divisible by 3 |
Answer : D Explanation : |
|
Option: A Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. |