Guess the logic
logic(1) = 2
logic(2) = 5
logic(3) = 9
logic(4) = 14
Make a function logic(x) which returns 'x' th term of logic
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers68
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2071 Solvers
-
24267 Solvers
-
Reverse the elements of an array
1146 Solvers
-
Rounding off numbers to n decimals
5814 Solvers
-
2354 Solvers
More from this Author40
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!