The 3n+1 Problem is known as Collatz Conjecture. Consider the following operation on an arbitrary positive integer: If the number is even, divide it by two. If the number is odd, triple it and add one. The conjecture is that no matter what value of the starting number, the sequence will always reach 1. Observe […]