1. Introduction
In the study of number theory, odd and even numbers are a fundamental pair of ideas. Natural number sets can be parted to two different sets. There are many conjectures that attempt to generalize the fact of different kinds of natural numbers discovered in a restricted range to the entire infinite set of natural numbers. This article will proof the famous Collatz conjecture, which states that for each natural number n, if it is even, divided by 2, if it is odd, multiplied by 3, and added 1, and so on, the eventual value must be 1. It is also referred to as the conjecture and was put forth in 1937 by Lothar Collatz, also known as the problem. The mathematician Paul Erdos once said of this conjecture: "Mathematics may not be ready for such problems".
For the Collatz conjecture, we can describe it as a function:
The following sequence is obtained via the composite function (iteration): . Consequently, the Collatz conjecture can be stated as follows:
Collatz conjecture 1: For any natural number n, there is finite natural number m, the sequence always leads to the integer 1, namely .
The series is an infinite sequence of ultimately period . So we give another statement of the Collatz conjecture as the following.
Collatz conjecture 2: The series is an infinite sequence of ultimately period, the preperiod varies with the initial value n, but the ultimately period is always .
2. An Algebra and Graph Representation of Natural Numbers
2.1. The Composition of Odd-Number and Even-Number Functions
A natural number is considered even if it can be divided by 2; if not, it is considered odd. According to the Peano’s Axiom, the smallest natural number is 1. The set of natural numbers can be divided into odd and even sets; in this paper, we will use the usual definition of natural numbers. .
In the set of natural numbers where 1 is the smallest odd number and 2 is the smallest even number, we can use the expression to indicate that it is an odd, and the expression to indicate that it is an even, where k is any natural number.
We introduce two functions to express odd numbers greater than 1, and to express even numbers, where x is any natural number in N.
We define a strictly increase monotonically piecewise function
, from a natural number
n it generates two cases: odd or even numbers:
Definition 1.
A natural number n is obtained by composition of the odd-number function and the even-number function several times, namely
the function f is either odd-number function or even-number function .
For example, ,
,
.
Any natural integer n is the value of the finite times composite function of the odd-number and even-number functions beginning at 1. In particular, If , then is the inverse function.
2.2. Use Binary String to Represent Natural Numbers
Using binary string to represent a natural number n, we can more clearly express the odd-number and even-number functions starting at 1 composite process of a natural number. The string indicates the order of composition of and ; 0 implicates an even-number function, and 1 implicates an odd-number function.
A natural number’s binary string represents its odd-even composite function; from left to right, the
odd-number function
is represented by the 1 in the
-bit, and the equivalent even-number function
is represented by 0. For instance, the procedure of the composite function of 60 is displayed in
Figure 1.
2.3. Use a Graph to Represent the Composite Procedure of the Natural Numbers
In order to give an intuitive impression, we provide
a full binary directed tree to represent the natural number set, the root is the smallest number 1. For per vertex, its left-child is an even number which double itself, its binary string is appended by 0, right-child is an odd number which double itself and add 1, its binary string is appended by 1. For an natural number its binary string indicates the procedure of the composition of
and
from initial value 1 to the final accordingly binary string from the left to right. The full binary directed tree, as in
Figure 2, is a very good representation of natural number
N.
Proposition 1. A binary string’s length indicates its level in the full binary directed tree, and a binary string’s length minus one represents the number of times the odd- and even-number composite functions occur.
For given natural number
n, its binary string from the second bit in left to right appending 0 or 1, indicates which comes from the root 1 of the full binary directed tree traversal according only one branch to itself. For instance,
Figure 3 illustrates the procedures of composite odd-number and even-number of 21 and 29.
Given a natural number
n, its binary string make of 0 or 1 from the second bit from left to right shows which originates from the root 1 of the full binary directed tree traversal, which only allows one branch to lead to itself. For example, the processes for the composite odd-number and even-number of 21 and 29 are shown in
Figure 3.
2.4. Another Partition of the Natural Number Set
We give the definitions of three kinds of natural numbers:
Definition 2.
(i) A natural number, , is obtained by applying the odd-number function m components. We call it as pure odd number. For instance, those are pure odd numbers: . These are located in the full binary directed tree of Figure 2, which is the right leg of the isosceles triangle.
(ii) A natural number, , is obtained by applying the even-number function m components. We call it as pure even number. For instance, those are pure even numbers: , , , , , . Those are located in the left leg of the isosceles triangle, namely the full binary directed tree of the Figure 2.
(iii) The natural number obtained by the composition of odd function and even function , we call it mixed number. Such as, . Those are in the inside of the isosceles triangle, the full binary directed tree of the Figure 2.
In particular, the natural numbers obtained by the finite alternately composition of the odd function and the even function , namely, . Such as
The traversal path in the full binary directed tree from the root to down along the arcs, for each natural integer
n, is its binary string
, where the left-child appended 0 for each vertex is an even number and the right-child appended 1 for each vertex is an odd number. For instance, in
Figure 3,
originates at the root 1 and proceeds down 2,5,10, ultimately reaching 21. To the vertexes,
, 0,1,0,1 are appended. In addition, for
, the appendix 1,1,0,1 is added to the vertexes,
, after it descends from the root 1 down 3,7,14, and ultimately reaches 29.
Property 1. The set of natural numbers can be partited into three different sets: {natural number} =
{pure even number}∪{pure odd number}∪{mixed number}, where {mixed number}={mixed even number}∪{mixed odd number}
Example 1.
(1) 60, 97 are mixed numbers.
(2) are pure even numbers.
(3) are pure odd numbers.
When we convert those natural numbers from decimal to binary, the facts are obvious.
(1) is a mixed-even number, is a mixed-odd number.
(2) , are pure even numbers:
, are pure odd numbers.
3. Two Functions Compare
In order to proof the Collatz conjecture 1 in section 1, finding the beingness and finiteness of the number m in the expression for a natural number n is the main challenge.
To visually represent the process of the composite functions of odd- and even-number functions, i.e.,
, we propose a full binary directed tree. The following is the inverse functions
,
The inverse function differs from the Collatz function , but so do the results of their own finite iterations. However, for infinite or a sufficiently large number of iterations, the iteration Collatz function’s value is the smallest number 1 to the cycle .
If there is a formula for a given natural number n, we know that k is the length of the binary string of n minus 1. In decimal notation, we represent n, which obscures the composite process of odd- and even-number functions. When n is represented as a binary string, it can be used to understand how odd- and even-number functions work.
The iteration of the Collatz function is the key topic in discuss the proof procedure, we have the reduced Collatz function
There are many different points for piecewise functions when comparing the Collatz function with the function , the reduced Collatz function , and the iteration function .
1) For any natural number x the function and are strictly monotonically decreasing.
2) The function
, which is strictly monotonically rising, is merely one case of the functions where
x is purely even. The function
is wavy when
x is a pure or mixed odd number. It is increasing at first, then goes through one or more decreasing processes, either as "increase – decrease – increase" or "increase – decrease ⋯ decrease – increase." For instance, the iterated sequence of Collatz functions is plotted in
Figure 4 and 5, where the beginning values are pure odd
and mixed odd number
, respectively.
4. Proof the Collatz conjecture
We have known that mathematics formula about geometric progression with initial term 1 and common ratio
x, the sum of the first
k terms is
when
, there is a formula
The substantive characteristics is that the powers of 2 must be continuous natural numbers, this is the key to our proof method to solve the Collatz conjecture.
Proof. (i) The conjecture states that if a given natural number is a pure even, then the smallest natural number 1 can be reached by simply repeating the k times Collatz function divided by 2.
(ii) When a natural number n is not pure even, that is, when it is either pure odd or mixed odd (a mixed even is eliminated since the end-substring 0 can become an odd number; hence, we do not include this case).
Given an odd number
n, which can be expressed as follows in algebraic notation:
, then
If the length of the end-substring of n is 1, the length of end-substring of the binary string is either 1 or bigger than 1.
Two formulas, and above (6), can be used to modify the structure of the binary string n to the binary string . That is, there is an appended term in two equivalent terms, and . When the zeros in the middle of a binary string are compared to a bubble, it means that these zeros are gradually being driven out of the rightmost end by . It is the same as progressively removing the bubbles hidden in the sponge using a means . Once 3n+1, 0 shifts one bit to the right, i.e., the length of the associated binary substring is reduced by one bit, when the length of the end-substring is greater than 1. The end-substring length of the binary string is either greater than or equal to 1 if the length of the end-substring of n is 1.
We shall then divide
by the last term
,
get another odd number, this is the value of reduced Collatz function (4). And so on, finitely steps after finally we get a pure even number
, this is the case in above (i), thus the Collatz conjecture hold on.
We illustrate the procedure by a mixed odd number
and hard number set in the following,
For a special class of mixed numbers, the hard number
, then its Collatz sequent result is
This means that the Collatz conjecture is valid for this case. Therefore we have proved the Collatz conjecture 1 at section 1 of this paper. □
Proof. For the smallest number
and so on, this is a cycle
, This is the Collatz conjecture 2 at section 1 of this paper. □
5. Conclusions
From previous proof of the conjecture, it becomes a theorem.
Theorem 1. There exists a finite natural number m for every natural number n. The Collatz sequence always arrives at the integer 1, that is, .
Theorem 2. For any positive integer n, the sequence of the iteration of the Collatz function is an ultimately periodic sequence, its preperiod is a related-to n, and the least period is .
References
- Jeffrey C. Lagarias, editor. The Ultimate challenge: the 3x + 1 problem. American Mathe- matical Society, Providence, RI, 2010.
- Richard Kaufman, editor. A reduced forward Collatz algorithm: How binary strings change their length under 3x+1. 2023, arXiv:2301.07466. [CrossRef]
- G. Ganesan., editor. Linear recurrences over a finite field with exactly two periods. Advances In Applied Mathematics., 2021.
- D. Quijada., editor. Periods of linearly recurring sequences. Bachelor thesis, Washingto and Lee University, 2015.
- Bulent Sukusu, editor. Proof of the Collatz Conjecture. Theoret. Math. App., 2023.
- Jishe Feng, editor. Proof the Collatz Conjecture by a new view of natural numbers. 2023. [CrossRef]
|
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/).