For given x,
if x is even, output is (x/2)
if x is odd, output is (3x+1)
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers35
Suggested Problems
-
Find state names that start with the letter N
1507 Solvers
-
Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)
267 Solvers
-
Check that number is whole number
5496 Solvers
-
738 Solvers
-
Double all elements in the array
2412 Solvers
More from this Author4
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!