given a sequence of numbers arranged in the following order:
A=0,1,3,4,9,10,12,13,27,28,30,31,36,37,......
Write a function that takes n as a parameter, we expect the output to be the nth number of this sequence
eg:
n=5
--> output=9

Solution Stats

46 Solutions

28 Solvers

Last Solution submitted on May 06, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...

Problem Recent Solvers28

Suggested Problems

More from this Author4

Problem Tags

Community Treasure Hunt

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

Start Hunting!