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
-
4195 Solvers
-
Number of 1s in the Binary Representation of a Number
484 Solvers
-
10812 Solvers
-
Relative ratio of "1" in binary number
1665 Solvers
-
348 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!