I got tired of solving these problems. So, I just wrote a solution that works for everything.
Return the 3n+1 sequence for n
6205 Solvers
521 Solvers
369 Solvers
537 Solvers
Divisible by n, prime divisors from 20 to 200
43 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!