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 Solvers12
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1988 Solvers
-
432 Solvers
-
Longest run of consecutive numbers
6475 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
884 Solvers
-
272 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!