Guess the Logic!
logic(1,1) = 2
logic(1,2) = 5
logic(2,1) = 5
logic(3,1) = 10
logic(3,3) = 18
logic(4,1) = 17
Make a function logic(a,b) which will return value according to problem
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers600
Suggested Problems
-
Return the 3n+1 sequence for n
8540 Solvers
-
Back to basics 11 - Max Integer
812 Solvers
-
The Answer to Life, the Universe, and Everything
588 Solvers
-
11817 Solvers
-
Calculate the average value of the elements in the array
1854 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!