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
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15821 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2075 Solvers
-
631 Solvers
-
914 Solvers
-
Implement a bubble sort technique and output the number of swaps required
403 Solvers
More from this Author329
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!