Please try to solve a harder version "Problem 44448. Project Euler: Problem 14 Longest Collatz sequence"
https://ww2.mathworks.cn/matlabcentral/cody/problems/44448
3119 Solvers
1400 Solvers
Sum of first n terms of a harmonic progression
258 Solvers
246 Solvers
52 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!