List the dopey numbers - MATLAB Cody - MATLAB Central

Problem 53910. List the dopey numbers

Difficulty:Rate
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

34.48% Correct | 65.52% Incorrect
Last Solution submitted on Jun 17, 2024

Problem Comments

Solution Comments

Show comments
MATLAB Central 2024 In Review
...
Let's celebrate what made 2024 memorable! Together, we made big impacts, hosted...

Problem Recent Solvers10

Suggested Problems

More from this Author288

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page