Please try to solve a harder version "Problem 44448. Project Euler: Problem 14 Longest Collatz sequence"
https://ww2.mathworks.cn/matlabcentral/cody/problems/44448
1601 Solvers
502 Solvers
Convert a vector into a number
503 Solvers
Matrix with different incremental runs
249 Solvers
228 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!