Please try to solve a harder version "Problem 44448. Project Euler: Problem 14 Longest Collatz sequence"
https://ww2.mathworks.cn/matlabcentral/cody/problems/44448
17231 Solvers
537 Solvers
651 Solvers
171 Solvers
905 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!