Problem 47558. Guess the logic
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 commentsProblem Recent Solvers21
Suggested Problems
-
2294 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1867 Solvers
-
Find the sum of the elements in the "second" diagonal
1164 Solvers
-
Solve the set of simultaneous linear equations
437 Solvers
-
find the roots of a quadratic equation
231 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!