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 Solvers20
Suggested Problems
-
Return the 3n+1 sequence for n
8117 Solvers
-
2987 Solvers
-
Program an exclusive OR operation with logical operators
705 Solvers
-
605 Solvers
-
144 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!