logic(1) = -4
logic(2) = -8
logic(3) = -9
logic(4) = 4
logic(5) = 95
logic(6) = 690
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers13
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6847 Solvers
-
Increment a number, given its digits
689 Solvers
-
316 Solvers
-
988 Solvers
-
328 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!