Question: Ben Bitdiddle argues that the binary representations of all postiive integers divisible by 3 satisfy the following properties: The binary representation of any number divisible

Ben Bitdiddle argues that the binary representations of all postiive integers divisible by 3 satisfy the
following properties:
The binary representation of any number divisible by 3 has exactly two 1s.
These two 1s are adjacent to each other, i.e., there are no zeros beteeen them.
Do you agree with Ben? If yes, explain why he is correct, if not show a counter-example.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!