Guess the logic and make a function logic(x) which will return y.
logic(1) = 0
logic(2) = 188
logic(4) = 2256
logic(6) = 8460
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers23
Suggested Problems
-
Return a list sorted by number of occurrences
2890 Solvers
-
1326 Solvers
-
Flip the main diagonal of a matrix
904 Solvers
-
Sum the entries of each column of a matrix which satisfy a logical condition.
174 Solvers
-
608 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!