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 Solvers67
Suggested Problems
-
Find the peak 3n+1 sequence value
2571 Solvers
-
387 Solvers
-
762 Solvers
-
483 Solvers
-
11187 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!