Skip to content

Conversation

@ommsamantaray02
Copy link

Program -Check if the given binary number is multiple of 3 or not
Algorithm- if the difference sum of difference of even and odd set bits are multiple of 3 then the binary number is divisible by 3.
this program uses recursion to check the difference of odd n even place set bits are multiple or not

Program -Check if the given binary number is multiple of 3 or not
Algorithm- if the difference sum of difference of even and odd set bits are multiple of 3 then the binary number is divisible by 3.
this program uses recursion to check the difference of odd n even place set bits are multiple or not
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant