Terms:
: , is odd set, do , then do k times repeatedly until get an odd. At this point, these odds are called Collatz odds.
: , highest binary bit is , do , then do k times repeatedly until get an odd.
1. Introduction About The Collatz Conjecture
The Collatz Conjecture is a famous math conjecture, named after mathematician Lothar Collatz, who introduced the idea in 1937. It is also known as the 3x + 1 conjecture, the Ulam conjecture etc. Many mathematicians have tried to prove it true or false and have expanded it to more digits scale. But until today, it has not yet been proved.
The Collatz Conjecture concerns sequences of positive integers in which each term is obtained from the previous one as follows: if the previous integer is even, the next integer is the previous integer divided by 2. If the previous integer is odd, the next term is the previous integer multiply 3 and plus 1. The conjecture is that these sequences always reach 1, no matter which positive integer is chosen to start the sequence.
Here is an example for a typical integer , takes up to 111 steps, increasing or decreasing step by step, climbing as high as 9232 before descending to 1.
27, 82, 41, 124, 62, 31, 94, 47, 142, 71, 214, 107, 322, 161, 484, 242, 121, 364, 182, 91, 274, 137, 412, 206, 103, 310, 155, 466, 233, 700, 350, 175, 526, 263, 790, 395, 1186, 593, 1780, 890, 445, 1336, 668, 334, 167, 502, 251, 754, 377, 1132, 566, 283, 850, 425, 1276, 638, 319, 958, 479, 1438, 719, 2158, 1079, 3238, 1619, 4858, 2429, 7288, 3644, 1822, 911, 2734, 1367, 4102, 2051, 6154, 3077, 9232, 4616, 2308, 1154, 577, 1732, 866, 433, 1300, 650, 325, 976, 488, 244, 122, 61, 184, 92, 46, 23, 70, 35, 106, 53, 160, 80, 40, 20, 10, 5, 16, 8, 4, 2, 1.
If the conjecture is false, there should exist some starting number which gives rise to a sequence that does not contain 1. Such a sequence would either enter a repeating cycle that excludes 1, or increase without bound. No such sequence has been found by human or computer after verified a lot of numbers can reach to 1. It is very difficult to prove these two cases exist or not.
This paper will try to prove the conjecture true from a special view. Because any even can become odd through operation, this paper will research only odd characters in the conjecture sequence. The equivalence conjecture becomes: with random starting odd x, do operation repeatedly, it always converges to 1. The above sequence can be written as follows, in which numbers on arrows are k in in each step:
2. Equivalence of And Operation
Lemma 2.1:, highest binary bit is , do operation get odd b , with complement odd do operation get odd c, then their times of operation is same, , and .
Prove: First,
Because both b and c are odds, then
, and
Then .
For example, , , ,
This states, with any Collatz odd do operation, we can do operation with its complement odd a instead, they are equivalent.
For example, use 7 as start Collatz odd, Collatz sequence is: . Use 9 as corresponding start complement odd, sequence is: .
Lemma 2.2:, do operation get odd b, .
Prove:
We call odds of form is convergence state for any odds(), if they can reach to after doing operation repeatedly.
Lemma 2.3:, highest binary bit is , do operation get an even, result must grow 2 binary bits, with odd part of result do operation repeatedly, m is highest binary bit number plus 1 of the odd part produced in each step, then count of succession binary bit 1 in head part of odd produced in each step must remain unchanged or increased, and must increase 1 within 3 steps, until reach to convergence state.
Prove: , ()
, tail part is possible to carry 0, 1 or 2 bits to head part. If carries 0 bit, head part changes nothing; If carries 1 bit, head part ; If carries 2 bits, head part . All cases highest binary bit is , grows 2 binary bits.
If head of first odd or odd part of result has only one succession binary bit 1, has following 4 cases:
Case 1: odd part is with binary form 1000*...1, head part becomes 101000 after doing , tail part *...1 is possible to carry 0, 1 or 2 bits to head part after doing . If carries 0 bit, head part changes nothing; If carries 1 bit, head part +1, becomes 101001; If carries 2 bits, head part +10, becomes 101010. All cases form of head part is same with case 3, count of succession binary bit 1 remains unchanged.
Case 2: odd part is with binary form 1001*...1, head part becomes 101011 after doing , tail part *...1 is possible to carry 0, 1 or 2 bits to head part after doing . If carries 0 bit, head part changes nothing, its form is same with case 3; If carries 1 bit, head part +1, becomes 101100, its form is same with case 4; If carries 2 bits, head part +10, becomes 101101, its form is same with case 4. All cases count of succession binary bit 1 remains unchanged.
Case 3: odd part is with binary form 1010*...1, head part becomes 101110 after doing , tail part *...1 is possible to carry 0, 1 or 2 bits to head part after doing . If carries 0 bit, head part changes nothing, its form is same with case 4, count of succession binary bit 1 remains unchanged; If carries 1 bit, head part +1, becomes 101111, its form is same with case 4, count of succession binary bit 1 remains unchanged; If carries 2 bits, head part +10, becomes 110000, count of succession binary bit 1 increases 1.
Case 4: odd part is with binary form 1011*...1, head part becomes 110001 after doing , tail part *...1 is possible to carry 0, 1 or 2 bits to head part after doing . All cases count of succession binary bit 1 increases 1.
Hence, within 3 steps count of succession binary bit 1 in head part of odd increases 1, until reach to convergence state. In convergence state, count of succession binary bit 1 always remains unchanged.
Similar to cases of head of first odd or odd part of result produced in each step have more than one succession binary bit 1.
For example, , , .
Corollary: If exists loop sequence in Collatz odd sequence, expand in corresponding odd sequence, get odd sequence , then .
3. Odd Tree
Use all odds in order in set to build a "tree":
...
L6: 129(321.1) 131(81.3) 133(327.1) 135(165.2) 137(333.1) 139(21.5) 141(339.1) 143(171.2) 145(345.1) 147(87.3) 149(351.1) 151(177.2) 153(357.1) 155(45.4) 157(363.1) 159(183.2) 161(369.1) 163(93.3) 165(375.1) 167(189.2) 169(381.1) 171(3.8) 173(387.1) 175(195.2) 177(393.1) 179(99.3) 181(399.1) 183(201.2) 185(405.1) 187(51.4) 189(411.1) 191(207.2) 193(417.1) 195(105.3) 197(423.1) 199(213.2) 201(429.1) 203(27.5) 205(435.1) 207(219.2) 209(441.1) 211(111.3) 213(447.1) 215(225.2) 217(453.1) 219(57.4) 221(459.1) 223(231.2) 225(465.1) 227(117.3) 229(471.1) 231(237.2) 233(477.1) 235(15.6) 237(483.1) 239(243.2) 241(489.1) 243(123.3) 245(495.1) 247(249.2) 249(501.1) 251(63.4) 253(507.1) 255
L5: 65(161.1) 67(41.3) 69(167.1) 71(85.2) 73(173.1) 75(11.5) 77(179.1) 79(91.2) 81(185.1) 83(47.3) 85(191.1) 87(97.2) 89(197.1) 91(25.4) 93(203.1) 95(103.2) 97(209.1) 99(53.3) 101(215.1) 103(109.2) 105(221.1) 107(7.6) 109(227.1) 111(115.2) 113(233.1) 115(59.3) 117(239.1) 119(121.2) 121(245.1) 123(31.4) 125(251.1) 127
L4: 33(81.1) 35(21.3) 37(87.1) 39(45.2) 41(93.1) 43(3.6) 45(99.1) 47(51.2) 49(105.1) 51(27.3) 53(111.1) 55(57.2) 57(117.1) 59(15.4) 61(123.1) 63
L3: 17(41.1) 19(11.3) 21(47.1) 23(25.2) 25(53.1) 27(7.4) 29(59.1) 31
L2: 9(21.1) 11(3.4) 13(27.1) 15
L1: 5(11.1) 7
L0: 3
Graph 3.1 odd tree
All odds in the tree do operation, in () means result is after front odd doing operation, value b is called step property of the front odd. Layer i has elements, first element is , last element is , which is convergence state.
In this tree, because element count of each layer is 2 times of which of downward layer, we can transform all element positions to one specific layer, layer transform to layer do , layer i transform to layer do ..., then all transformed positions(to layer ) can not exceed .
Lemma 3.1: Suppose a is any odd before convergence state in layer , , b is odd, then b is in layer .
Prove: According to Lemma 2.3, highest binary bit of is , then highest binary bit of b is , is in layer .
Lemma 3.2: Suppose a is any odd before convergence state in layer , highest binary bit is , , do get odd b, b do get odd c. Then transform position(to layer ) of b is bigger than which of a. If step property of a is , step property of b is , transform position increment ratio from a to c is .
Prove: Position of a in layer is: ,
, b is in layer
Position of b in layer is: ,
Position of b in layer is:
, c is in layer
Position of c in layer is:
Position of c in layer is:
Transform position increment from odd a to b is:
Only when and or and , , these two cases are convergence state or quasi convergence state of Collatz odd sequence. Other cases , even in expanding loop sequence. When , the bigger is, the bigger will be.
, transform position increment ratio from a to c is:
Because , . Then if and or and , ; if , ; other cases .
Obviously, the transform position increment regularity is also suitable for all following steps, as long as in each step corresponding Collatz odd is bigger than 3.
4. Convergence of Transform Position For Odds in Odd Tree
Suppose start odd a is any odd before convergence state in layer , is its position in layer , is transform position(to layer ) of odd produced in step i, deduce common transform position :
...
Use mathematical induction get
.
Furthmore, use to represent transform position(to layer ) of odd produced in step i from start odd a in layer . We can change the value of step property to different positive integer or delete middle steps in order to compare two transform positions. At this point, the modified transform position is called virtual transform position, use same common formula to calculate two kinds of transform position.
Lemma 4.1:a is positive rational number, , highest binary bit of its integer part is , do operation similar with : , . Then , , virtual transform position(to layer ) of b is bigger than which of a, virtual transform position increment ratio from a to c is .
Prove:
Because ,
, then
Because ,
Then
Because , use same way can prove .
Because two kinds of transform position formula are same, virtual transform position increment from odd a to b is:
, when ,
Virtual transform position increment ratio from a to c is:
Obviously, the virtual transform position increment regularity is also suitable for all following steps, as long as step property of each step is 2.
Lemma 4.2: For any non-convergence start odd a in layer , if , .
Prove:
If all , use mathematical induction get
, then .
Lemma 4.3: For any non-convergence start odd a in layer , if , .
Prove:
If all , use mathematical induction get
, then .
Lemma 4.4: For any non-convergence start odd a in layer , if after doing operation, corresponding Collatz odd in each step is bigger than 3, then , where .
Prove:
According to Lemma 4.2 and Lemma 4.3
.
The result can be extended to more cases such as ...
For example, with start Collatz odd 27, Select 37 as corresponding start odd in odd tree, , original transform positions(to layer 4) in following steps are:
, , , , ...
Corresponding virtual transform positions(to layer 4) are:
, , , , ...
This is to say, if delete all (1) steps in long sequence and change all ( ) steps to (2) steps, final virtual transform position is smaller than original, if corresponding original Collatz odd in each step is bigger than 3.
Lemma 4.5: If exists loop Collatz odd sequence, step count must be bigger than 2.
Prove: For any Collatz odd , suppose .
Then , there exists no odd solution.
Suppose , , where odd .
Then , .
Get , and , then , , it is contradictory.
Hence, if exists loop Collatz odd sequence, step count must be bigger than 2. This way, according to Lemma 2.3, we can expand loop Collatz odd sequence(if exists), get a ∞ steps odd sequence, and it is no longer loop sequence.
Lemma 4.6: If exists ∞ steps non-convergence Collatz odd sequence, step property of any tail part of the sequence is not possible to always be 1.
Lemma 4.7: It is not possible to exist loop Collatz odd sequence or ∞ steps non-convergence Collatz odd sequence.
Prove: If exists, odds in the sequence must be bigger than 3, change to odd sequence, expand loop Collatz odd sequence, then both cases we get ∞ steps odd sequence, there are many (1) and () steps.
Select a part sequence from original odd sequence, odd a in layer as start odd, last step is (), exists many (1) and () steps in the middle. Use common transform position formula to produce a transform position (to layer ) sequence. Delete all (1) steps before last step and change all ( ) steps to (2) steps, use common transform position formula to produce a new z steps virtual transform position sequence.
According to Lemma 4.1, transform position increment ratio of new transform position sequence is always . According to Lemma 4.4, final transform position of original sequence is(can also be gotten from common transform position formula):
Original Collatz sequence must appear () steps continuously after some (1) steps each time, count of () steps must be infinite.
When ,
Walk out of boundary of odd tree, it is not possible in real world.
5. Conclusion
This way, we have proved that the Collatz Conjecture is true. If exists loop or ∞ steps non-convergence Collatz odd sequence, change them to odd sequence, both cases exist ∞ steps, and will finally walk out of boundary of odd tree.
Reference
- Wikipedia. Collatz Conjecture, TheFreeDictionary.commirror.Ia.thefreedictionary.com.
|
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).