Guess the logic!
logic(1) = 23
logic(2) = 25
logic(3) = 19
logic(4) = 31
logic(5) = 11
logic(6) = 41
logic(7) = -1
logic(8) = 55
Make a function logic(x) which will return value according to logic
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers195
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
52904 Solvers
-
Return the 3n+1 sequence for n
8491 Solvers
-
3484 Solvers
-
Back to basics 21 - Matrix replicating
1797 Solvers
-
Flip the main diagonal of a matrix
905 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!