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 Solvers26
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6843 Solvers
-
Remove from a 2-D matrix all the rows that contain at least one element less than or equal to 4
140 Solvers
-
1980 Solvers
-
755 Solvers
-
427 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!