The Collatz calculator calculates the Collatz mapping for any given number. You can type in either box (decimal or binary) and press [enter] to calculate the result of applying the mapping.
Alternative phrasing of the Collatz Conjecture: "The Hamming weight of the Collatz mapping always returns to 1."
Some shortcuts:
If the hamming weight of a number is 1, we can stop.
If the hamming weight of a number is 2, and the bits are in the form "...101...", we can stop.
If the number is part of the orbit of 4x+1 with x initially odd, we can stop because 3x+1 will turn it into "1000...etc.". See "10101" and add "10" to it repeatedly.
A number of the form "xxxx00101010101(etc.)" will reduce to "(3*xxxx)1"
If the number ends in "0000" but is bigger than 1, you can divide it by 16.
If the number ends in "0001" but is bigger than 1, the next step is: (3x+1)/4.
If the number ends in "0010" you can divide by 2.
If the number ends in "0011" but is >= 35 (like 10 0011), then the next step is: (3((3x+1)/2)+1)/16 = (9x+5)/32 (because it ends up as "0101" after the first x/2).
If the number ends in "0100" you can divide by 4.
If the number ends in "0101" the next step is (3x+1)/16.
If the number ends in "1000" you can divide by 8.
If the number ends in "1001" the next step is (3x+1)/4.
If the number ends in "1010" the next step is (3(x/2)+1)/16.
If the number ends in "1011" the next results are difficult to predict.
If the number ends in "1100" you can divide by 4.
If the number ends in "1101" the next step is: (3x+1)/8.
If the number ends in "1110" the next results are difficult to predict.
If the number ends in "1111" the next results are difficult to predict.