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 Solvers24
Suggested Problems
-
Find the sum of all the numbers of the input vector
54638 Solvers
-
5101 Solvers
-
Remove all the words that end with "ain"
2692 Solvers
-
Which values occur exactly three times?
5245 Solvers
-
Magic is simple (for beginners)
11527 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!