You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Collatz conjecture is a opened mathematics problem. Given a number N, the repetition of this operation will always eventually reach the loop 1 ⇒ 4 ⇒2 ⇒1 ...
* If N is even, N becomes N/2
* If N is odd, N becomes 3*N+1
Can you try it with this numbers and print the number of steps to reach 1?