Work in progress:
Definition of F(n)
Consider all possible values of
(2a1 - 2a2 - 3*2a3 – 32*2a4 - ... – 3(m-2)*2am – 3(m-1))/3m for a2 > 0 a1-a2 ≠ 2
(2a1 - 1)/3 for a2 = 0
where ak > ak+1 and ak is a positive integer.
I call expressions of this form the Collatz representation of a number. If the Collatz conjecture is true then every odd positive integer will have a unique Collatz representation. The stopping time for a number with a Collatz representation is a1.
For brevity I will refer to the above number only by the powers of two i.e. x = (a1,a2,…,am)
Proof of uniqueness:
Let x have two distinct Collatz representations (a1,a2,…,am) and (b1,b2,…,bn). Multiply both by 3 and add 1. If am=bn divide both sides by am and continue. Since the representations are distinct, at some point am-i ≠ bn-i. Without loss of generality assume am-i > bn-i. Now multiply both sides by 3 and add 1 then divide both sides by bn-i. The numerator of (b1,b2,…,bn) has been reduced to an odd number but the numerator of (a1,a2,…,am) is even after applying the same operations to both sides. Therefore (a1,a2,…,am) ≠ (b1,b2,…,bn).
Let F(n) = the number of integer solutions for a1=n.
For a1 = n there are 2(n-1) - 2(n-3) possible equations and the number of equations with m powers of 2 will have binomial distribution over n-1 minus the equations where a1 – a2 = 2 which will have m powers of 2 binomially distributed over n-3.
e.g. a1 = 1
(1) = (21 - 1) / 3 = 1/3
so F(1) = 0
e.g. a1 = 2
(2,1) = (22 – 21 - 3) / 32 = -1/9
(2) = (22 – 20) / 3 = 1
so F(2) = 1
e.g. a1 = 3
(3,2,1) = (23 – 22 – 31*21 – 32) / 33 = -11/27
(3,2) = (23 – 22 – 31) / 32 = 1/9
(3,1) = (23 – 21 – 31) / 32 = 3/9
(3) = (23 – 20 ) / 3 = 7/3
None are integers so F(3) = 0
Note that (3,1) is the same as (1) since a1 – a2 = 2 so this equation would not be included.
Some Observations
What other restrictions can we place on this expression to ensure it is an integer?
1. Clearly a1 ≡ a2 mod 2 otherwise 3 does not divide 2a1 - 2a2
2. If a1≡a2 mod 6 then 2a1≡2a2 mod 9. So repeated applications of the Collatz algorithm will yield: (2b-2(b-6q)-3)/32. Since 32 | (2b-2(b-6q)) but 32 does not divide 3 this cannot be an integer. Thus the original expression could not have been an integer.
3. 2n ≥ 3m gives an upper bound for m. So m ≤ n log32. If m is larger than this then the expression evaluates to x < 1.
4. If (a1,a2...,am) < 0 then it can not be an integer. To see this first note that 3x+1 is closed on the negative integers. So if we assume (a1,a2...,am) = x
-Z and we apply the collatz algorithm to the both sides of the equality we end up at 1 on the LHS but the RHS must be a negative value due to the closure of 3x+1 on the negative integers which is a contradiction.
If we ignore a1 then what restrictions can we place on the remaining powers of 2? The answer is none. To see this first note that 2 is a primitive root of 3n so the order of 2 mod 3n is 2*3n-1
Now 2a1 - 2a2 - 3*2a3 – 32*2a4 - ... – 3(m-2)*2am – 3(m-1) = 2a1 - 2a2 - 3*x
And since 2 is a primitive root of 3n
2a1 - 2a2 - 3*x ≡ 2a1 - 2β mod 3n for some β between 1 and 2*3n-1
So 2a1 - 2β ≡ 0 mod 3n has the solution a1 = β+q*2*3n-1 q=0,1,2,….
For example consider (a1,1,2) what is the solution for a1?
2a1 – 21 - 3*22 – 32 = 2a1 – 23 and 211 ≡ 23 mod 33
So a1 = 11 +q*18. Letting q=0 gives (211 – 21 - 3*22 – 32)/33 = 75
But the Collatz representation for 75 is (11,3,1). So (11,3,1) = (11,1,2). What happened to our uniqueness for the Collatz representation? The answer is we relaxed the condition that ai is monotonically decreasing. This raises some questions.
1. How many different ways can we represent a number if the ai are not monotonically decreasing?
2. What is the minimum number of terms needed to represent a number if we relax the monotonic condition?
Transformations of x
Consider the term am. This can tell us something about the number. Let x = (a1,a2,…,am) Since x is odd it is 1,3,5 or 7 mod 8.
(8n +1) * 3 + 1 = 24n + 4 = 22 * ( 6n +1) so the value of am must be 2.
(8n + 3) * 3 + 1 = 24n + 10 = 21 * (12n + 5) so the value of am must be 1.
(8n + 5) * 3 + 1 = 24n + 16 = 23 * (3n + 2) so am >= 3 since 3n+2 is even if n is even.
(8n + 7) * 3 + 1 = 24n + 22 = 21 * (12n + 11) so am is 1.
Let’s take a look at some transformations of x. It’s easy to show that if x = (a1,a2,…,am) then (a1+2,a2+2,…,am+2) = 4x + 1 and 4x + 1 is 5 mod 8. If we think about the numbers we can create for a1 = n we can show a one to one correspondence between the a1 = n where x ≡5 mod 8 and all the numbers for a1 = n-2. a1 = n inherits all it’s numbers 5 mod 8 by simply “inflating” the numbers a1 = n-2 by adding 2 to all the powers of 2. We now have some of the answer to the question what is F(n)?
F(n) = F(n-2) + the numbers a1=n where am is 1 or 2.
Now take a look at am=2. Clearly (3x + 1)/4 : (a1,a2,…,am-1,2) → (a1-2,a2-2,…,am-1-2) and since x ≡ 1 mod 8, (3x +1)/4 ≡ 1 mod 6.
Conversely if x = (a1-2,a2-2,…,am-1-2) ≡ 1 mod 6 then (4x – 1)/3 : (a1-2,a2-2,…,am-1-2) → (a1,a2,…,am-1,2) ≡ 1 mod 8. So we have shown a 1 to 1 correspondence between the numbers x ≡ 1 mod 8 for a1 and x ≡ 1 mod 6 for a1-2.
Last we look at am=1. Again (3x + 1)/2 : (a1,a2,…am-1,1) → (a1-1,a2-1,…,am-1-1) and since x is 3 or 7 mod 8, (3x+1)/2 ≡ 5 mod 6.
Conversely if x = (a1-1,a2-1,…,am-1-1) ≡ 5 mod 6 then (2x – 1)/3 : (a1-1,a2-1,…,am-1-1) → (a1,a2,…,am-1,1) ≡ 3 or 7 mod 8. So we have shown a 1 to 1 correspondence between the numbers x ≡ 3 or 7 mod 8 for a1 and x ≡ 5 mod 6 for a1-1.
We now have a full definition for F(n).
F(n) = F(n-2) + F(n-2)x≡1 mod 6 + F(n-1)x≡5 mod 6 Except when n=4 since (4x-1)/3 maps 1 to itself.
This also gives us a definition for the number of integers a1=n with a given value of m since
F(n)m=b = F(n-2)m=b + F(n-2)x≡1mod6 m=b-1 +F(n-1)x≡5mod6 m=b-1
If we define S(n) as the sum of the integers that comprise F(n) then
S(n) = ∑a1=n-2 (4x+1) + ∑a1=n-2 x≡1mod6 (4x-1)/3 + ∑ a1=n-1 x≡5mod6 (2x-1)/3
If we assume an even distribution of x over mod 6 then we can interpret F(n) as 1/3 F(n-1) +4/3 F(n-2). Solving this difference equation with initial conditions F(0) = 0, F(1) = 1, F(2) = 0 gives F(n) = 9/28 (4/3)n – 4/7(-1)n and lim n→∞ F(n)/F(n-1) = 4/3.
Questions:
- Is F(n) > 0 for all n > 3 ?
Yes.
If n ≡ 0 mod 2 then (2n – 1) / 3 is an integer
If n ≡ 1 mod 2 then consider the 3 cases n ≡ 1 mod 6, n ≡ 3 mod 6 and n ≡ 5 mod 6
If n ≡ 1 mod 6 then (2n – 23 – 3) / 32 is an integer
If n ≡ 3 mod 6 then (2n – 25 – 3) / 32 is an integer
If n ≡ 5 mod 6 then (2n – 21 – 3) / 32 is an integer
- Is the sequence F(n) monotonic for n > 3 ?
Yes if the distribution of the numbers mod 6 for a1=n is uniform
- Does the sequence F(n)/F(n-1) converge ?
Yes if the distribution of the numbers mod 6 for a1=n is uniform then F(n)/F(n-1) → 4/3 as n→ ∞.
- Can we show the distribution of x mod 6 becomes uniform?
The three smallest integers we can represent are 1,3,5 which have the three smallest stopping times of 2,5 and 4 respectively. The transformations 4x+1, (4x-1)/3 and (2x-1)/3 uniformly redistribute the odd integers over Z6. If 1,3 and 5 had the same stopping time then we'd have perfectly uniform distribution but they don't so we're left with a "wobble" in terms of the absolute number of integers which are 1,3 or 5 mod 6 for any stopping time. However the ratios all approach 1/3 as n grows.
Affine Basis
If we forget about integer representations and consider the entire set of rationals with a collatz representation then we can think of the above transformations more generally. Consider the two transformations t1 = 2x + 1/3 and t2 = (2x -1)/3. We can see (a1,a2,...,am):t1 = (a1+1,a2+1,...,am+1) and (a1,a2,...,am):t2 = (a1+1,a2+1,...,am+1,1) . These transformations are invertible and do not commute. Using this we can show
0:T=t1x1t2x2t1x3t2x4... = ( ∑ xi, (∑ xi ) - x1, (for n=1,2,3...,x2-1 when x2>1) (∑ xi) -x1 -n) ,previous term - (x3+1), continue until the final t2.)
e.g. 0:t14 t21 t12 t21 t11 t22 t12 t22 t11 = (16,12,9,7,6,3,2) = 25
Since T is invertible we can take any collatz representation and if am > 1 repeatedly apply t1-1 until am = 1. Then apply t2-1 . Repeating this process we can arrive at (0) = (20 - 1 )/3 = 0 which shows that t1 and t2 form a basis for all collatz representations.
So another way of stating the collatz hypothesis is to say that for all odd positive integers n there exists a unique transformation T=t1x1t2x2t1x3t2x4... such that 0:T = n.