Collatz’s conjecture is a mathematical conjecture that received its name in reference to the German mathematician Lothar Collatz, who was the first to propose it, in 1937.
This conjecture applies to any integer natural number, and tells us to, if this number is even, divide it by 2 (/ 2), and if it is odd, to multiply by 3 and add 1 (* 3 + 1) . In this way, for example, if the sequence starts with the number 5, there will be: 5; 16; 8; 4; 2; 1. The conjecture presents a rule saying that any natural whole number, when applied to this rule, will eventually always reach 4, which becomes 2 and ends in 1. This sequence in question can also be called Hail Numbers or Wonderful Numbers. The explanation for these last names is “like the hail in the clouds before falling, the numbers jump from place to place before reaching 4, 2, 1”.
When using for the first time, the language is Portuguese, but you can change it to German, Spanish, French, Italian or English.
version 1.0.0 ♣ Windows ♣ 4,87 MB