On the Link between Stopping Time and Non-Trivial Cycles in the Collatz Problem ()
1. Preamble
The 3x + 1 problem, introduced by the mathematician Lothar Collatz in 1937, is the study of integer sequences defined by the arithmetic function
:
We define
as the sequence of all iterates of
under the function
:
.
Lothar Collatz conjectured that for any starting number
, the integer sequence
eventually reaches 1. Another equivalent formulation of the conjecture states that for any starting number
, the integer sequence
has an iterate below
.
In the following, we will mainly use two alternative formulations of the arithmetic function
:
We define
as the sequence of all iterates of
under the function
:
.
Additionally, we define:
where
is the largest integer such that
or
is odd. We define
as the sequence of all iterates of
under the function
:
.
We define the subsequences:
Which are linked for the odd terms of these sequences by the relationship:
For example:
has 16 iterates to reach 1.
has 11 iterates to reach 1.
has 5 iterates, containing only odd terms.
And
and
.
Another important formulation that we will extensively use later is the following:
If
is the number of iterates of
and
is the number of odd iterates in
, the
-th iterate of
can be represented by the Diophantine equation:
(1)
where
and
.
The coefficient of
in (1) is
. As long as this coefficient is greater than 1,
will remain greater than
.
We will also use the following equivalent formulation of (1):
(2)
where
and
.
For example,
, with
and
as defined in the function
.
Definition 1.1. (Stopping Time) The Stopping Time
is the number of iterates required for the sequence to drop below the starting value:
Definition 1.2. (Coefficient Stopping Time) The Coefficient Stopping Time
is the first iterate where the coefficient of
in (1) is less than 1:
Definition 1.3. (Non-Trivial Cycle) Under the Collatz conjecture, every Syracuse sequence is conjectured to eventually reach the trivial cycle
under repeated application of the function
. A non-trivial cycle is defined as a periodic sequence of
integers, all strictly greater than 2, that remains invariant under the iteration of
. The Collatz conjecture asserts that no such non-trivial cycles exist.
Definition 1.4. (Coefficient of s in the diophantine equation) The coefficient of s in the diophantine equation 2 is the value
and will be noted:
2. Major Steps of Our Work
In the first part of this document, we will build upon the work of Lynn E. Garner [1] to present the following series of properties regarding stopping time:
There exists an integer
which is the largest stopping time resulting from Lynn E. Garner’s approach, based on the fact that David Barina has verified that the Collatz Conjecture holds for all integers
. For all
and
, the stopping time of s is equal to the coefficient stopping time of
.
Two Syracuse sequences with starting numbers
and
, positive integers in
, such that
, have the same variations and sequences of coefficients of
in Equation (2) for all iterates up to the
-th iterate.
The density in
of the set of positive integers with stopping time
is entirely determined by the number of integers modulo
having a stopping time equal to
, as long as
.
Finally, we will show by strong induction that if, for all
and for all integers
with stopping time
, the stopping time is equal to the Coefficient stopping time
, then this also holds for all integers
with stopping time
. This approach allows us to extend Lynn E. Garner’s results to all stopping time values.
In a second part, building on the work of Mike Winkler [2], we will develop the following results:
An exact formulation of the counting function giving the number of integers
for which the Stopping Time
, for every positive integer
such that all positive integers
with stopping time
satisfy the condition
.
We will show that the density function of the positive integers, starting numbers of Syracuse sequences, having a stopping time higher than
, tends to 0 when
grows to infinity, as long as, for every positive integer
such that all positive integers
with stopping time
satisfy the condition
.
We will give the exact structure of the highest and lowest trajectory of Syracuse sequences before stopping time iterate.
3. No Non-Trivial Cycle of Lenght Lower than 19,478,780,533
In 1981, Lynn E. Garner published a paper in which he highlighted that the behavior of a Collatz sequence is closely related to the distribution of powers of 2 among the powers of 3. He stated that the powers of 2 appear to be bounded away from the powers of 3 by a lower bound that grows almost as rapidly as the powers of 3. Garner demonstrated that
for all
and proved that no non-trivial cycles of length less than
exist.
In this section, we adopt the approach developed by Lynn E. Garner to extend his result to show the non-existence of non-trivial cycles for all stopping times
. This will also serve as a crucial step in applying the strong induction approach to extend the result to all stopping times.
Our notations differ slightly from those of Garner, as we use the function
introduced earlier, whereas Lynn E. Garner’s proof relies on the function
.
Lemma 3.1. For all positive integers
and all
, the stopping time
corresponds exactly to the coefficient stopping time
. This implies that for all
such that
, the stopping time
of a Syracuse sequence with starting number
corresponds to the coefficient stopping time, in other words, to the first iterate of
such that the coefficient of
in (2) satisfies
.
Proof. Let
and let:
(3)
Which implies:
for all
(4)
for all
(5)
The values of M at which b(M) and B(M) increase are given in the below table.
The Main Garner’s Theorem states:
(6)
This implies that if all Syracuse sequences have a number of odd iterates not too large, the stopping time is equal to the coefficient stopping time. In other words, the stopping time is the first iterate for which the coefficient of
in (1) is less than 1.
If the Coefficient Stopping Time
, then:
and for
,
.
And since
, we have the following inequality:
.
By inequality 4 for any
, we have the following upper bound:
Then:
If we suppose that
, which implies
, we reach a contradiction:
Using inequality 5 and the fact that
, we have
, yielding:
This proves the contradiction.
Thanks to the recent work of David Barina [3] (2021), who computationally verified the Collatz conjecture up to
, significantly improving the previous record held by Thomas Oliveira e Silva [4], and due to the increased computational power now available compared to Garner’s time, we have computed all values of
and
for all
. The results are presented in Table 1. We observe that the values of
and
correspond to the numerators and denominators of the successive convergents in the continued fraction expansion of
.
Table 1. Highest values of b(M) and B(M).
|
|
|
|
|
|
|
|
|
|
1 |
2 |
|
0.821692 |
1.134066 |
4,684,090 |
7,424108 |
190,537 |
11.921111 |
|
2 |
4 |
1 |
1.946921 |
|
4,874,627 |
7,726,102 |
190,537 |
11.950185 |
|
3 |
5 |
1 |
|
1.613445 |
5,065,164 |
8,028,096 |
190,537 |
11.980218 |
|
5 |
8 |
2 |
|
2.689105 |
5,255,701 |
8,330,090 |
190,537 |
12.011276 |
|
7 |
12 |
2 |
2.478725 |
|
5,446,238 |
8,632,084 |
190,537 |
12.043431 |
|
12 |
20 |
5 |
3.915205 |
|
5,636,775 |
8,934,078 |
190,537 |
12.076763 |
|
17 |
27 |
5 |
|
2.963203 |
5,827,312 |
9,236,072 |
190,537 |
12.111363 |
|
29 |
46 |
12 |
|
3.357256 |
6,017,849 |
9,538,066 |
190,537 |
12.147331 |
|
41 |
65 |
12 |
|
4.067531 |
6,208,386 |
9,840,060 |
190,537 |
12.184778 |
|
53 |
85 |
12 |
5.617528 |
|
6,398,923 |
10,142,054 |
190,537 |
12.223832 |
|
94 |
149 |
41 |
|
4.250575 |
6,589,460 |
10,444,048 |
190,537 |
12.264637 |
|
147 |
233 |
53 |
|
4.479936 |
6,779,997 |
10,746,042 |
190,537 |
12.307357 |
|
200 |
317 |
53 |
|
4.787298 |
6,970,534 |
11,048,036 |
190,537 |
12.352182 |
|
253 |
401 |
53 |
|
5.254823 |
7,161,071 |
11,350,030 |
190,537 |
12.399329 |
|
306 |
485 |
53 |
|
6.267689 |
7,351,608 |
11,652,024 |
190,537 |
12.449052 |
|
359 |
570 |
53 |
6.229625 |
|
7,542,145 |
11,954,018 |
190,537 |
12.501649 |
|
665 |
1055 |
306 |
9.138086 |
|
7,732,682 |
12,256,012 |
190,537 |
12.557472 |
|
971 |
1539 |
306 |
|
6.307414 |
7,923,219 |
12,558,006 |
190,537 |
12.616944 |
|
1636 |
2593 |
665 |
|
6.348953 |
8,113,756 |
12,860,000 |
190,537 |
12.680575 |
|
2301 |
3647 |
665 |
|
6.392479 |
8,304,293 |
13,161,994 |
190,537 |
12.748991 |
|
2966 |
4701 |
665 |
|
6.438190 |
8,494,830 |
13,463,988 |
190,537 |
12.822970 |
|
3631 |
5755 |
665 |
|
6.486320 |
8,685,367 |
13,765,982 |
190,537 |
12.903498 |
|
4296 |
6809 |
665 |
|
6.537136 |
8,875,904 |
14,067,976 |
190,537 |
12.991848 |
|
4961 |
7863 |
665 |
|
6.590959 |
9,066,441 |
14,369,970 |
190,537 |
13.089704 |
|
5626 |
8917 |
665 |
|
6.648165 |
9,256,978 |
14,671,964 |
190,537 |
13.199362 |
|
6291 |
9971 |
665 |
|
6.709209 |
9,447,515 |
14,973,958 |
190,537 |
13.324063 |
|
6956 |
11,025 |
665 |
|
6.774643 |
9,638,052 |
15,275,952 |
190,537 |
13.468602 |
|
7621 |
12,079 |
665 |
|
6.845148 |
9,828,589 |
15,577,946 |
190,537 |
13.640506 |
|
8286 |
13,133 |
665 |
|
6.921576 |
10,019,126 |
15,879,940 |
190,537 |
13.852616 |
|
8951 |
14,187 |
665 |
|
7.005014 |
10,209,663 |
16,181,934 |
190,537 |
14.129668 |
|
9616 |
15,241 |
665 |
|
7.096879 |
10,400,200 |
16,483,928 |
190,537 |
14.529907 |
|
10,281 |
16,295 |
665 |
|
7.199068 |
10,590,737 |
16,785,922 |
190,537 |
15.261307 |
|
10,946 |
17,349 |
665 |
|
7.314197 |
10,781,274 |
17,087,915 |
190,537 |
|
16.585704 |
11,611 |
18,403 |
665 |
|
7.446026 |
21,372,011 |
33,873,837 |
10,590,737 |
15.503241 |
|
12,276 |
19,457 |
665 |
|
7.600233 |
32,153,285 |
50,961,752 |
10,781,274 |
15.833722 |
|
12,941 |
20,511 |
665 |
|
7.786004 |
42,934,559 |
68,049,667 |
10,781,274 |
16.357825 |
|
13,606 |
21,565 |
665 |
|
8.019673 |
53,715,833 |
85,137,582 |
10,781,274 |
17.729972 |
|
14,271 |
22,619 |
665 |
|
8.334854 |
64,497,107 |
102,225,496 |
10,781,274 |
|
16.890397 |
14,936 |
23,673 |
665 |
|
8.820964 |
118,212,940 |
187,363,077 |
53,715,833 |
|
17.351701 |
15,601 |
24,727 |
665 |
|
9.934703 |
171,928,773 |
272,500,658 |
53,715,833 |
|
18.333573 |
16,266 |
25,782 |
665 |
9.628894 |
|
225,644,606 |
357,638,240 |
53,715,833 |
18.389077 |
|
31,867 |
50,509 |
15,601 |
10.770361 |
|
397,573,379 |
630,138,897 |
171928,773 |
|
20.907339 |
47,468 |
75,235 |
15,601 |
|
10.398601 |
623,217,985 |
987,777,137 |
225,644,606 |
18.448188 |
|
79,335 |
125,743 |
31,867 |
|
11.393245 |
1,020,791,364 |
1,617,916,034 |
397,573,379 |
18.511405 |
|
111,202 |
176,252 |
31,867 |
11.409410 |
|
1,418,364,743 |
2,248,054,931 |
397,573,379 |
18.579343 |
|
190,537 |
301,994 |
79,335 |
|
15.070361 |
1,815,938,122 |
2,878,193,828 |
397,573,379 |
18.652763 |
|
301,739 |
478,246 |
111,202 |
11.425867 |
|
2,213,511,501 |
3,508,332,725 |
397,573,379 |
18.732630 |
|
492,276 |
780,240 |
190,537 |
11.442627 |
|
2,611,084,880 |
4,138,471,622 |
397,573,379 |
18.820183 |
|
682,813 |
1,082,234 |
190,537 |
11.459702 |
|
3,008,658,259 |
4,768,610,519 |
397,573,379 |
18.917064 |
|
873,350 |
1,384,228 |
190,537 |
11.477103 |
|
3,406,231,638 |
5,398,749,416 |
397,573,379 |
19.025498 |
|
1,063,887 |
1,686,222 |
190,537 |
11.494843 |
|
3,803,805,017 |
6,028,888,313 |
397,573,379 |
19.148618 |
|
1,254,424 |
1,988,216 |
190,537 |
11.512936 |
|
4,201,378,396 |
6,659,027,210 |
397,573,379 |
19.291036 |
|
1,444,961 |
2,290,210 |
190,537 |
11.531396 |
|
4,598,951,775 |
7,289,166,107 |
397,573,379 |
19.459946 |
|
1,635,498 |
2,592,204 |
190,537 |
11.550238 |
|
4,996,525,154 |
7,919,305,004 |
397,573,379 |
19.667508 |
|
1,826,035 |
2,894,198 |
190,537 |
11.569478 |
|
5,394,098,533 |
8,549,443,901 |
397,573,379 |
19.936831 |
|
2,016,572 |
3,196,192 |
190,537 |
11.589134 |
|
5,791,671,912 |
9,179,582,798 |
397,573,379 |
20.321013 |
|
2,207,109 |
3,498,186 |
190,537 |
11.609224 |
|
6,189,245,291 |
9,809,721,695 |
397,573,379 |
20.998846 |
|
2,397,646 |
3,800,180 |
190,537 |
11.629767 |
|
6,586,818,670 |
10,439,860,591 |
397,573,379 |
|
23.043797 |
2,588,183 |
4,102,174 |
190,537 |
11.650784 |
|
12,776,063,961 |
20,249,582,286 |
6,189,245,291 |
21.100591 |
|
2,778,720 |
4,404,168 |
190,537 |
11.672298 |
|
19,362,882,631 |
30,689,442,877 |
6,586,818,670 |
21.215156 |
|
2,969,257 |
4,706,162 |
190,537 |
11.694333 |
|
25,949,701,301 |
41,129,303,468 |
6,586,818,670 |
21.346246 |
|
3,159,794 |
5,008,156 |
190,537 |
11.716915 |
|
32,536,519,971 |
51,569,164,059 |
6,586,818,670 |
21.499444 |
|
3,350,331 |
5,310,150 |
190,537 |
11.740071 |
|
39,123,338,641 |
62,009,024,650 |
6,586,818,670 |
21.683750 |
|
3,540,868 |
5,612,144 |
190,537 |
11.763832 |
|
45,710,157,311 |
72,448,885,241 |
6,586,818,670 |
21.915100 |
|
3,731,405 |
5,914,138 |
190,537 |
11.788230 |
|
52,296,975,981 |
82,888,745,832 |
6,586,818,670 |
22.226059 |
|
3,921,942 |
6,216,132 |
190,537 |
11.813299 |
|
58,883,794,651 |
93,328,606,423 |
6,586,818,670 |
22.702068 |
|
4,112,479 |
6,518,126 |
190,537 |
11.839079 |
|
65,470,613,321 |
103,768,467,014 |
6,586,818,670 |
23.759345 |
|
4,303,016 |
6,820,120 |
190,537 |
11.865610 |
|
72,057,431,991 |
114,208,327,605 |
6,547,0613,321 |
|
23.597310 |
4,493,553 |
7,122,114 |
190,537 |
11.892938 |
|
137,528,045,312 |
217,976,794,617 |
6,547,0613,321 |
|
25.248104 |
This allows us to estimate, based on the highest values of
and
, the maximum
(i.e., the number of odd iterates of
) before the stopping time, in accordance with Garner’s Main Theorem. It is known that the Collatz conjecture has been computationally verified for all integers
. We have computed the condition of Garner’s Main Theorem for all
and identified the highest value of
, corresponding to the largest
for which the Collatz conjecture holds. The highest value of
is obtained for
.
Thus
for all
such that
.
According to Lynn E. Garner’s conclusions, this implies that there is no non-trivial cycle of length less than
, and consequently that no integer
can be a solution of the Diophantine equation
. This improves on the lower bound
found by Shalom Eliahou [5] in 2021 for the length of non-trivial cycles. However, we would likely obtain the same result using the approach developed by Shalom Eliahou if we utilized the computational record obtained by David Barina instead of the one by Oliveira e Silva. The main advantage of Garner’s approach is that it links the nonexistence of non-trivial cycles to the equality between the Stopping Time and the Coefficient Stopping Time.
4. Remarkable Properties of the Stopping Times
Before presenting, in Section 4, our approach to build the stopping time counting function, we are going to state some preliminary definitions and lemmas useful for the following parts of this work.
Definition 4.1. (Stopping time Histogram on Z/2nZ) For every positive integer n,
where
is the number of residue classes mod
of Syracuse sequences of starting number
such that
.
By convention, we will write
the number of Syracuse sequences of the starting number
that has no finite stopping time. It concerns the Syracuse sequences, which eventually tend to infinity or reach a non-trivial cycle.
Definition 4.2. (Counting Function of Stopping Time lower or equal to n in Z/2nZ) For every positive integer n,
is the number of residue classes mod
of Syracuse sequences of starting number
such that
.
Definition 4.3. (Counting Function of Stopping Time higher than n in Z/2nZ) For every positive integer n,
is the number of residue classes mod
of Syracuse sequences of starting number
such that
By definition, we have the following equalities:
We shall see in lemma (5.5), that
for all p which don’t satisfy to the relation
for
.
Lemma 4.1. For all
, for all
and
, and for all
, we have:
(7)
Proof. The goal of this lemma is to show that for all iterates
of the function
, the expressions
,
, and
have the same variations up to the
-th iteration of
. Using Equation (2), we know:
and
can be expressed in one of the following forms:
**Case 1:** If
is even, then:
which implies that
and
.
**Case 2:** If
is odd, then:
which implies that
and
.
We will now prove by induction that:
**Base Case:** For
, since
is odd:
with
and
.
**Inductive Step: ** Assume that for some
:
**Case 1:** If
is even, then
is necessarily even because
, so:
As by hypothesis
, we can simplify:
and we have
**Case 2:** If
is odd, then
is necessarily odd, so:
which simplifies to:
and we have:
This completes the proof.
Note: This property is very important because it shows that the variations of the two Syracuse sequences of starting numberd
and
are identical for the first
-iterations, and the sequences corresponding to the coefficients of
and
in (1) are also identical. In his work entitled “Empirical Verification of the 3x + 1 and Related Conjectures”, published in the book The Ultimate Challenge: The 3x + 1 Problem edited by Jeffrey C. Lagarias [6], Thomas Oliveira e Silva [4] observed that the two sequences starting from 15 and 143 exhibit the same behavior up to the stopping time iterate. We have now proven the reason why this observation holds.
Corollary 4.2. For all odd integers
, and for all
such that
, we have:
Proof. Lemma 4.1 shows that the iterates of
starting from
and
follow the same sequence of parities up to step
. In particular, for all
, the coefficient of
in the associated expression (2) is the same:
Now, if
is the smallest index for which
, then by definition
, and we also obtain
, completing the proof.
Lemma 4.3. For all odd integers
such that
, all integers
, with
also have a finite stopping time
.
Proof. The proof follows directly from the previous corollary. Indeed, we have shown that if
, then for any
, we have:
Therefore, if
, the same equality holds for
, and we may conclude that
and
have the same stopping time:
An immediate and noteworthy consequence of this result is that, for all
,
. More generally, for all
,
. This result implies that all integers in
with a stopping time equal to
are completely determined by the positive integers less than
that have a stopping time equal to
, for all
satisfying Garner’s main theorem.
Lemma 4.4. If there exist positive integers
and
such that
and
for all
, meaning that the starting number
in the Syracuse sequence is the smallest term of a non-trivial cycle of length
, then
is the only integer in the residue class modulo
that satisfies
. Furthermore, all integers of the form
with
have a finite stopping time
.
Proof. According to lemma 4.1, No Non-trivial cycle may exist for
. From equation (2), the
-th iterate of
can be expressed as:
If
and
satisfy
and
for
, it follows that:
(8)
By Lemma 4.1, for all integers
:
Simplifying, we get:
Thus,
, and for all
,
.
We can conclude that if
is the starting number of a Syracuse sequence and belongs to a non-trivial cycle of length
, then for all positive integers
and
,
has a finite stopping time. This implies that
is the only positive integer in the residue class modulo
belonging to a non-trivial cycle. All other integers
in this residue class have a finite stopping time that is equal to or less than
.
Lemma 4.5. A positive integer
is a stopping time value if and only if
, where
.
Proof. According to the relation for the
-th iterate of a Syracuse sequence with starting number
, as expressed in (1):
As shown in the previous section, for all
, the stopping time is equal to the coefficient stopping time. If
, the coefficient of
in (1),
, is less than 1.
If
is such that:
and we assume that the first iterate with a coefficient of
less than 1 is
, then
, and for all
, we have
.
We distinguish two cases:
If the previous iterate was odd, then
, and
.
If the previous iterate was even, then
, and
, since by our hypothesis
.
This contradicts the hypothesis
.
Thus, we have justified why certain integer values cannot correspond to stopping times. Now, we can express the arithmetic function that generates all stopping time values:
We can also deduce that if
is a stopping time value, the number of odd iterates
satisfies
.
Lemma 4.6. The density function
is an increasing function of
and satisfies for all
:
where
. Moreover, the density function
is a decreasing function and satisfies:
Proof. We can express
since this power series has at most
strictly positive terms.
By Lemma (4.3), we have established that for all
:
which implies:
(9)
This equation means that
is fully determined by the numbers
of integers s modulo [2p] such that
for all
Additionally, we have:
which leads to:
(10)
Therefore,
is an increasing function bounded by 1, and
is a decreasing function bounded by 0.
In the next section, we are going to build an exact formulation of
for all
.
Definition 4.4 Let
be the property:
: For all integers
and all
such that
, we have
.
Remark This property is true for all
thanks to our results in section 3.
Theorem 4.7. The property
holds for all
.
Proof. Although Section 3 establishes that the equality
holds for all
with
, our goal here is to show that this is not a strict upper bound. We first explicitly verify the case
, then generalize the result to all
using strong induction.
We proceed by contradiction. Assume that there exists a positive integer
such that
and
.
If
, then by assumption—valid for all
—we must have
, which contradicts the assumption
.
If
, there exists an integer
such that:
According to Lemma (4.1) and Corollary 4.2, we have shown that the two Syracuse sequences with starting numbers
and
exhibit the same variations and follow the same sequence of coefficients in (2). This implies that:
By assumption, since
and
, and by applying Lemma (4.3), it follows that:
This leads to a contradiction. Therefore, property
also holds for
. We therefore have extended the validity of the condition to all
. This reasoning can be iterated indefinitely for all subsequent values of
, which corresponds to applying a strong (or total) induction argument, as presented below.
To begin the proof with strong induction, we know that the condition is true for small values of
, due to the result of Section 3. And we will assume that it is true for all
, in other terms, for all
and for all integers
such that
,
. We will prove that it is true for
.
We proceed by contradiction. Assume that there exists a positive integer
such that
and
.
If
, then by assumption—valid for all
—we must have
, which contradicts the assumption
.
If
, there exists an integer
such that:
According to Lemma (4.1) and Corollary 4.2, we have shown that the two Syracuse sequences with starting numbers
and
exhibit the same variations and follow the same sequence of coefficients in (2). This implies that:
By assumption, since
and
, and by applying Lemma (4.3), it follows that:
This leads to a contradiction. Finally, property
also holds for all integers
.
We have finally proven that the stopping time is equal to the stopping time coefficient for all positive integers.
We now establish a key logical consequence of the equality between stopping time and coefficient stopping time, showing that it implies the non-existence of non-trivial cycles.
Theorem 4.8. If, for all positive integers
, the Stopping Time is equal to the Coefficient Stopping Time,
, then No Non-Trivial Cycles exist.
Proof. We now revisit the reasoning of Lynn E. Garner in his foundational 1981 work. He shows that if a non-trivial cycle of length
exists, then it is necessarily the case that there exists at least one element in the cycle for which the stopping time cannot be equal to the coefficient stopping time.
Indeed, let us consider the integer
representing the minimum value in the cycle. Since the cycle has length
, we have
, which implies
.
If
exists, it must by definition satisfy
, since the sequence returns to
only after
steps, without reaching 1 in fewer steps. This contradicts the assumption that
is the smallest element in the cycle.
Therefore, as long as
, no non-trivial cycles can exist.
From the previous theorem, in which we proved that
for all
, we can thus conclude that no non-trivial cycles exist in the Collatz dynamics.
Remark Since the equality
has now been proven for all
, all previously established lemmas (e.g., Lemma 4.5, Lemma 4.6) are no longer restricted to
, but hold for all values of
.
5. The Stopping Time Counting Function
5.1. Theoritical Approach
Definition 5.1. The Stopping Time Counting Function is an arithmetic function that, for every integer
, gives the number of residue classes modulo
of the starting numbers of Syracuse sequences with a stopping time equal to
:
In the following, we shall use the notation
.
Mike Winkler [2] (2017) was the first mathematician to describe the stopping Time Counting Function. He stated that the number
of residue classes modulo
for starting numbers
with a finite stopping time
, where
, satisfies the following equation:
(11)
where
can take different values modulo 3. However, Mike Winkler notes that estimating this value is complex and his work provides a computational code limited to the first 50 values of
.
In this section, we propose an exact formulation of the stopping-time counting function by slightly modifying the approach suggested by Mike Winkler. Before presenting our formulation of this counting function, we introduce a set of useful properties of the Syracuse sequences.
In our work, instead of using
, we use
, where
. This represents the number of modulo residue classes
for the starting numbers
such that
. In this section, we propose a new formulation of the Winkler formula that is independent of the parameter
, allowing us to compute the exact values of
for any
. In Winkler’s original formula,
denotes the number of odd integers in the Syracuse integer sequence up to
iterations. We introduce a new definition:
, the number of modulo residue classes
for Syracuse sequences with starting numbers
such that
. This new definition enables us to reformulate
as follows.
But before presenting our formulation of the stopping Time Counting Function, we need to introduce a preliminary concept that is highly useful for understanding this formulation, the notion of sequence of transition of the coefficients, associated with a Syracuse sequence.
Definition 5.2. A transition sequence, associated with a Syracuse sequence starting from a positive integer
, is a sequence consisting of the multiplicative coefficients of
at each iteration:
if the previous term is odd and
otherwise. More formally, if
is a finite Syracuse subsequence, the associated transition subsequence is defined as
where
if
is odd, and
if
else
Lemma 5.1. Given a Syracuse subsequence
and its associated transition sequence
, we can express
, presented in the diophantine equation (2), in terms of
as follows:
Proof. The proof is carried out by induction. Since we systematically start with an odd number—because if the first term of the sequence is even, we begin with a division by 2—then.
Now, suppose that the expression
holds for
, and let us show that it also holds for
.
We have two cases to consider:
The first case occurs when the transition sequence with
elements is obtained by adding the term
to
. In this case, we have
As
, then
The second case occurs when the transition sequence with
elements is obtained by adding the term
to
. In this case, we have
As
, then

In conclusion, we can say that
is fully defined by the terms
of the transition sequence.
Lemma 5.2. Given three positive integers
, the Diophantine equation
admits a unique solution for
such that
and
.
Proof. By Bachet-Bézout’s theorem, since
and
are co-prime, the equation
admits infinitely many integer solutions. Among these, there exists a unique pair
such that:
Now, consider the original equation:
Multiplying the solution
by
, we obtain a particular solution:
Since this may not satisfy the desired bounds, we introduce an integer
such that:
The appropriate choice of
is given by:
This ensures:
Since the construction of
and
depends uniquely on
and
, this solution is unique.
Consider the case
, we use the same approach instead of checking all odd integers less than 28. The solution
of the reduced Diophantine equation
, using the Bachet-Bézout algorithm, is
. The transition sequences
satisfying (14) and their corresponding
values are:
(highest trajectory before stopping time),
(lowest trajectory before stopping time),
The corresponding solutions are:
For
:
,
.
For
:
,
.
For
:
,
.
For
:
,
.
For
:
,
.
For
:
,
.
For
:
,
.
Thus, we obtain the set of 7 integers modulo 28 with stopping time
:
. We have efficiently determined these values without checking all 28 integers, which is even more beneficial for larger
.
Another example: Consider
and the transition sequence
, which satisfies (14) for
:
Using the Bachet-Bézout algorithm, we solve
and find
. We then solve
, where
The final values are:
We can check that
yields
, confirming that
.
Lemma 5.3. There exists a bijection between the set of Syracuse subsequences of length
,
, and the set of transition sequences
.
Proof. Given a positive integer
, consider the subsequence generated by
consisting of the first
iterates, denoted by
. By construction, there exists a unique transition sequence
which records the sequence of coefficients
corresponding to the parity of each iterate.
Conversely, suppose we are given a transition sequence consisting of
terms
and
terms
. The value
associated to this transition sequence is given by:
According to Lemma 5.2, there exists a unique integer
satisfying the Diophantine equation:
This
uniquely generates a subsequence
whose associated transition sequence is exactly the given one. Therefore, the mapping is bijective.
Theorem 5.4. For every positive integer
such that all positive integers
with stopping time
satisfy the condition
, then the number of residue classes modulo
of integers
such that
is given by the following expression:
(12)
with
, and
, for
.
Proof. The main idea developed in this proof is to find the easiest way to count the number of positive integers
, starting number of suracuse sequences, which have a stopping time
.
Our proof of (6.4) relies on understanding the link between Syracuse sub-sequences
and their corresponding transition sequences
. We have shown that there is a one-to-one correspondence between the set of sub-sequences
and the set of transition sequences
. Afterward, we will demonstrate that it is easier to count the transition sequences corresponding to Syracuse sequences of starting number
, such that
.
For any integer
, the corresponding sequence of transitions
is associated by construction with a Syracuse sub-sequence
. The reverse is also true, which we will prove in the following. Our transition sequences are similar to parity vectors used in various studies of the Collatz problem.
Given a transition sequence
, and thanks to the results of Lemmas 6.1, 6.2, and 6.3, we know that there is a unique solution to the following Diophantine equation:
(13)
This implies that for each integer
, the starting number of a Syracuse sequence, there exists one and only one transition sequence, and conversely.
Now, we focus on the transition sequences
for integers
with
. As we specified that we will consider the values of n such that
, it implies that We have to study and count all sequences of transitions
satisfying:
(14)
If
, by definition:
for
. Thanks to the main theorem by Lynn E. Garner [1] and Lemma 2.3, for all
, the stopping time
corresponds to the first iterate where
, which has been extended to any integer n through Theorem 4.7. This implies:
Thus, for each transition sequence
that satisfies these conditions, there is a unique solution
to the Diophantine equation
, where
is defined in (13) and
. Here,
,
, and
.
As stated in Lemma (4.5), if
is a starting number such that
, then the transition sequence
contains exactly
elements of
and
elements of
, ensuring that
and
for all
. The quantity
is precisely the number of transition sequences
that satisfy (14).
The number of combinations of
elements of
and
elements of
is
, where
.
We must subtract the number of Syracuse sequences with stopping times less than
.
For all
, the number of sequences of transition
satisfying:
given by
Thus, summing on all
the following sum:
This yields the final expression of the Stopping Time counting function available, for all
according to the main Garner’s theorem and lemma 4.1 and mre generally for all n according to our theorem 4.7:
We have provided an exact formulation of the counting function for the set of integers
in
that have a finite stopping time
.
We compute below the first numbers of integers
such that
.
We can see that this formulation of the Stopping time counting function give
for the integers
which cannot be a stopping time value. to stopping time, in other words, where
.
Theorem 5.5. For every integer
and if all integers
such that σ(s) = n satisfy the condition
, then the number of residue classes modulo
of integers
such that
is given by the following expression:
(14)
with
, and
, for
.
This formulation corresponds to a new indicial referential, the sum is done on the number of odd iterates and not on all iterates. The main difference is that this formulation only provides the value of
for all
which are a real stopping time. We detail in the following the expression of the first values of
and observe that the coefficients of
, where
is a stopping time, are identical in both formulations of Theorems 6.4 and 6.5.
5.2. Computational Results
We have applied (12) up to
(python code in Appendix B) and give in Table 2 the 60 first values of
. We have also verified the collatz conjecture for all positive integer below 250 and have also computed all histograms
for all
giving the counts of
and particularly the
the number of positive integer s lower than
such that
(python code in appendix A).
Table 2. First 60 values of the stopping time counting function.
|
|
|
|
|
1 |
0 |
1 |
0.50000000 |
0.50000000 |
2 |
1 |
1 |
0.75000000 |
0.25000000 |
3 |
1 |
0 |
0.75000000 |
0.25000000 |
4 |
2 |
1 |
0.81250000 |
0.18750000 |
5 |
3 |
2 |
0.87500000 |
0.12500000 |
6 |
3 |
0 |
0.87500000 |
0.12500000 |
7 |
4 |
3 |
0.89843750 |
0.10156250 |
8 |
5 |
7 |
0.92578125 |
0.07421875 |
9 |
5 |
0 |
0.92578125 |
0.07421875 |
10 |
6 |
12 |
0.93750000 |
0.06250000 |
11 |
6 |
0 |
0.93750000 |
0.06250000 |
12 |
7 |
30 |
0.94482422 |
0.05517578 |
13 |
8 |
85 |
0.95520020 |
0.04479980 |
14 |
8 |
0 |
0.95520020 |
0.04479980 |
15 |
9 |
173 |
0.96047974 |
0.03952026 |
16 |
10 |
476 |
0.96774292 |
0.03225708 |
17 |
10 |
0 |
0.96774292 |
0.03225708 |
18 |
11 |
961 |
0.97140884 |
0.02859116 |
19 |
11 |
0 |
0.97140884 |
0.02859116 |
20 |
12 |
2652 |
0.97393799 |
0.02606201 |
21 |
13 |
8045 |
0.97777414 |
0.02222586 |
22 |
13 |
0 |
0.97777414 |
0.02222586 |
23 |
14 |
17,637 |
0.97987664 |
0.02012336 |
24 |
15 |
51,033 |
0.98291844 |
0.01708156 |
25 |
15 |
0 |
0.98291844 |
0.01708156 |
26 |
16 |
108,950 |
0.98454192 |
0.01545808 |
27 |
17 |
312,455 |
0.98686989 |
0.01313011 |
28 |
17 |
0 |
0.98686989 |
0.01313011 |
29 |
18 |
663,535 |
0.98810582 |
0.01189418 |
30 |
18 |
0 |
0.98810582 |
0.01189418 |
31 |
19 |
1,900,470 |
0.98899080 |
0.01100920 |
32 |
20 |
5,936,673 |
0.99037304 |
0.00962696 |
33 |
20 |
0 |
0.99037304 |
0.00962696 |
34 |
21 |
13,472,296 |
0.99115723 |
0.00884277 |
35 |
22 |
39,993,895 |
0.99232121 |
0.00767879 |
36 |
22 |
0 |
0.99232121 |
0.00767879 |
37 |
23 |
87,986,917 |
0.99296139 |
0.00703861 |
38 |
23 |
0 |
0.99296139 |
0.00703861 |
39 |
24 |
25,7978,502 |
0.99343065 |
0.00656935 |
40 |
25 |
820,236,724 |
0.99417666 |
0.00582334 |
41 |
25 |
0 |
0.99417666 |
0.00582334 |
42 |
26 |
1,899,474,678 |
0.99460855 |
0.00539145 |
43 |
27 |
5,723,030,586 |
0.99525918 |
0.00474082 |
44 |
27 |
0 |
0.99525918 |
0.00474082 |
45 |
28 |
12,809,477,536 |
0.99562325 |
0.00437675 |
46 |
29 |
38,036,848,410 |
0.99616378 |
0.00383622 |
47 |
29 |
0 |
0.99616378 |
0.00383622 |
48 |
30 |
84,141,805,077 |
0.99646271 |
0.00353729 |
49 |
30 |
0 |
0.99646271 |
0.00353729 |
50 |
31 |
248,369,601,964 |
0.99668331 |
0.00331669 |
51 |
32 |
794,919,136,728 |
0.99703633 |
0.00296367 |
52 |
32 |
0 |
0.99703633 |
0.00296367 |
53 |
33 |
1,857,112,329,035 |
0.99724251 |
0.00275749 |
54 |
34 |
5,636,545,892,795 |
0.99755540 |
0.00244460 |
55 |
34 |
0 |
0.99755540 |
0.00244460 |
56 |
35 |
1,273,2900,345,928 |
0.99773210 |
0.00226790 |
57 |
35 |
0 |
0.99773210 |
0.00226790 |
58 |
36 |
38,088,111,350,198 |
0.99786425 |
0.00213575 |
59 |
37 |
123,110,229,387,834 |
0.99807781 |
0.00192219 |
60 |
37 |
0 |
0.99807781 |
0.00192219 |
For
,
and
and
.
For
,
and
and z405 = 3,476,553,789,120,508,476,368,100,052,260,690,271,283,238,505,581,916,333,757,459,587,755,180,695,960,919,229,021,382,116,342,674,546,834,066,825,086.
For
,
and
.
6. Asymptotic Density of Positive Integers with High Stopping
Times
Thanks to (12), we have computed the values of the counting function
and of the density functions
,
up to
. The results presented in Figure 1 and Figure 2, which seems to confirm that
tends to a constant value less than 1. A formal proof is provided below.
Figure 1. Function
.
Figure 2. Function
.
These numerical results based on the application of the stopping time counting function illustrate that the above function asymptotically tends towards a constant which seems to be less than 0.95. We will formally confirm this result in the following theorem.
We aim to show that the density of integers
whose stopping time satisfies
tends to 1 as
. This asymptotic behavior was first conjectured by Riho Terras [7] in 1976, and stronger forms were subsequently established by Jean-Paul Allouche [8] in 1978 and Yvan Korec [9] in 1994. In this work, we introduce a new approach based on the stopping-time counting function.
Theorem 6.1. As long as
for all
such that
, the percentage of residue classes mod
of starting numbers
such that
, given by
, tends to 0 as
approaches infinity. Moreover, there exists a constant
such that
for sufficiently large
.
Proof. From (10) and Theoreme 4.7, we have
We seek an upper bound for the last term of the inequality above.
From (15), we have:
Using the asymptotic Laplace approximation of the factorial, we have:
We can derive an upper bound for
when
is sufficiently large,
, and
We substitute the three factorials with their asymptotic formula.
Which can be significantly simplified to write:
with
. The last term
is less than one for all
. Finally, we can obtain the following upper bound;
Effectively, since
is a stopping time value and
is the number of odd iterates, we have
. Therefore, by definition of the floor function, it follows directly that
.
Moreover, if we study the variations of the following function which represent the main term of the above approximation of
:
As
, this function is symmetric at
and tends to
as
or
. There is a minimum at
and
is a strictly growing function between
and 1. So we have:
which implies that
We can give numerical values of these parameters:
,
, and
.
And we finally obtain an upper bound of the density function:
(16)
This result aligns with the upper bound discussed by Terence Tao [10] on his blog about the Collatz conjecture. Using (16), we derive an upper bound for (10):
As
for all
then:
And finally
(17)
We conclude that, as
and has an upperbound which tends to 0 when n tends to infinity, then:
(18)
Theorem 6.2. As long as
for all
such that
, there exists a constant
such that
for sufficiently large
.
Proof. For sufficiently large
, we are looking for a real number
such that
. According to the previous theorem and equation (17), we have the following bound:
We seek
satisfying:
Taking the base-2 logarithm of both sides of the two inequalities (which preserves the inequality since
is increasing), we are looking for
which satisfy to:
Defining the arithmetic function:
which is a monotonically increasing function for sufficiently large
. It is clear that:
Since we have already verified numerically that
for
, it confirms the coherence of our estimation.
Therefore, for all
, we can take:
such that the inequality
holds, as supported by our computational results.
7. Highest and Lowest Trajectories before the Stopping Time Iterate
As we have seen in Section 3, the set of integers
with a stopping time
generates a set of trajectories of Syracuse sequences, from the starting number
to the iterate at the stopping time. We will characterize the lowest and highest trajectories of this set. Specifically, we will show that the highest trajectory corresponds to the lowest value of
, as defined in (13), and the lowest trajectory corresponds to the highest value of
.
Let
be the starting number of a Syracuse sequence such that
. We have seen that
is a solution of the Diophantine equation:
We define:
First, we will derive the arithmetic function that gives
as a function of
. For each
, the highest trajectory corresponding to
is associated with a sequence of transitions
, where the first
terms are equal to
and the last
terms are equal to
:
The Value of
associated to the highest trajectory of the family of integer s such that
is given by the following equation and we shall see in the next theorem that it corresponds to the minimum value of
:
(19)
**Examples:**
1) For
, the highest trajectory is obtained for
, and the iterate at stopping time is
, which satisfies the Diophantine equation
with
, the lowest value of
.
2) For
, the highest trajectory is obtained for
, and the iterate at the stopping time is
, which satisfies the Diophantine equation
with
, also the lowest value of
.
To explicitly construct the lowest trajectory, we start from an integer
such that
, and look for a syracuse sequence corresponding to this trajectory. Like in a previous section, it appears more comfortable to use the transition sequence associated with the lowest syracuse sequence of stopping time equal to n. This transition sequence has to satisfy the following conditions:
Formalizing precisely this iterative construction, we find that the
terms
are exactly located:
Theorem 7.1. For all integers
such that
:
(20)
(21)
Proof. Any sequence of transitions corresponding to a Syracuse sequence starting from
with
contains
terms equal to
and
terms equal to
. It is easy to see that the highest trajectory corresponds to the sequence of transitions where
for
. We are going to show that when we permute the two elements of this pattern
in a sequence of transition, keeping the stopping time unchanged, the value of
increases.
Consider two sequences of transitions with the same terms
, except at positions
and
:
Then:
The difference:
Which implies
. This justifies that when we permute a pair
into
, the value of
increases. Since there are only a finite number of
with
, the maximum value
is reached for a sequence defined as above. The highest trajectory, the r terms
correspond to the r first terms of the sequence of transition and according to the above result provide the minimum value of
:
Starting from the sequence of transitions where the positions of the
-th term
are located at
, any permutation would result in a sequence with a stopping time lower than
. And according to the above result provide the maximum value of
:
By construction, the lowest trajectory oscillates mainly between
and
, and whenever an iterate at step
exceeds
, the next iterate (at step
) is forced below
. If, in the associated transition sequence, we permute a pair
, the previous iterate would become less than s, which contradict the hypothesis that
. In Table 3, we give the first values of
.
Table 3. First values of cn,max.
|
|
|
|
5 |
23 |
51 |
14,535,113,675,299,973 |
7 |
85 |
53 |
44,731,240,932,742,543 |
8 |
319 |
54 |
138,697,322,425,598,125 |
10 |
1085 |
56 |
425,099,166,531,535,367 |
12 |
3767 |
58 |
1,311,326,296,613,570,069 |
13 |
13,349 |
59 |
4,078,094,077,916,566,079 |
15 |
44,143 |
61 |
12,522,512,609,901,409,981 |
16 |
148,813 |
62 |
3,872,045,933,431,107,691 |
18 |
479,207 |
64 |
118,467,221,012,146,924,709 |
20 |
1,568,693 |
65 |
364,625,035,073,295,549,935 |
21 |
5,230,367 |
67 |
1,112,321,849,293,596,201,421 |
23 |
16,739,677 |
69 |
3,410,752,524,175,626,810,727 |
24 |
54,413,335 |
70 |
10,527,405,477,706,233,258,037 |
26 |
171,628,613 |
72 |
32,172,512,243,477,405,425,823 |
27 |
548,440,271 |
73 |
98,878,719,971,867,038,884,317 |
29 |
1,712,429,677 |
75 |
301,358,526,398,470,761,866,647 |
31 |
5,405,724,487 |
77 |
922,965,045,126,890,866,454,725 |
32 |
17,290,915,285 |
78 |
2,844,452,999,106,586,922,783,311 |
34 |
54,020,229,503 |
80 |
8,684,474,724,771,589,415,188,205 |
35 |
170,650,623,101 |
81 |
26,657,887,084,122,082,832,917,703 |
37 |
529,131,738,487 |
83 |
81,182,587,071,980,877,673,459,285 |
39 |
1,656,114,692,197 |
85 |
248,383,464,494,401,149,719,202,559 |
40 |
5,243,221,983,535 |
86 |
764,493,206,597,037,515,952,906,493 |
42 |
16,279,421,764,493 |
88 |
2,332,165,246,018,780,681,449,317,111 |
43 |
51,037,288,549,031 |
89 |
7,151,238,242,967,014,578,710,341,861 |
45 |
157,509,912,158,197 |
91 |
21,763,199,738,722,388,804,855,806,639 |
46 |
490,121,922,519,007 |
92 |
66,527,539,255,452,546,689,466,544,141 |
48 |
1,505,550,139,645,853 |
94 |
202,058,497,844,928,400,618,197,880,871 |
50 |
4,657,387,907,292,887 |
96 |
616,079,013,849,068,244,053,786,636,405 |
Lemma 7.2.
has an upper bound:
Proof. ach term in the above sum representing
can be bounded above as follows:
Thus,
where
8. Conclusions
In this paper, we have established several important results regarding the link between stopping times and non-trivial cycles in Syracuse (Collatz) sequences:
1) We extended the work initiated by Lynn E. Garner (1981), who demonstrated that as long as the stopping time equals the coefficient stopping time, no non-trivial cycle can exist.
2) We revealed a particularly noteworthy property: two Syracuse sequences starting from integers
and
exhibit exactly the same behavior up to the
iterate.
3) Building on these initial findings, we proved rigorously that the stopping time always equals the coefficient stopping time. This result implies directly that non-trivial cycles cannot exist.
4) Furthermore, we provided an explicit formula for the stopping time counting function, giving the exact number
of positive integers
with stopping time
:
5) By combining these results, we demonstrated that the density of integers
satisfying
tends to zero as
approaches infinity.
6) Lastly, we precisely characterized the Syracuse sequences corresponding to the highest and lowest trajectories associated with a given stopping time
. We derived explicit arithmetic expressions for the corresponding parameters
and
.
These results collectively provide a deeper understanding of the intricate behavior and structure of Syracuse sequences, offering further insight into the validity and complexity of the Collatz conjecture.
Appendix