Collatz conjecture is one of the most famous unsolved problems in mathematics. According to it, if the number is even then it is divided by 2 and if it is odd then it is multiplied by 3 and 1 is added. This sequence will be repeated over and over and the final result is always 1.