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 Solvers13
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2052 Solvers
-
16798 Solvers
-
238 Solvers
-
67 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
2204 Solvers
More from this Author323
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!