Another Proof of the Truth of the Collatz Conjecture, Using Gaussian Arithmetic, Probability, and Statistics ()
1. Introduction
The German mathematician Lothar Collatz is known for proposing, in 1937, the conjecture that bears his name, also known as the 3n + 1 conjecture. The conjecture uses the following linear functions.
Definition 1 (Collatz Function).
We will refer to the following function as the Collatz function:
defined by
Note that both functions are linear.
Definition 2 (Collatz Conjecture).
The Collatz Conjecture is defined as follows:
For any starting point
, the sequence obtained by successive applications of the function
would eventually arrive at 1 (so that the cycle 4, 2, 1 is repeated indefinitely).
We will refer to these sequences as “trajectories.”
For a historical view of the study of the Collatz conjecture, see [1] and [2].
Numerical computation was used to prove that all numbers less than or equal to 2.95147 × 1020 satisfy the Collatz conjecture; see [3].
The article [4] uses the concept of “congruences in general,” which was introduced by Carl F. Gauss in Chapter 1 of his Disquisitiones Arithmeticae [5], to define a directed graph. This graph constitutes the Collatz trajectory space, since all trajectories are a continuous movement within the graph. The graph contains three loops that are essential for determining whether a counterexample trajectory exists. By contradiction, it is proven that only one of them could generate it, but by induction, it is proven that it is not feasible. Therefore, the conjecture is confirmed to be true.
In this paper, we will examine the detailed structure of the trajectories and address the conjecture from a different perspective. Our analysis will demonstrate that the conclusion reached in [4]—that the Collatz conjecture is true—is indeed valid.
This paper is organized as follows: In Section 2, we will study the structure of Collatz trajectories and their representation as a directed graph. We will also see that we only need to study the trajectories
. In Section 3, we will see the structure of trajectories
. In Section 4, we will define the probabilístic model. In Section 5, we will study
and the counterexample trajectories. Finally, in Section 6, we will prove the Collatz conjecture.
Notation
1)
: the set of integers.
2)
: the set of natural numbers.
3)
: the set
including zero.
4)
; or also.
,
, where we do not explicitly state the value modulo 6.
5)
is any trajectory that starts at
, with
.
6)
, is a generic expression of
, with
and
represents any number of that residue class.
7)
= A simplified way to refer to the loop,
.
8)
= A simplified way to refer to the loop,
.
9)
= A simplified way to refer to the loop,
.
10)
= A simplified way to refer to the loop,
.
11)
= A simplified way to refer to the multiplier factor of
.
12)
= A simplified way to refer to the multiplier factor of
.
13)
= A simplified way to refer to the multiplier factor of
.
14)
= A simplified way to refer to the overall multiplier factor.
2. Structure of Collatz Trajectories
In this Section, we will examine the definition of a trajectory and its structural elements, and how to represent them as a directed graph, using modulo 6 arithmetic, according to [4].
Finally, we prove that we only need to study the trajectories
, see Notation (5).
Definition 3 (Collatz Trajectory).
For
, the trajectory of
is the sequence obtained by successively applying the function
to
. We will denote it by
. Hence,
And we can also write
, where
and
is the number of position
in the sequence, with
.
At this juncture, I would like to recall Proposition 1 from my previous article on the Collatz Conjecture, as it serves as a fundamental reference point for the proof.
Proposition 1. (E.A. Diarte-Carot [4]. The reference to the Proof).
Let be
, and let
be the trajectory starting from
, if
satisfies the conjecture, then so does
.
Proof. By the definition of trajectory, 3, if
,
such that
and, from
, it follows that
and
and
and so on.
Then, from
,
and
are equal. Thus, if
satisfies the conjecture, then
and also
. Therefore,
also satisfies the conjecture. □
Now, by Definition 2, we can state the following.
Remark 1 (Condition to satisfy the conjecture).
, with
, satisfies the Collatz conjecture whenever
.
Remark 2 (Directed graph as a Collatz trajectory space).
Collatz trajectories are continuous movements within the directed graph shown in Graph 1.
According to article [4], the transition of each residue class can be calculated by applying the Collatz function to the corresponding general term, as outlined in Notation (4):
1)
.
2)
.
3)
.
4)
.
5)
.
6)
.
Graph 1. A directed graph in which all trajectories represent continuous motion.
The directed graph shows four loops:
;
.
;
.
The directed graph also shows that all possible trajectories correspond to one of these 9 patterns.
Definition 4 (Trajectory Patterns).
The trajectory patterns are as follows:
1)
.
Note that the loop
can only be repeated a finite number of times, since every
can be factored as
and it is not repeated after
repetitions, then, the trajectories transition to
.
2)
.
3)
.
4)
.
5)
.
6)
.
7)
.
8)
.
9)
.
In these patterns,
does not represent the entire class of residues, but rather a number within that class; see Notation (6).
Proposition 2 (The key to the proof).
We only need to study the trajectory structure
.
Proof. By Definition 4, all trajectories
, with
, reach
for the first time, they end up following a
trajectory.
So, if all trajectories
decay to 1, then, by Proposition 1, all Collatz trajectories,
, decay to 1 and satisfy the conjecture. □
3. The Structure of the Trajectories T([4])
From this Section onward, all of the studied trajectories will be
, where
. If none of these trajectories are counterexamples, then, by Proposition 2, the conjecture holds.
Remark 3. (Estructure of
)
Figure 1 shows the elementary structure with which all
trajectories begin.
Figure 1. Initial structure of the T([4]) Collatz trajectory.
This structure will be repeated throughout the trajectory, and its most significant elements are summarized as follows:
A) Half of all
trajectories begin with an
loop, and each of them is made up of two trajectory numbers (2 nodes).
B) A quarter of them with an
loop, and each of them is made up of two trajectory numbers (2 nodes).
C) The remaining quarter with an
loop, and each of them is made up of three trajectory numbers (3 nodes).
D) At the end of each loop, a new subtrajectory
begins, and the process repeats.
Therefore, any
trajectory is a sequence of loops L5, L2, and L1. Or, in other words, it is a sequence of subtrajectories
.
E) The probability that a trajectory will start with a given loop is:
.
4. The Probabilistic Model
The probabilistic model defined below is based on the elementary tree structure with three branches shown in Figure 1.
Any trajectory
, which is the one we need to study, see Proposition 2, is a random and independent sequence of this structure, executing, also randomly, one of the three branches.
Definition 5. (Elementary Probabilistic Structure)
This is a definition, by description, of the Elementary Probabilistic Structure.
From a probabilistic point of view, Figure 1 presents the following elements:
1) In the first stage,
a) a Bernoulli trial, as we will see later, with sample space
and probabilities
.
2) In the second stage,
a) a new Bernoulli trial with sample space
and probabilities
if branch
is followed.
b) a transition
with probability 1, therefore, with no probabilistic impact.
3) In the third stage,
a) in addition to ending what we will call loop
and initiating a new elementary structure.
b) a transition
with probability 1/2, which ends loop
and initiates a new elementary structure.
c) a transition
with probability 1/2.
4) In the fourth stage,
a) a transition
with probability 1, therefore, with no probabilistic impact, but which ends what we will call loop
and initiates a new elementary structure.
and
as outlined in Notations (7), (8), and (9).
Definition 6. (Bernoulli Trial and Binomial Distribution)
Let
be an experiment and let
be an event associated with
. Let
, the probability of the event
occurring, and
, the probability of
. Performing this experiment only once constitutes a Bernoulli Trial.
A coin toss is an example of a Bernoulli trial. Event
is defined as getting “heads” with probability
.
The random variable
defined, for example, as “gets heads”
times, associated with
independent repetitions of Bernoulli Trials, with the same probability for all repetitions, has a Binomial Distribution:
. See [6].
.
Remark 4. Experiments involve the probabilistic model.
The proposed probabilistic model contains two identical experiments: The experiments
in the first stage and
in the second stage.
These experiments, both
and
, are entirely similar to the coin toss in Definition 6, as follows:
In these experiments
, we have an object, a number
(see Notation (4)), with a parameter,
, that characterizes the number as “even” or “odd”.
When we apply the Collatz function to
and note the result, which is either “even” or “odd”.
These experiments, coin toss or applying the Collatz function to
, are repeated
times with fixed probabilities
and 1/2, respectively, and the repetitions are independent.
In particular, for the case at hand,
acts on
, regardless of its numerical value, in the same way that
acts on
.
Therefore, the Binomial Distribution,
, applies.
So, repeating the elementary structure of Remark 3, N times. The experiment
has a sample spaces
and
has
, as outlined in Definition 5. The binomial distribution corresponding to the random variables
, and
will be:
for
.
, followed by
, for
and
. Here,
is the number of times
was obtained in experiment
.
Note that, as outlined in Remark 3:
= the number of times
=
occurs, and
= the number of times
occurs in
repetitions of trial
.
be the number of times
occurs, and
the number of times
occurs after
repetitions of trial
.
Then,
.
5. The Trajectories T([4]) and the Counterexample Trajectories
From this point onward, we will focus our study on trajectories,
, with
and
, see [3]. This will streamline the process and allow us to simplify expressions at a later stage.
Remark 5. The effect of the elementary structure on the
.
1) After implementing the elementary structure of the model, its effect on the numerical values of the trajectory
is always one of the following sequences of terms,
This corresponds to performing the loops. to
,
and
, respectively.
We observe that
and
reduce
, while
increases it.
2) The increase or decrease in the value of
can be evaluated as a multiplier factor.
Thus,
has a factor
(
),
has a factor
,
has a factor
(
).
3) The sequential application of loops along a trajectory results in a successive multiplication of factors.
Thus, if we have an application sequence with
times
,
times
,
times
, then
, with
; where
is the overall multiplier factor
and
.
Note that
is a product of real numbers, which has the associative and commutative properties; therefore, the exact position of the loops in that sequence is completely irrelevant, only the value of factors and the number of times each loop appears matter.
Now, we will begin by defining a counterexample trajectory and the criteria for identifying whether a trajectory is actually a counterexample to the conjecture.
Corollary 1. A counterexample trajectory.
A counterexample trajectory,
, is one that does not converge to 1, that is,
. So, it will be a divergent sequence.
Proof. This assertion is a direct consequence of the definition of conjecture 2 and of Remark 1. □
Proposition 3. (Criteria for
trajectory as a counterexample).
For a trajectory
to be a counterexample to the Collatz conjecture, it must satisfy the following:
1) It is a sequence of infinitely many loops
, and
. So,
; where
,
and
are random variables.
2) All elements at the end of any loop in the sequence,
, must be greater than the initial element,
of
.
This implies that
Proof.
1) To prove this point, it suffices to recall that every
is an infinite sequence of loops
, and
, Point D of Remark 3. Additionally, for it to serve as a counterexample, the number of loops of each type must be infinite.
In a trajectory that satisfies the conjecture, only the
loops, when they first reach 1, repeat indefinitely, as outlined in Definition 2.
2) We have seen that the structure of any trajectory starting at
becomes a random succession of loops ending at some
, hence
.
Suppose, by way of contradiction, that
is the smallest term, belonging to
, that starts a trajectory,
, that does not satisfy the Collatz conjecture.
Note that under this assumption, no term in
satisfies the Collatz conjecture, according to Proposition 1 and Corollary 1. So,
does not satisfy the conjecture and
.
But, if
then the hypothesis is contradicted. So,
must always be greater than
.
Furthermore, this implies that
must be greater than 1, since
□
6. Proof of the Collatz Conjecture
Let’s prove that no
trajectory is a counterexample to the Collatz conjecture.
To this end, we will show that no trajectory
, with
, satisfies the second criterion of Proposition 4, that is, we will show that all these trajectories reach a
less than
. So,
must be less than 1.
The problem is determining the value of
,
and
.
Note that we try to determine “a priori” how many of the results of the N repetitions will be favorable to
, how many to
and how many to
, knowing their respective probabilities (1/2, 1/4, 1/4).
The key to this matter lies in a fundamental concept: Determining an equitable distribution of profits between two parties a priori. This issue began to be addressed mathematically in the mid-17th century, around 1654.
Our objective is to distribute the results of repeating N random processes among the three loops in a fair and “a priori” manner.
The mathematical solution was based on the principle: “The value of a future gain must be directly proportional to the possibility of getting it”.
In updated mathematical language, this would be expressed as follows: It is essential to recognize that the potential value of a future gain is directly proportional to the likelihood of its realization.
In 1657, see [7], a solution based on the same principle was extended to 3 or more parties.
Finally, in 1814, see [8], the concept of the expected value of a random variable was explicitly defined as the answer to this question.
Definition 7 (P.L. Meyer [6]. Expected value).
Let X be a discrete random variable with values
and probabilities p(
). The expected value is:
.
Remark 6. Expected Value of the Binomial variable.
Let X be a random variable with a binomial probability distribution,
, its expected value is
. See [6].
Proposition 4 (Values of
and
).
The
and
are the number of times the loops
,
, and
appear in
repetitions of the elementary structure. So, assigning their expected value, we get:
Proof.
According to Remark 4 of the probabilistic model,
1) the random variables
has a binomial distribution,
. So, by Remark 6,
.
2) The variables
and
have a final binomial distribution,
. So, by Remark 6,
and
.
□
Theorem 1. (Final Theorem).
No trajectory
is a counterexample to the Collatz conjecture. So, the Collatz conjecture is true.
Proof. Bringing the values of the Proposition 4 to,
We get:
The Point (2) of Proposition 4 is not satisfied, then all trajectories
hold the conjecture and, by Proposition 2, the Collatz conjecture is true.
Furthermore, as
approaches infinity,
approaches zero and
decreases to 4, the minimum of the residue class
. From that point on, the trajectory repeats the loop
indefinitely, thus fulfilling the Collatz conjecture. □
Acknowledgements
First, I thank God. He has given me a family that always supports my little occurrences like this paper. My wife, Marisa; my son Emilio and my daughter Pilar; their respective spouses, Michelle and Carlos; and my grandchildren Gabriel, Carlos, Pablo, and Pilar. A very special thank you to Ramón Carbó-Dorca, Universitat de Girona, Spain, for their reviews and valuable comments on my papers about the Collatz Conjecture.