Skip to main content

All Questions

4 votes
1 answer
211 views

Rare binary numbers

Rare numbers are the natural numbers in their binary forms in which there aren't two (or more) ones next to each other. Make a program that will give the N. rare number! For example: In case of N =...
Howard Fring's user avatar