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
-
Determine whether a vector is monotonically increasing
23429 Solvers
-
Replace NaNs with the number that appears to its left in the row.
3070 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1329 Solvers
-
1542 Solvers
-
Generate N equally spaced intervals between -L and L
954 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!