إنشاء تسلسل Collatz لأي عدد يصل إلى 100000000000.
The Collatz conjecture is one of the most famous unsolved problems in modern mathematics. Start with any positive integer n. Then each term is obtained from the previous term as follows: if the previous term is even, the next term is one half the previous term. Otherwise, the next term is 3 times the previous term plus 1. The conjecture is that no matter what value of n, the sequence will always reach 1. Thus every known number has a specific sequence that will bring it to 1. This can app generate that sequence for number under 100 billion in seconds.