If vile numbers have binary representations that end with an even number of zeros (even → vile), then numbers with binary representations that end with an odd number of zeros are dopey (odd → dopey).
Write a function to determine the nth dopey number.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers14
Suggested Problems
-
Return the largest number that is adjacent to a zero
5527 Solvers
-
Count from 0 to N^M in base N.
241 Solvers
-
Number of 1s in a binary string
11417 Solvers
-
Give me Hamming on five, hold the mayo
57 Solvers
-
93 Solvers
More from this Author326
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!