1. Introduction
The Collatz Conjecture, also known as the Collatz conjecture,
mapping, Ulam conjecture, Kakutani’s problem, Thwaites conjecture, Hasse’s algorithm, or Syracuse problem [
1], is one of the unsolved problems in mathematics. Paul Erdos (1913-1996) commented on the intractability of the
problem [
2], stating that "Mathematics is not ready for those problems yet".
The Collatz Conjecture states that, for any positive integer x, if x is even, divide it by 2; if x is odd, multiply it by 3 and add 1. Repeating this process continuously leads to the conjecture that no matter which number is initially chosen, the result will always reach 1 eventually.
2. A table and its algebraic expression
We employ the notations found in [
6] and provide the following description of a
Collatz function:
Let
N denote the set of positive integers. For
, and
and
denote
n and
, respectively. Concerning the behavior of the iteration of the Collatz function, for any integer
n, there must exist an integer
r such that
The
reduced Collatz function [
7,
8] is an alternate form of the Collatz function that translates one odd number to the next odd number, so that only odd numbers are included in the Collatz sequence. We use a table that has been modified from the tables in [
7], which is the process for iterating the Collatz function (
1) on
n. For instance, if
, the table is as follows.
Line 0 |
|
|
|
|
|
|
117 |
|
Line 1 |
117→ |
352→ |
176→ |
88→ |
44→ |
22→ |
11 |
|
Line 2 |
11→ |
34→ |
17 |
|
|
|
|
|
Line 3 |
17→ |
52→ |
26→ |
13 |
|
|
|
|
Line 4 |
13→ |
40→ |
20→ |
10→ |
5 |
|
|
|
Line 5 |
5→ |
16→ |
8→ |
4→ |
2→ |
1 |
|
|
Line 6 |
1→ |
4→ |
2→ |
1 |
|
|
|
|
The table’s unique feature is that the first and last numbers in each row are all odd numbers. If
x is the first odd number, then
y in the same row can be represented by the formula
where
r is the number of the arrows from the even number to last odd number in the same row. For instance, for the table on
, there are the following,
Line 1 |
suppose
|
there is the expression
|
Line 2 |
suppose
|
there is the expression
|
Line 3 |
suppose
|
there is the expression
|
Line 4 |
suppose
|
there is the expression
|
Line 5 |
suppose
|
there is the expression
|
Line 6 |
suppose
|
there is the expression
|
Substitute the expression in line 1 into the expression in line 2, we obtain
We substitute this expression into the expression in line 3, get
Using the same method, i.e., the composite function of the reduced Collatz function, we get the following expressions,
Thus, we have an algebraic expression
Proposition 1.
For positive integers , and , if , then there is a recurrence relation
where , and This is the associativity of the composite function of the reduced Collatz functions.
We can get the algebraic expression about the Collatz function,
The powers of 2 in the denominator are the sum of the numbers of arrows after the even numbers to the end of the line and the power of 2 in its next line. We can see that in the last column of the table from the last row to the first row, the powers of 3 are 0, in the numerator successively.
Example 1. When the Collatz function is iterated for n=7, we obtain the following sequence: .
If we utilize the iteration of the reduced Collatz function, we get the following table and algebraic expression:
7→ |
22→ |
11 |
|
|
|
|
11→ |
34→ |
17 |
|
|
|
|
17→ |
52→ |
26→ |
13 |
|
|
|
13→ |
40→ |
20→ |
10→ |
5 |
|
|
5→ |
16→ |
8→ |
4→ |
2→ |
1 |
|
3. The ultimately periodic sequence and a Diophantine Equation
If
is the first odd number in a table of the Collatz function applied to number
n, the formula
can be used to represent the last odd number in the same row. Thus one obtains a recurrenc relation of the Collatz function,
This yields the Collatz function’s sequence
, which we will refer to as the
ultimately periodic sequence [
9,
10].
For any given positive iteger number
n, by the iteration
one obtains a positive integer sequence
, where
is the Collatz function. Thus we give another notation about the Collatz conjecture is:
Conjecture 1. For any , there exists a positive integer , such that sequence , for . In other words, the sequencemust be an ultimately periodic sequence, and its preperiod must be the smallest nonnegative integer such that the subsequence is periodic .
Example 2. For , one obtains the ultimately periodic sequence, its preperiod , and its periodic is .
Example 3. For , one obtains the ultimately periodic sequence, its preperiod , and its periodic also is .
We can get a
Diophantine Equation from the relation (
6)
where
x and
y are any positive odd numbers,
r is any positive integer. We have the root:
,
. for and the other roots are the every row in the table of the Collatz sequence.
As it turns out, if the ring over which the sequence is defined is finite, then the sequence is guaranteed to eventually repeat [
10]. This give us a new approach to proof the Collatz Conjecture. We use the division of 2 and multiplication of 3 and addition 1 in binary format get a ring, Thus proof the Collatz Conjecture.
According (
6), there are three cases:
(i) , this implies that,
(ii) this implies that and
(iii) this implies that
For (i), there is an iteration (
6), for (ii) and (iii), there is a algebraic expression (
5) equals to 1 .
4. Numerical example
Applying the Collatz function on 9, 23, 15, 17, 61, 397 respectively, one obtains the following algebraic expressions,
For the formula
we rewrite it as an integer equation,
To calculate the power of 3 and the value of 18 using powers of 2,
substituting these expressions into the left-hand side of the above equation, one obtains,
and get the value
which is equal to the right value of the equation.
5. Convert an integer number from decimal to binary
Be inspired by the above, we use binary to rewrite the Collatz function (
1) as the following formulas (
14). We denote a binary number, which is a string of 0s and 1s, as
, where × is either 1 or 0, e.g.
,
When
n is an odd number, as shown in
Figure 1, if
, and
z are all bits 0 or 1, the result value
in binary string grows to the left by appending bits 10 or 1, and the penultimate bit
x does not change as the penultimate bit
x in the binary string of number
n.
Figure 1.
The Collatz function performs on odd number growing to the left by appending 10 or 1. The last bit must be 0 and the penultimate bit does not change.
Figure 1.
The Collatz function performs on odd number growing to the left by appending 10 or 1. The last bit must be 0 and the penultimate bit does not change.
When n is an even number, the result value of Collatz function is discarding the trailing zero, and the result value of the reduced Collatz function is discarding all r trailing zeroes, and r is also the number of zeroes in trailing of the binary string in the second columns.
We give the iteration of the Collatz function for
in binary as the following two tables.
111→ |
10110→ |
1011 |
|
|
|
|
1011→ |
100010→ |
10001 |
|
|
|
|
10001→ |
110100→ |
11010→ |
1101 |
|
|
|
1101→ |
101000→ |
10100→ |
1010→ |
101 |
|
|
101→ |
10000→ |
1000→ |
100→ |
10→ |
1 |
|
1000011→ |
11001010→ |
1100101 |
|
|
|
|
1100101→ |
100110000→ |
10011000→ |
1001100→ |
100110→ |
10011 |
|
10011→ |
111010→ |
11101→ |
|
|
|
|
11101→ |
1011000→ |
101100→ |
10110→ |
1011 |
|
|
1011→ |
100010→ |
10001→ |
|
|
|
|
10001→ |
110100→ |
11010→ |
1101 |
|
|
|
1101→ |
101000→ |
10100→ |
1010→ |
101 |
|
|
101→ |
10000→ |
1000→ |
100→ |
10 |
1 |
|
1 |
|
|
|
|
|
|
Example 4.
For10027=(10011100101011), we manipulate the iteration of the Collatz function in binary as the following table and the algebraic expression, we only concentrate the first two columns in binary string.
10027=(10011100101011)
|
(111010110000010)
|
10027 |
|
15041=(11101011000001)
|
(1011000001000100)
|
|
|
11281=(10110000010001)
|
(1000010000110100)
|
|
|
8461=(10000100001101)
|
(110001100101000)
|
|
|
3173=(110001100101)
|
(10010100110000)
|
|
|
595=(1001010011)
|
(11011111010)
|
|
|
893=(1101111101)
|
(101001111000)
|
|
|
335=(101001111)
|
(1111101110)
|
|
|
503=(111110111)
|
(10111100110)
|
|
|
755=(1011110011)
|
(100011011010)
|
|
|
1133=(10001101101)
|
(110101001000)
|
|
|
425=(110101001)
|
(10011111100)
|
|
|
319=(100111111)
|
(1110111110)
|
|
|
479=(111011111)
|
(10110011110)
|
|
|
719=(1011001111)
|
(100001101110)
|
|
|
1079=(10000110111)
|
(110010100110)
|
|
|
1619=(11001010011)
|
(1001011111010)
|
|
|
2429=(100101111101)
|
(1110001111000)
|
|
|
911=(1110001111)
|
(101010101110)
|
|
|
1367=(10101010111)
|
(1000000000110)
|
|
|
2051=(100000000011)
|
(1100000001010)
|
|
|
3077=(110000000101)
|
(10010000010000)
|
|
|
577=(1001000001)
|
(11011000100)
|
|
|
433=(110110001)
|
(10100010100)
|
|
|
325=(101000101)
|
(1111010000)
|
|
|
61=(111101)
|
(10111000)
|
|
|
23=(10111)
|
(1000110)
|
|
|
35=(100011)
|
(1101010)
|
|
|
53=(110101)
|
(10100000)
|
|
|
5=(101)
|
(10000)
|
|
|
The ultimately periodic sequence of the sequence of the Collatz, its preperiod , and its periodic also is
6. The character of a binary string
The Collatz function iteration was applied to its binary string of a positive integer number (
14), and we highlight its properties below. The research papers on this subject can be found in [
6,
7]. "A full description of how a bit string’s length will change under application of the reduced Collatz map has yet to appear in the literature⋯, this article provides a way to tell, by inspection, the change in length that a bit string will incur under the reduced Collatz map." Here, we’ll describe the change caused by the application of the reduced Collatz function (
3) (
) or Collatz function (
) in binary format, along with an inspection of the change.
We shall discuss the table’s horizontal and vertical aspects in binary string.
6.1. The row character
As illustrated in
Figure 1, we compare the first binary string of odd number
and the second binary string of even number
in every line. The Collatz function
in binary grows to the left of the binary string
by appending one bit 1 or two bits 10, the last bit must be 0, and the penultimate bit does not change, let
and
z in the binary string be 0 or 1.
if , then , or
if , then
The last binary string is created by discarding all trailing zeroes (one or more integers) from the second column even number in binary string.
6.2. The first column character
The binary string is concentrated in the first column of the table. We concentrate the sub-binary string (which is make of bit 1 and sepereted by at least one bit 0), , which is to the right of the binary string, on the ith line. From top to bottom of the table, and sub-binary string, , which is in the following line, -th, the binary string, . Let have the length and have the length .
For positive , if then , and the next must be , and so on, to 1, i.e., correspondingly,
When , then or , correspondingly, .
The last line in the table must be 1.
6.3. Hard number
I coined the term
hard number to describe the last odd number that any integer can reach before it becomes
, which appears in the sequence of the Collatz function and has
trailing zeroes, its formula is
where in the binary string
, which has
k 1s. The first hard numbers are:
A hard number is in the last second line in the table of the Collatz sequenc.
6.4. Proof the Collatz conjecture
The character shows everything from the tables 10027 and 63 in [
7]. As a result of this section, we may provide a universal approach for proving the Collatz conjecture.
For any positive integer
n, the sequence of the iteration under the Collatz function (
6), is the first column in the table, by the character in row of that growing in the left by appending 10 or 1, discarding all trailing more than two zeroes to make the sequence shrink to a hard number and eventually reach 1, which means that for any positive integer n, the algebraic expression (
5) must exist.
Thus, for any positive integer
n, there exists an ultimately periodic series resulting from iteration of the Collatz function (
6), and the Diophantine equations (
7) must have finite roots.
Claim 1. We give the statement "period three implies chaos" [3] another interpretation: for positive integer n, the sequence of the Collatz is an ultimately periodic sequence, its preperiod is an related-to n positive, and the least period .
7. Conclusions
We transform the Collatz function from decimal to binary, then use the binary string’s character to prove the Collatz conjecture. In addition, we use mathematics to give another interpretation to chaos, which is the ultimately periodic positive integer sequence.
Acknowledgments
Gansu Province Educational Technology Innovation Project, No. 2022A13.
References
- Jeffrey C. Lagarias. The 3x + 1 Problem and Its Generalizations. American Mathematical Monthly, Vol. 92, No. 1, pp 3-23.(1985).
- Jeffrey C. Lagarias. The 3x+1 Problem: An Overview. arXiv:2111.02635.
- Li, T., Yorke, J. A. Period three implies chaos. Am. Mat. Monthly, 82, 985–992 (1975).
- TERENCE TAO, Almost all orbits of the Collatz map attain almost bounded values. arXiv:1909.03562v5, 2022,1,15.
- Jishe FENG, Xiaomeng WANG, Xiaolu GAO, Zhuo PAN. The research and progress of the enumeration of lattice paths. Frontiers of Mathematics in China, 2022, 17(5): 747-766.
- Alf Kimms. The structure of the 3x + 1 problem, Electronic Journal of Graph Theory and Applications. 9(1)(2021), 157–174.
- Richard Kaufman. A reduced forward Collatz algorithm: How binary strings change their length under 3x+1. arXiv:2301.07466.
- Patrick Chisan Hew. Collatz on the Dyadic rdtional in [0.5,1) with fractals: how bit strings change their length under 3x+1. Experimental Mathematics, 2021, 30(4): 481-488.
- G. Ganesan. Linear recurrences over a finite field with exactly two periods. Advances In Applied Mathematics 127(2021)102180.
- D. Quijada. Periods of linearly recurring sequences. Bachelor thesis, Washington and LeeUniversity, 2015.
|
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. |
© 2023 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/).