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
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1324 Solvers
-
Flip the main diagonal of a matrix
914 Solvers
-
Compute a dot product of two vectors x and y
1053 Solvers
-
Getting the indices from a vector
12219 Solvers
-
1026 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!