Preprint
Article

Collatz Conjecture

Altmetrics

Downloads

899

Views

275

Comments

0

This version is not peer-reviewed

Submitted:

30 December 2023

Posted:

04 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

MSC:  [2010] 11M26

1. Introduction

The paper analyzes the number of zeros in the binary representation of a natural number. The analysis is carried out using the concept of the fractional part of a number, which naturally arises when finding a binary representation. This idea relies on the fundamental property of the Riemann zeta function, which is constructed using the fractional part of a number. Understanding that the ratio of the fractional and integer parts, by analogy with the Riemann zeta function, expresses the deep laws of numbers, will explain the essence of this work.

2. Materials and Methods

This work is based on the following methods
  • Analysis of simple cases of natural numbers
  • A process of expansion of a natural number in powers of two is created.
  • The proximity to the completion of decomposition is analyzed at each stage
  • The number of zeros in the binary expansion of a natural number is calculated

3. 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
x N , [ α j ] [ α j + 1 ] = δ j > 0 , ϵ 1 < 1 / 2 ,
α j = [ α j ] + ϵ j , ϵ j < 1 ,
x = i = 1 j 1 2 [ α i ] + 2 α j , x = i = 1 j 2 [ α i ] + 2 α j + 1 , σ j = 1 ϵ j
Then
as δ j = 1
σ j + 1 l n 2 = 2 σ j l n 2 1 σ j + 1 l n 2 + o ( σ j + 1 2 / 4 )
as δ j > 1
σ j + 1 l n 2 = 2 δ j 1 l n 2 2 δ j 1 1 σ j + 1 l n 2 / 2 + 2 δ j 1 σ j l n 2 1 1 σ j + 1 l n 2 / 2 + o ( σ j + 1 2 )
Proof. 
2 ϵ j = 2 δ j + ϵ j + 1 + 1 2 1 σ j = 2 δ j + 1 σ j + 1 + 1
l n ( 2 1 σ j ) = l n 2 σ j l n 2 = l n ( 2 δ j + 1 σ j + 1 + 1 )
Computing as δ j = 1
l n ( 2 δ j + 1 σ j + 1 + 1 ) | δ j = 1 = l n ( 2 σ j + 1 + 1 ) = l n ( ( 1 σ j + 1 l n 2 + σ j + 1 2 l n 2 / 2 ) + 1 + o ( σ j + 1 2 / 4 ) )
l n ( 2 σ j + 1 l n 2 + σ j + 1 2 l n 2 2 / 2 ) = l n 2 + l n ( 1 σ j + 1 l n 2 / 2 + σ j + 1 2 l n 2 / 4 + o ( σ j + 1 2 / 4 ) )
l n ( 2 σ j + 1 + 1 ) = l n 2 l n 2 σ j + 1 / 2 + l n 2 2 σ j + 1 2 / 2 + o ( σ j + 1 2 / 4 )
l n 2 σ j l n 2 = l n 2 l n 2 σ j + 1 / 2 + l n 2 2 σ j + 1 2 / 4 + o ( σ j + 1 2 / 4 )
σ j + 1 l n 2 = 2 σ j l n 2 1 σ j + 1 l n 2 / 2 + o ( σ j + 1 2 / 4 )
Repeating computing as δ j > 1 we get
l n ( 2 δ j + 1 σ j + 1 + 1 ) = l n ( 2 δ j + 1 2 σ j + 1 + 1 ) =
l n ( 1 + 2 δ j + 1 + 2 δ j + 1 [ σ j + 1 l n 2 + σ j + 1 2 l n 2 2 / 2 ] + o ( σ j + 1 2 / 4 + 2 δ j + 1 ) =
2 δ j + 1 + 2 δ j + 1 [ σ j + 1 l n 2 + σ j + 1 2 l n 2 2 / 2 ] + o ( σ j + 1 2 + 2 δ j + 1 )
l n 2 σ j l n 2 = 2 δ j + 1 + 2 δ j + 1 [ σ j + 1 l n 2 + σ j + 1 2 l n 2 2 / 2 ] + o ( σ j + 1 2 + 2 δ j + 1 )
σ j + 1 l n 2 = 2 δ j 1 l n 2 2 δ j + 1 1 σ j + 1 l n 2 / 2 + 2 δ j 1 σ j l n 2 1 1 σ j + 1 l n 2 / 2 + o ( σ j + 1 2 + 2 δ j + 1 )
 □
Theorem 2.
Let
x N , α j = [ α j ] x = i = 1 j 1 2 [ α i ] + 2 α j
Then the number of zeros in the binary representation C z is calculated by the following formula
C z = i = 1 j 1 [ δ i 1 ] + α j 1
Proof. 
C z = i = 1 j 1 [ α i α i + 1 1 ] + α j 1
By definition δ i
C z = i = 1 j 1 [ δ i 1 ] + α j 1
 □
Let’s introduce μ k , ν k for x = i = 0 n γ i 2 i by following rules
γ k + γ k + 1 = 1 , γ k + μ k + γ k + μ k + 1 = 1 , i = k + 1 i = μ k γ i = 1 ;
γ j + γ j + 1 = 1 , γ j + μ j + γ j + ν j + 1 = 1 , ν j = i = j + 1 i = ν j ( 1 γ i )
another words
  • μ k , is count of ones starting at point k with no zeros in between until the first zero or until the end of the sequence
  • ν j is count of zeros starting at point j with no ones in between until the first zero or until the end of the sequence
Theorem 3.
Let
x = 3 n = 2 [ α ] + { α } = i = 1 n γ i 2 i ,
{ α } > l n 2 , n = n [ ln ( 3 ) / ln ( 2 ) ]
then
γ i = 0 1 n / 2 5
Proof. 
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
Suppose
γ i = 0 1 = 0
then by Theorem 1
σ j + 1 l n 2 = 2 σ j l n 2 1 σ j + 1 l n 2 + o ( ln 2 σ j + 1 2 / 4 )
2 1 σ j + 1 l n 2 = σ j l n 2 1 σ j + 1 l n 2 + 2 1 o ( ln 2 σ j + 1 2 / 4 )
After repeating j times we get
2 j σ j + 1 l n 2 = σ 1 l n 2 1 j ( 1 σ k + 1 l n 2 / 2 ) + 1 j 2 k o ( ln 2 σ k + 1 2 / 4 )
By Theorems (1-2) and condition of the current Theorem proceed
l n 2 / 2 < σ 1 l n 2 < o ( ln 2 σ k + 1 2 / 4 )
immediately
γ i = 0 1 > 0
Let’s introduce
a s δ k = 1 : α k = 0 , β k = 1 1 σ j + 1 l n 2
a s δ k > 1 : α k = 2 δ j 1 l n 2 2 δ j 1 1 σ j + 1 l n 2 / 2 , β k = 2 δ j 1 1 σ j + 1 l n 2 / 2
l n 2 σ k + 1 = α k + β k l n 2 σ k
σ j + 1 l n 2 = α j + m = 1 m = j 1 α j m l = 1 l = m β j l + 1 + l = 0 l = j 1 β j l l n 2 σ 1
σ j + 1 l n 2 l = 0 l = j 1 β j l = m = 0 m = j 1 α j m l = m + 1 l = j 1 β j l σ 1 l n 2
By condition the theorem
σ j + 1 l n 2 l = 0 l = n 1 β n l m = 0 m = n 1 α j m l = m l = n 1 β j l σ 1 l n 2
σ n l n 2 l = 0 l = n 1 β n l m = 0 m = n 1 l n 2 2 δ j + 1 l = m + 1 l = n 1 β j l σ 1 l n 2
Suppose i ( 1 , n ) δ i = 2
σ n l n 2 l = 0 l = n 1 β n l + m = 0 m = n 1 l n 2 1 / 2 2 m > σ 1 l n 2
2 ( l n 2 1 / 2 ) > σ 1
δ j > 2
In common case
σ n l n 2 l = 0 l = n 1 β n l + m = 0 m = n 1 l n 2 2 2 δ m 2 m = 0 m = n 1 β m > σ 1 l n 2
and we see in case δ m > 2 With the growth of δ m > 2 , we see an exponential growth of the denominator, so the influence of δ m > 2 terms with large values does not have a significant effect on the estimate of the left side of the inequality. The reason is the accumulation of the β m value corresponding to δ m = 1 . Therefore, the effect, taking into account δ m > 2 with large values, is insignificant for estimating the left part of the inequality. ⇒ statement of Theorem  □
Theorem 4. Let
a n = i = 0 n γ i 2 i , n > 1000 , γ i { 0 , 1 }
then
a 8 n < a n
Proof. In more detail, the estimation process consists of replacing 3 l in a n + l by formula 7 which does not contain powers of the triple which allows one to evaluate the resulting terms of the Syracuse sequence. as a result, we get the following estimate. Let’s introduce operators defined formulas
P f = f / 2 , T f = 3 f + 1 , Z f = 3 f
Let’s consider all possible scenarios of the behavior of the Syracuse sequence, the same possible scenarios can be written in the following form
a n + n = T 1 T 2 . T n a n T i { P , T } , R i { Z , P } , , a n + n = R 1 R 2 . R n a n + A
Let’s introduce
m = R i = Z 1
and compute
R i = P 1 = n m + m = n
By rules of Collatz we have after 2 n steps
a n + n = 3 m / 2 n a n + B n
where
A j = R i = Z , i = 1 , j 1 , C j = R i = Z , i = 1 , j 1 R i = P , i = 1 , j 1 B n = j = 1 , n 3 A j 2 C j B n j = 1 , n 3 j / 2 j < 23 n / 2 n 2 ( 3 / 4 ) n a n
A = a 2 n = 3 m a n 2 n + B n = a n 2 n + B n 3 m A = i = 0 α 1 γ i 2 i , γ i { 0 , 1 } , α 1 = m ln 3 / ln 2 + ln 2 n a n
Let
m is count of non zeros of γ i l is count of zeros of γ i
by theorem 2 we will have
m α 1 / 2 + 5 = [ m ln 3 / ln 2 ] / 2 + 5 l α 1 / 2 5 = [ m ln 3 / ln 2 ] / 2 5
After α 1 steps applying rules of Collatz we have
a 2 n + α 1 3 m 3 α 1 / 2 2 α 1 2 5 3 5 a n 2 n + B n = 3 m q 1 a n
where
q 1 = 3 m 3 α 1 / 2 2 α 1 2 5 3 5
Repeating the process 3 times and using n > 1000 q 3 < 1 a 8 n < a n
Theorem 5. 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-7

6. Conclusions

Our assertion proves that after 2 n of steps the sequence comes to a number less than the start one, from which follows the solution of the Collatz conjecture.

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