Preprint
Article

Collatz Conjecture

Altmetrics

Downloads

899

Views

275

Comments

1

This version is not peer-reviewed

Submitted:

10 January 2024

Posted:

11 January 2024

Read the latest preprint version here

Alerts
Abstract
This paper presents an analysis of the number of zeros in the binary representation of natural numbers. The primary method of analysis involves the use of the concept of the fractional part of a number, which naturally emerges in the determination of binary representation. This idea is grounded in the fundamental property of the Riemann zeta function, constructed using the fractional part of a number. Understanding that the ratio between the fractional and integer parts of a number, analogous to the Riemann zeta function, reflects the profound laws of numbers becomes the key insight of this work. The findings suggest a new perspective on the interrelation between elementary properties of numbers and more complex mathematical concepts, potentially opening new directions in number theory and analysis."
Keywords: 
Subject: Computer Science and Mathematics  -   Analysis

1. Introduction

We will use the following well-known fact: if, for the members of the Collatz sequence, zeros predominate in their binary representation, then these members will lead to a decrease in the subsequent members according to the Collatz rule. A striking example is when the initial number in the Collatz sequence is equal to 2 n . Let’s write the solution of the equation n = 2 x in the form x = x + [ x ] and note that the smaller x, the more zeros in the corresponding binary representation for n. Developing this idea, we come to the following steps.
  • Analysis of the binary representation of simple cases of natural numbers.
  • Creation of a process for decomposing an arbitrary natural number into powers of two.
  • Analysis of the proximity of the process to binary decomposition at the completion of decomposition at each stage.
  • Calculation of the number of zeros in the binary decomposition of a natural number.
  • Estimation of the Collatz sequence members depending on the number of ones in the binary decomposition.

2. Results

This document reveals a comprehensive solution to the Collatz Conjecture, as first proposed in [1]. The Collatz Conjecture, a well-known unsolved problem in mathematics, questions whether iterative application of two basic arithmetic operations can invariably convert any positive integer into 1. It deals with integer sequences generated by the following rule: if a term is even, the subsequent term is half of it; if odd, the next term is the previous term tripled plus one. The conjecture posits that all such sequences culminate in 1, regardless of the initial positive integer.
Named after mathematician Lothar Collatz, who introduced the concept in 1937, this conjecture is also known as the 3n + 1 problem, the Ulam conjecture, Kakutani’s problem, the Thwaites conjecture, Hasse’s algorithm, or the Syracuse problem. The sequence is often termed the hailstone sequence due to its fluctuating nature, resembling the movement of hailstones.
Paul Erdős and Jeffrey Lagarias have commented on the complexity and mathematical depth of the Collatz Conjecture, highlighting its challenging nature.
Consider an operation applied to any positive integer:
  • Divide it by two if it’s even.
  • Triple it and add one if it’s odd.
This operation is mathematically defined as:
f ( n ) = n 2 , if n 0 mod 2 , 3 n + 1 , if n 1 mod 2 .
A sequence is formed by continuously applying this operation, starting with any positive integer, where each step’s result becomes the next input. The Collatz Conjecture asserts that this sequence will always reach 1 Recent substantial advancements in addressing the Collatz problem have been documented in works [2].
Now let’s move on to our research, which we will conduct according to the announced plan. For this, we will start with the following
Theorem 1.
Let
M N , [ α j ] [ α j + 1 ] = δ j > 0 , ϵ 1 < 1 / 2 ,
α j = [ α j ] + ϵ j , ϵ j < 1 ,
M = i = 1 j 1 2 [ α i ] + 2 α j , M = i = 1 j 2 [ α i ] + 2 α j + 1 , σ j = 1 ϵ j
Then, for δ j = 1
σ j + 1 ln 2 = 2 σ j ln 2 1 σ j + 1 ln 2 + o ( σ j + 1 2 / 4 )
and for δ j > 1
σ j + 1 ln 2 = 2 δ j 1 ln 2 2 δ j + 1 1 σ j + 1 ln 2 / 2 + 2 δ j 1 σ j ln 2 1 1 σ j + 1 ln 2 / 2 + o ( σ j + 1 2 2 + 2 δ j + 1 )
Proof. 
0 = M M = i = 1 j 2 [ α i ] + 2 α j + 1 i = 1 j 1 2 [ α i ] + 2 α j = 2 [ α j ] + 2 α j + 1 2 α j
2 α j = 2 [ α j ] + 2 α j + 1 , 2 [ α j ] + ϵ j = 2 [ α j ] + 2 α j + 1 = 2 [ α j ] + 2 [ α j + 1 ] [ α j ] + [ α j ] + ϵ j + 1
2 ϵ j = 2 δ j + ϵ j + 1 + 1 2 1 σ j = 2 δ j + 1 σ j + 1 + 1
ln ( 2 1 σ j ) = ln 2 σ j ln 2 = ln ( 2 δ j + 1 σ j + 1 + 1 )
Calculating for δ j = 1
ln ( 2 δ j + 1 σ j + 1 + 1 ) | δ j = 1 = ln ( 2 σ j + 1 + 1 ) = ln ( 1 σ j + 1 ln 2 + σ j + 1 2 ln 2 / 2 ) + 1 + o ( σ j + 1 2 / 4 )
ln ( 2 σ j + 1 ln 2 + σ j + 1 2 ln 2 2 / 2 ) = ln 2 + ln ( 1 σ j + 1 ln 2 / 2 + σ j + 1 2 ln 2 / 4 + o ( σ j + 1 2 / 4 ) )
ln ( 2 σ j + 1 + 1 ) = ln 2 ln 2 σ j + 1 / 2 + ln 2 2 σ j + 1 2 / 2 + o ( σ j + 1 2 / 4 )
ln 2 σ j ln 2 = ln 2 ln 2 σ j + 1 / 2 + ln 2 2 σ j + 1 2 / 4 + o ( σ j + 1 2 / 4 )
σ j + 1 ln 2 = 2 σ j ln 2 1 σ j + 1 ln 2 / 2 + o ( σ j + 1 2 / 4 )
Continuing the calculation for δ j > 1 , we get
ln ( 2 δ j + 1 σ j + 1 + 1 ) = ln ( 2 δ j + 1 2 σ j + 1 + 1 ) =
ln ( 1 + 2 δ j + 1 + 2 δ j + 1 [ σ j + 1 ln 2 + σ j + 1 2 ln 2 2 / 2 ] + o ( σ j + 1 2 / 4 + 2 δ j + 1 ) ) =
2 δ j + 1 + 2 δ j + 1 [ σ j + 1 ln 2 + σ j + 1 2 ln 2 2 / 2 ] + o ( σ j + 1 2 2 + 2 δ j + 1 )
ln 2 σ j ln 2 = 2 δ j + 1 + 2 δ j + 1 [ σ j + 1 ln 2 + σ j + 1 2 ln 2 2 / 2 ] + o ( σ j + 1 2 2 + 2 δ j + 1 )
σ j + 1 ln 2 = 2 δ j 1 ln 2 2 δ j + 1 1 σ j + 1 ln 2 / 2 + 2 δ j 1 σ j ln 2 1 1 σ j + 1 ln 2 / 2 + o ( σ j + 1 2 2 + 2 δ j + 1 )
Theorem 2.
Let
M = 3 n = 2 [ α ] + { α } = i = 1 n * γ i 2 i ,
1 { α } > 1 2 , n * = n × ln ( 3 ) ln ( 2 ) ,
then
γ i = 0 1 n * 2 5 .
Proof. 
Suppose
3 n = 2 α α = n ln ( 3 ) / ln ( 2 ) 3 n = 2 [ α ] + { α }
Using Theorem 1, we create a sequence
ϵ i , m i , ϵ 1 = { α }
2 ϵ 1 = k = 0 i 1 2 [ α k ] α 1 + 2 α i α 1
Assume δ j = 1 , and in such cases, we have
σ j + 1 ln 2 = 2 σ j ln 2 1 σ j + 1 ln 2 / 2 + o ln 2 σ j + 1 2 4
2 1 σ j + 1 ln 2 = σ j ln 2 1 σ j + 1 ln 2 / 2 + 2 1 · o ln 2 σ j + 1 2 4
2 1 σ j ln 2 = σ j 1 ln 2 1 σ j ln 2 / 2 + 2 1 · o ln 2 σ j 2 4
Repeating j times, we get
2 j σ j + 1 ln 2 = σ 1 ln 2 k = 1 j ( 1 σ k + 1 ln 2 / 2 ) + k = 1 j 2 k · o ln 2 σ k + 1 2 4
From Theorem 1 and the conditions of this theorem, we obtain
( 1 α ) ln 2 = σ 1 ln 2 < o ln 2 σ k + 1 2 4
From the smallness of α and the last estimate,
δ j > 1
Now let’s consider the question of the number of δ j > 1 elements. For this, we consider the general case where there are δ j > 1 and δ k = 1 . Let’s introduce the following notations:
for δ j = 1 : α j = 0 , β j = 1 1 σ j + 1 ln 2 / 2
for δ j > 1 : α j = 2 δ j 1 ln 2 2 δ j + 1 1 σ j + 1 ln 2 / 2 , β j = 2 δ j 1 1 σ j + 1 ln 2 / 2
ln 2 σ j + 1 = α j + ln 2 β j σ j
Solving the last equation for σ j , we get
σ j + 1 ln 2 = α j + m = 1 j 1 α j m l = 1 m β j l + 1 + ln 2 l = 0 j β j l σ 1
σ j + 1 ln 2 l = 0 j 1 β j l = α j l = 0 j 1 β j l + m = 0 j 1 α j m l = m + 1 j 1 β j l + ln 2 σ 1
According to the condition α j 0 , we have
σ j + 1 ln 2 l = 0 j 1 β j l m = 0 j 1 α j m l = m j 1 β j l σ 1 ln 2
Denoting by
T = inf k < j { β k } ,
we obtain
σ n ln 2 T n m = 0 j 1 α j m l = m j 1 β j l σ 1 ln 2
We come to evaluating the most important term:
I j = m = 1 j 1 α j m l = m j 1 β j l
The sum is defined by non-zero terms α j m :
ξ * ξ j m = ln 2 2 δ j m + 1 1 σ j + 1 m ln 2 / 2 ξ * , α j m = 2 δ j m 1 ξ j m
μ * μ j = 1 1 σ j + 1 ln 2 / 2 μ * , β j = 2 δ j 1 μ j
I j = m = 1 j 1 2 δ j m 1 ξ j m l = m j 1 2 δ j l 1 μ j , I j = m = 1 j 1 ξ j m l = m + 1 j 1 2 δ j l 1 μ j
I * ( n ) = ξ * μ * m = 1 n 1 2 A m , A m = l = m + 1 n 1 [ δ j l + 1 ] , S * ( n ) = ξ * μ * m = 1 n 1 2 A m ,
S ( n ) = 2 A n m = 1 n 1 2 A m A n , B n = A m A n
Consider the cases B m = i n 2 according to the definition B n By definition, each Collatz sequence corresponds to a set A m ; therefore, by iterating over all the sets, we iterate over all corresponding variants of the Collatz sequence. Consider now all possible variants of reaching the maximum level B m * = i , due to the monotonicity of the sequence B m * + k = i , k > 0 and for each variant, calculate
S ( n ) = 2 A n m = 1 m * 2 B m + 2 A n m = m * n 2 B m ,
S ( n ) = 2 i m = 1 m * 2 m i m * + 2 i m = m * n 2 i ,
J ( n ) = 2 i m = 1 n 2 m i m * S ( n )
J ( n ) = n 2 i ( 2 i 1 + O ( 1 ) ) i ln 2
n i ln 2 σ 1 , the theorem statement
Theorem 3.
Let
a n = i = 0 n γ i 2 i , n > 1000 , γ i { 0 , 1 } .
Then
j * < 0.1 n
and
a 4 n j * < a n .
Proof. 
Let’s introduce operators defined by the formulas
P f = f 2 , T f = 3 f + 1 , Z f = 3 f .
T i { P , T } , R i { Z , P } .
Consider all possible scenarios of the behavior of the Collatz sequence, which can be written in the following form:
a n + n = T 1 T 2 T n a n
We need to estimate each 2n-th term of the Collatz sequence based on the number of P, T, Z operators applied during n steps.
a n + n = T n T n 1 T 1 a n
Let a n have m ones in its binary representation, then we count the number of Z operator applications by the formula:
m = R i = Z , i n 1
and count the number of P operator applications by the formula:
R i = P , i n 1 = m + n m .
Since each application of Z is accompanied by operator P, and the number of P applications corresponds to the number of zeros in a n , which equals n - m. According to the rules of Collatz, after n steps we have:
a n + n = 3 m 2 n a n + T n T n 1 T 1 1 = 3 m 2 n a n + B n .
B n 2 n + m j = 1 m 3 j 2 j a n < 2 2 n + m 3 m 2 m a n 2 2 n + 1 3 m a n .
According to the last formula, we see that the growth of each term of the sequence depends on the number of ones in the binary representation. Next, we will show that a large number of ones at the 2n-th step leads to an increase in the number of zeros at the 3n-th step in the binary representation according to previous theorems, from which it follows that subsequent terms of the sequence decrease:
a 2 n = 3 m a n × 2 n + B n = 3 m + 3 m ( a n 2 n ) + B n
Repeating the reasoning of Theorem 2, we consider the equation
2 x = a 2 n = 3 m a n × 2 n + B n = 3 m + 3 m ( a n 2 n ) 2 n + B n .
x ln 2 = m ln ( 3 ) + ln 1 + ( a n 2 n ) 2 n + B n × 3 m .
From the last equation, to apply the results of Theorem 2, we need σ 1 = 1 { x } > 0.5 . To meet the last inequality, consider m j = m j ,
{ x } = inf j < 0.1 × n ( m j ) ln ( 3 ) ln ( 2 ) + ln ( 1 + θ ) ln 2 + O 1 2 n ln 2 .
Depending on the behavior of γ n 1 , γ n 2 , we can always choose a variant where the fractional part of x meets the conditions of Theorem 2. Denoting
m * is the number of non - zero γ i , l * is the number of zero γ i ,
according to Theorem 2 we get
m * ( 2 n j * ) ln 3 ln 2 / 2 + 5 , l * ( 2 n j * ) ln 3 ln 2 / 2 5 .
After 3 n j * steps of applying the Collatz rules, we have
a 4 n j * = 3 m * 2 2 n j * a 2 n + T 3 n j * T 3 n 1 j * T 1 1 = 3 m * 2 2 n a 2 n + B 3 n .
a 4 n j * = 3 m * 2 2 n a 2 n + T 3 n j * T 3 n j * 1 T 1 1 = 3 m * 2 2 n 3 m 2 n j * a n + B n + B 3 n j * .
a 4 n j * = 3 m * + m 2 3 n j * a n + 3 m * 2 2 n j * B n + B 3 n j * .
B 3 n j * = 3 m * 2 2 n j * B n = 3 m * + m 2 2 n n j * a n .
a 4 n j * q 1 × a n .
By definition of m * , l * , B n , we get
q 1 < 1 .
Using n > 1000 q 1 < 1 a 4 n < a n . □
Theorem 4.
Let
a n = i = 0 n γ i 2 i , n > 1000 , γ i { 0 , 1 }
then for a n Collatz conjecture is true
Proof. Proof follows from theorem 1-3

6. Conclusions

Our assertion proves that after 3 n steps, a sequence with an initial binary length of n arrives at a number strictly smaller than the initial one, from which the solution to the Collatz conjecture follows. This is because by applying this process n times, we are guaranteed to arrive at 1.

References

  1. O’Connor, J.J.; Robertson, E.F. (2006). "Lothar Collatz". St Andrews University School of Mathematics and Statistics, Scotland.
  2. Tao, Terence (2022). "Almost all orbits of the Collatz map attain almost bounded values". Forum of Mathematics, Pi. 10: e12. arXiv:1909.03562.ISSN 2050-5086. [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.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

© 2024 MDPI (Basel, Switzerland) unless otherwise stated