Problem 61018. Find the logic and return the nth number
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
Solution Comments
Show commentsProblem Recent Solvers16
Suggested Problems
-
Find the logic and return the nth number
16 Solvers
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!