Preprint
Article

A Proof of Collatz Conjecture Using Pyramid Fractions

Altmetrics

Downloads

148

Views

166

Comments

0

This version is not peer-reviewed

Submitted:

30 January 2024

Posted:

30 January 2024

You are already at the latest version

Alerts
Abstract
In this paper, I introduce a new concept of representing numbers in base ; in other words, I have found new series for any number similar to series that could be written according to the collatz sequence which is called zi(n) in this article. These series need to end with 1. Then, we use two sets of rules to make a diagram which then proves the existence of such series for any number.In this diagram, by branching numbers into different branches in accordance to the modularity of 4 and continuing branching to the point that their numbers have enough common terms in their collatz series, we could reduce zi(n) to zi(k) so that k<n in any branch by Rule Number One. This diagram shows that zi(n) exists for every number, in other words, this proves the theorem (A) or zi-existence theorem. The proof of zi-existence theorem leads to a proof of the collatz conjecture because the collatz series could be written as a linear combination of such series that all of them end with 1, so the collatz series for any number ends with 1.
Keywords: 
Subject: Computer Science and Mathematics  -   Mathematics

Introduction

Choose a natural number. If the current number is even, divide it by 2, and if it is odd, multiply it by three and add one. The Collatz conjecture says when you proceed with these two rules again and again, you reach 1; no matter which positive number has been chosen to start the sequence. It is named after the mathematician Lothar Collatz, who introduced the idea in 1937, two years after receiving his doctorate [1].J.Lagarias provided a useful survey of the subject[2]. collatz conjecture is a very famous problem in mathematics, and has not yet been completely solved. This conjecture is also known as Kakutani`s problem, the 3x+1 problem, the Ulam conjecture, the Thwaites conjecture, Hasse’s algorithm, and the Syracuse problem [3][4]. The Collatz conjecture has been checked up to 268 for all positive numbers by 2020 [5]. The nearest proof of conjecture has been posted by Dr. Terence Tao who shows that conjecture is “almost” true for “almost “all numbers [6]. This paper presents a simple, complete elementary proof for collatz conjecture. I use a new method and some new symbols in this article which will be explained later. This proof is based on a diagram that is the result of two rules and will be present in second part.  

Discussion

1. B a s e 1 p a n d d e f i n i t i o n o f s y m b o l s

1.1. Definition of base ⅓
We say that a natural number is converted into b a s e 1 3  when there are powers of 2, so that the following relationship exists between n and them:
n 1 3 0 + 2 0 1 3 1 + 2 α 1 1 3 2 + 2 α 2 1 3 3 + + 2 α i 1 3 r = 2 α 1 3 r
The base is  1 3   and its digits are powers of 2.Here, we actually express n to powers of 2 and 3. Same as above, we say that n is converted into b a s e   1 5   if there are powers of 2 and 3, so that we have:
n + 1 5 + 2 α 1 3 β 1 1 5 + 2 α 2 3 β 2 1 5 2 + + 2 α i 3 β i 1 5 q = 2 α 3 β 1 5 q
And so on. Here, 1 5   is the base, and the digits are the product of powers of 2 and 3.We have similar definitions for other bases. For b a s e   1 p  , the digits are the product of powers of primes smaller than n.
1.2. different ways of writing n when it is converted into b a s e 1 p .
When n is converted into base 1 3  . We show it in 3 ways:
1.2.a. As bracket:
n 1 2 α 1 2 α 2 . 2 α i = 2 α
For example:
Preprints 97656 i004
1.2.b. As a pyramid fraction: such as pyramid fraction in the beginning of this article.
1.2.c.As a finite series, we called z i ~ 3 n  or z i ~ ( n ) .
z i ~ n   n + 1 3 + 2 α 1 3 2 + 2 α 2 3 3 + + 2 α i 3 i = 2 α 3 i
We can continue z i ~ ( n ) :
z i ~ n   n + 1 3 + 2 α 1 3 2 + 2 α 2 3 3 + + 2 α i 3 i + 2 α 3 i + 1 + 4 2 α 3 i + 2 + 16 2 α 3 i + 3 +
When we continue z i ~ ( n ) after some terms, each term becomes a quadruple the previous term. These terms of z i ~ ( n ) are called calm terms or calm zone.The first terms of z i ~ ( n ) that aren’t regular are called hailstone terms or hailstone zone of z i ~ ( n ) .For example:
z i ~ n   n + 1 3 + 2 α 1 3 2 + 2 α 2 3 3 + + 2 α i 3 4 + 2 α 3 5 + h a i l s t o n e   z o n e 4 2 α 3 7 + 16 2 α 3 8 + c a l m   z o n e
1.3. c o ~ n
The series has been written according to the collatz sequence called c o ~ ( n ) .
c o ~ n i s   a   s p e c i a l   c a s e   o f z i ~ n .   T h i s   t y p e   o f   z i ~ n   i s   i m p o r t a n t   f o r   u s .
c o ~ n i s   u n i q u e   f o r   e v e r y   n u m b e r   a n d   w e   c a n   c o n s i d e r   i t   a s   m a i n   z i ~ n .
But With a few algebraic changes in c o ~ n o r   z i ~ ( n ) ,so that numerators of terms remain powers of 2 we can obtain different z i ~ n for a natural number.
We can write z i ~ ( n ) or c o ~ ( n ) as an equation between powers of 2, 3, and n :
For zi(n) if: z i ~ n n + 1 3 + 2 α 1 3 2 + 2 α 2 3 3 + + 2 α i 3 i = 2 α 3 i
Then: n * 3 i + 3 i 1 + 2 α 1 * 3 i 2 + 2 α 2 * 3 i 3 + + 2 α i = 2 α 1 .4
1.4.a. definition of  n z i ~ n a n d n c o ~ ( n )
The set of powers of 2 that are numerators of terms in z i ~ n   a n d   c o ~ ( n ) , is called numbers of z i ~ n   a n d   c o ~ ( n ) , and we indicate it with n z i ~ n   a n d   n c o ~ n . For example:
z i ~ n   n + 1 3 + 2 α 1 3 2 + 2 α 2 3 3 + + 2 α i 3 i + 2 α 3 i + 1 + 4 2 α 3 i + 2 + 16 2 α 3 i + 3 +
n z i ~ n = 1 , 2 α 1 , 2 α 2 , , 2 α i , 2 α , 4 2 α , 16 2 α
1.4.b. Definition of j n z i ~ n a n d j n c o ~ ( n ) The set of powers of 2 obtain from dividing each numerator of any term by the numerator of the previous term is called jump numbers of z i ~ n   a n d   c o ~ ( n ) , and we show them with j n z i ~ n o r   j n c o ~ n ,
z i ~ n   n + 1 3 + 2 α 1 3 2 + 2 α 2 3 3 + + 2 α i 3 i + 2 α 3 i + 1 + 4 2 α 3 i + 2 + 16 2 α 3 i + 3 +
j n z i ~ n = { 2 α 1 , 2 α 2 α 1 , , 2 α α i , 4,4 , . . . }
In the calm zone, all of jump numbers are 4. j n z i ~ ( n ) contains 20 and the negative powers of 2, but j n c o ~ ( n ) only has positive powers of 2,and the smallest jump number in j n c o ~ ( n ) is 2.
Here is the difference between z i n a n d   z i ~ ( n ) :
z i ~ n   o r   c o ~ n   n + 1 3 + 2 α 1 3 2 + 2 α 2 3 3 + . . 2 α i 3 i + 2 α 3 i + z i n   o r   c o n   1 3 + 2 α 1 3 2 + 2 α 2 3 3 + . . 2 α i 3 i + 2 α 3 i + . . .  
Therefore: z i ~ n o r c o ~ ( n ) = n + z i ( n )

2. Rule 1(algebraic rule):

Reducing zi(n) to zi(k) so that k<n using algebraic rule of obtaining zi(n) from z i ( n 1 2 ) Initial terms of c o ~ n 1 2 are important for obtaining z i ~ n from them . In some numbers, with a few algebraic changes, we can obtain zi(m) from c o ~ m 1 2 .
In some numbers that we couldn’t obtain   z i ~ n from c o ~ m 1 2 directly, we need to continue n according to collatz sequence to reach a right number such as m with suitable initial terms in c o ~ m 1 2 so that we can obtain z i ~ m from it; however, for reducing n last terms of c o ~ m 1 2 after initial terms must end with a smaller number than n.
In general, there is a path for each n to reducing zi(n). This path contains
1 . c o n t i n u i n g   a c c o r d i n g   t o   C o l l a t z   s e q u e n c e . (   h o r i z o n a l   m o v e m e n t   ) 2 . c o n v e r t i n g   s o m e   n u m b e r s   d u r i n g   t h e   p a t h   s u c h   a s   m   t o   m 1 2 . ( v e r t i c a l   m o v e m e n t )
For reducing n, we have to choose the correct path so that the last line of the path after the initial terms ends with a number smaller than n, and the initial terms of each line during the path have to be suitable for obtaining zi(m) from z i ( m 1 2 ) of that line.
In general, with basic algebraic rules for these series, we can obtain zi(n) from   z i n 1 4 or   z i n 5 8 or   z i n 21 64 , or even sometimes from z i k   i f   k < n which depends on n. From all the basic algebraic rules of such series, we only use obtaining zi(n) from z i ( n 1 2 ) in the Zi3-diagram and consider it as Rule Number 1.

3. Rule 2(arithmetic rule)

Every natural number can be converted into base-4, and we write it as;
( a 1 a 2 a 3 . a i ) 4     t h a t   a i { 0,1 , 2,3 }
In other form: 4 * * 4 * 4 * 4 + a 1 + a 2 + + a i Rule number 2 (arithmetic rule) says that the more two numbers are similar in base-4, The more they have similar first terms in their co(n), and this is provable by the rules of divisibility easily.
Lemma 1. if: n = ( γ 3 γ 2 γ 1 α β λ ) 4
Then: 3 n + 1 = [ γ 3 γ 4 γ 2 γ 3 γ 1 γ 2 α γ 1 β α λ β 1 λ ] 4
Proof: Suppose n = ( γ 3 γ 2 γ 1 α β λ ) 4
we can write: n = + 4 5 * γ 3 + 4 4 γ 2 + 4 3 γ 1 + 4 2 * α + 4 1 * β + λ
So:
3 n + 1 = 4 n n + 1 = 4 + 4 5 γ 3 + 4 4 γ 2 + 4 3 γ 1 + 4 2 α + 4 1 β + λ   + 4 5 γ 3 + 4 4 γ 2 + 4 3 γ 1 + 4 2 α + 4 1 β + λ + 1 = + 4 6 γ 3 + 4 5 γ 2 + 4 4 γ 1 + 4 3 α + 4 2 β + 4 1 λ + 4 5 γ 3 + 4 4 γ 2 + 4 3 γ 1 + 4 2 α + 4 1 β + λ + 1 = + 4 6 γ 3 γ 4 + 4 5 γ 2 γ 3 + 4 4 γ 1 γ 2 + 4 3 α γ 1 + 4 2 β α + 4 1 λ β + 1 λ
Proof of rule 2:
When we have two different numbers that are similar in base 4, such as n = ( γ 3 γ 2 γ 1 α β λ ) 4 and m = ( ν 3 ν 2 ν 1 α β λ ) 4 that are common in some digits according to lemma 1, we see that they have similar digits in base 4 even when they are converted to 3n+1. Divisibility by 2 for the last terms in 3n+1 in two numbers is same, and initial sentences have enough 4 for divisibility by 2. This makes similar initial terms in co(n) for two numbers.
For example: 111 = ( 123 3 ) 4 c o m m o n p a r t a n d 1391 = ( 1 123 3 ) 4 c o m m o n p a r t
They are common in six terms in their co(n). We can consider these two numbers as members of this branch:
n = 4 4 4 4 g + 1 + 2 + 3 + 3
i f   g = 1   n = 111                       a n d   i f   g = 5   n = 1391
For convenience in writing, we indicate this branch as g 3321 .
In general, for these numbers:
Preprints 97656 i005
We show with g(4) or g, and their common part as index of g.
g f e d c b indicate a set of numbers (not a specific number), that produce with replacing g with {0,1, 2, …}.
4. the zi3-diagram and Description of zi3-diagram
we have described two rules:
r u l e   1 . R e d u c i n g   z i n t o   z i k s o   t h a t   k < n   u s i n g   a l g e b r a i c   r u l e   o f   o b t a i n i n g   z i n   f r o m   z i ( n 1 2 )   r u l e   2 .   T h e   m o r e   t w o   n a t u r a l   n u m b e r s   h a v e   s i m i l a r i t y   i n   b a s e 4 , t h e   m o r e   t h e y   h a v e s i m i l a r i t y   i n   c o n , o r   t h e   m o r e   c o m m o n   t e r m s   i n   t h e i r   c o n .
In the zi3-diagram, according to rule 2, we categorize natural numbers into different branches by the modularity of 4. The more we proceed with branching, the more numbers in branches become similar to their own co(n), so we continue to reach suitable branches whose numbers have enough common terms in their co(n), and then, with the help of rule 1, we reduce zi(n) to zi(k) so that k˂n in each branch. In other words, we continue categorize numbers according to the modularity 4 until we reach the branches whose numbers have the same path to reducing zi of them to zi of a smaller number. The path includes horizontal and vertical movements, and the path for each branch in this diagram isn’t unique. Number of branches in this diagram is finite. We use this diagram to prove zi-existence theorem or theorem A and also collatz conjecture. This diagram will be presented in second part of article.
When we categorize numbers according to the modularity of four numbers that have the same path placed in the same branch, we can find a path for each branch to reduce zi(n)’s.
However, you can make the zi-diagram shorter if you accept 0 and 1 in numerators of zi(n) and accept all algebraic rules of such series as Rule Number 1.
Here is the first page of branching numbers at the beginning of the zi-diagram in two forms below. For convenience, I will use the second form in the second part of the article. After that, it will be continued to reach the branches that have a suitable path for reducing zi(n) to zi(k) provided that k˂n. The branches are finite in this tree-diagram.
1 4 3 4 03 4 003 4 103 4 203 4 303 4 13 4 013 4 0013 4 1013 4 01013 4 001013 4 11013 4 21013 4 31013 4 11013 4 21013 4 31013 4 2013 4 3013 4 113 4 0113 4 1113 4 2113 4 3113 4 213 4 313 4 23 4 33 4    
O R g 1 g 3 g 30 g 300 g 301 g 302 g 303 g 31 g 310 g 3100 g 3101 g 31010 g 310100 g 31011 g 31012 g 31013 g 31011 g 31012 g 31013 g 3102 g 3103 g 311 g 3110 g 3111 g 3112 g 3113 g 312 g 313 g 32 g 33
In some branches, when we continue n according to collatz sequence, we reach k, where k˂n. for example g1, g3300, g3302, g32101211, ….
In some branches, we can obtain zi(n) from zi( n 1 2 ) directly, such as: g3321,g3323,g3301,….
But in some branches, we need to choose a complicated path, include horizontal and vertical movements to reach the right number such as k, so that k j 1 2 has two conditions:
a. We should be able to obtain zi( k j ) from z i ( k j 1 2 ) with algebraic changes in the initial terms of z i ( k j 1 2 ) .
b. z i ( k j 1 2 ) after these initial terms reaches a number smaller than n.
Furthermore, we must be able to obtain zi( k i ) from z i ( k i 1 2 ) by a few algebraic changes in initial terms of z i ( k i 1 2 ) during the path in any line. In general, we have such path:
Preprints 97656 i002
We can indicate this path according to jump numbers:
Preprints 97656 i003
The story of branch g33…3 is different, which I will explain in second part of the article. The second part of the article contains zi3-diagram. In the zi-diagram, we will show the path of every branch and the numbers in any branch will be reduced to a smaller number.

5. Theorem(A)

Zi3-existence-theorem, which is a weak form of collatz theorem:
There is zi(n) for every natural number; in other words, all natural numbers can be converted into b a s e   1 3 .
Proof:
In the zi3-diagram, we have categorized numbers into different branches according to modularity of 4, and we continue branching until we reach branches whose numbers are enough similar in base-4, then we have reduced zi(n) to zi(k) by a path so that k˂n in each branch. With the zi3-diagram, we can obtain zi(n) for every n. First, we should determine n belongs to which branch of diagram, and in that branch, we reduce zi(n) to zi (k) so that k ˂n. Now k belongs to another branch in the zi3-diagram, and we can reduce k to a smaller number. By continuing this process again and again, we reach 1, and we find zi(n) for all the natural numbers. This proves theorem A.

6. Converting ziʼs of n to each other

According to the theorem (A), for every n, we have:
z i ~ n   n + 1 3 + 2 α 1 3 2 + 2 α 2 3 3 + . . 2 α i 3 i = 2 α 3 i
We close zi(n), in the second term:
z i ~ n   n + 1 3 + 2 α 1 3 2 z i ( k )
Therefore:
z i ~ n   n + 1 3 + 2 α 1 2 r 3 2 z i k 2 r = n + 1 3 + 2 α 1 + r 3 2 z i k 2 r
z i k 2 r   1 3 + z i 3 k 2 r 2 r + 2 r 3 2 2 r = 1 3 + z i 3 k + 2 r 3 2 2 r
z i ~ n   n + 1 3 + 2 α 1 + r 3 1 3 + z i 3 k + 2 r 3 2 2 r
z i ~   n + 1 3 + 2 r + α 1 3 2 + 2 α 1 z i 3 k + 2 r 3 3
  2 α 1 3 2 z i k = 2 r + α 1 3 2 + 2 α 1 z i 3 k + 2 r 3 3
We can obtain z i ( 3 k + 2 r ) from the zi-diagram. In this series, with desire r, we change the second term and consequently other terms aftermath, and we have a different zi for n. Here we choose and close the second term in the original zi. We can close the other terms and obtain a different zi of n. In general, for term i:
2 α 1 3 i z i k = 2 r + α 1 3 i + 2 α 1 z i 3 k + 2 r 3 i + 1   ( v )
In fact, with different r, the path of zi(n) changes, and we can obtain different zi for n.

7. Collatz theorem proof

In the zi-diagram for every n we have:
z i ~ n   n + 1 3 + 2 α 1 3 2 + 2 α 2 3 3 + . . 2 α i 3 i = 2 α 3 i 1
With equation (v), we can write every zi of n [especially co(n)], such as:
n + 1 3 + 2 α i 3 γ t + 2 α 3 γ t + 1 z i ( q )
That zi(q)𝛜 zi-diagram.
Actually, you can use the branches in the zi-diagram as elements to make any zi, even co(n), from them.
According to theorem A, we know a l l z i n z i d i a g r a m z i 1 , therefore:
c o n = n + 1 3 + t i 2 α i 3 γ t + 2 α 3 γ t + 1 z i ( q )   z i ( 1 )
If co(n) don’t end with co(1) then there is a zi(m) in the zi-diagram don’t end with 1 and theorem(A) must be false.

8. Conclusion

In this paper, we proved collatz conjecture only with two simple rules. We actually used a relationship between co(n) and modularity of 4.
With two rules, we make the zi3-diagram that it shows all natural numbers can be converted into b a s e 1 3 . In part 2, we will represent the zi3-diagram. This led to a proof of collatz conjecture.
This method can be used for:
  • other bases such as: 1/5 ,1/7, ….
  • other forms of collatz problem’s generalizations. We can even, arrange a similar diagram for negative integer.
You can write the zi5-diagram which could be easier than zi3-diagram, or the zi-diagrams for other bases: zi7, zi11, ….
But writing the zin-diagram is time-consuming.

Acknowledgements

I dedicate my research to my parents. I would like to thank my nephew Mehrdad Ghassabi, who introduced me to this problem several years ago. I am also very grateful to Dr. Mehdi Nasri, the Research Deputy of Azad University of Khomeinishahr, who helped me to publish this article.

References

  1. O’connor.J.J. ;Robertson,E.F.(2006).”Lothar Collatz”.St Andrews University School of Mathematics and Statistics,Scotland.
  2. Lagarias,Jeffrey C. (1985). “The 3x+1 problem and its generalizations”. The American Mathematical Monthly. 92 (1): 323. [CrossRef]
  3. Maddux,Cleborne D.Johnson,D.Lamont(1997).Logo:A Retrospective.New York:Haworth Press.P.160.ISBN 0-7890-0374-0.
  4. According to Lagarias(1985),p.4,the name “Syracuse problem” was proposed by Hasse in the 1950s,during a visit to Syracuse University.
  5. Barina, David (2020).” Convergence verification of the Collatz problem.” The Jornal of Supercomputing. 77 (3): 26812688. [CrossRef]
  6. Terence Tao. Almost all orbits of the collatz map attain almost bounded values. 2019. URL https://arxiv.org/pdf/1909.03562.pdf. Published directly to arXiv with arXiv ID 1909.03562. [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