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
-
Return the 3n+1 sequence for n
8491 Solvers
-
4784 Solvers
-
3038 Solvers
-
Calculate the Levenshtein distance between two strings
1507 Solvers
-
Count from 0 to N^M in base N.
240 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!