Collatz Conjecture: No Cycles
Update (Aug 2, 2010): Lemma 12 is wrong. I do not believe that it can be corrected. This invalidates the argument.
Definition 1: Collatz Sequence of Odd Integers
By collatz sequence of odd integers, I mean the integers x0, x1, x2... and the integers p1, p2, ... such that:
x0 = any odd integer greater than 1.
and:
where pi is the largest positive integer such that xi is a positive odd integer.
Lemma 1: In a Collatz Sequence of Odd Integers, any xi where i ≥ 1 has the following relationship to x0:
Proof:
(1) The case for i=1 comes directly from Definition 1 above:
(2) Assume that it is true up to some i ≥ 1 so that:
(3) From Definition 1 above, we have:
(4) Combining step #2 with step #3 gives us:
QED
Definition 2: A Collatz Cycle
By collatz cycle, I mean any collatz sequence of odd integers x0, ..., xn where:
xi ≥ 3
xn = x0
n ≥ 1
and n is the length of the cycle.
Lemma 2: If x0, ..., xn is a collatz cycle, then n ≥ 2
Proof:
(1) From Definition 1 above, we have:
(2) Assume that the length of the cycle is n=1.
(3) Then from step #1, we have the following:
which gives us:
and factors into:
(4) But then x0 = 1 which goes against our Definition 2 above since all xi ≥ 3.
(5) So, we reject our assumption in step #2.
QED
Lemma 3: If x0, ..., xn is a collatz cycle, then:
Proof:
(1) Using Lemma 1 above, we have:
where n is the length of the cycle.
which is the same as:
(2) Multiplying both sides by:
gives us:
QED
Lemma 4: If r is odd:
(ar + 1)/(a + 1) = ar-1 - ar-2 + ar-3 + ... -a1 + (-1)r
Proof:
(1) Let u = ar-1 - ar-2 + ar-3 + ... - a1 + 1
Then we have:
a*u = ar - ar-1 + ar-2 + ... + a
au + u = u(a+1) = ar + 1
(2) This gives us finally that:
u = (ar + 1)/(a+1)
QED
Lemma 5: if a ≥ 2, b ≥ 2, and 2a - 3b is positive, then 2a - 3b ≥ 5
Proof:
(1) Assume that 2a - 3b = 1
so that we have:
3b + 1 = 2a
(2) We can show that b is even since:
(a) Assume that b is odd
(b) Then using Lemma 4 above:
(3b + 1)/(3 + 1) = 3b-1 - 3b-2 + ... - 3 + 1
(c) Since b ≥ 2 and odd, b ≥ 3 and it follows that 3b-1 + ... - 3 + 1 is odd and greater than 1.
(d) But this is impossible since it 2a is not divisible by any odd integer greater than 1.
(e) So we reject our assumption in step #2a.
(3) Since b is even, there exists an integer t such that b=2t
(4) Since 3t is odd, it follows that there exists an integer m such that:
3t = 2m + 1
(5) So we have:
2a = (3t)2 + 1 = (2m+1)2 + 1 = 4m2 + 4m + 2 =
(6) But this is impossible since 4 divides 2a (since a ≥ 2) but does not divide 4m2 + 4m + 2.
(7) So we reject our assumption in step #1.
(8) So, we know that it cannot equal 1 from step #7 and we we know that it cannot equal 2 or 4 since even - odd = odd.
Finally, we know it cannot be divisible by 3 since 2a is not divisible by 3 so that we have:
2a - 3b ≥ 5
QED
Lemma 6: If x0, ..., xn is a collatz cycle, then n ≥ 3
Proof:
(1) Assume that x0, x1, x2 is a cycle of length 2.
(2) Using Lemma 3 above, we have:
(2p1 + p2)x0 = 32x0 + 3 + 2p1
which becomes:
(2p1 + p2 - 32)x0 = 3 + 2p1
(3) Since 3 + 2p1 is positive and x0 is positive, it follows that 2p1 + p2 - 32 must be positive.
(4) The first power of 2 greater than 9 is 16 so that p1 + p2 ≥ 4.
(5) We know that x0 is not divisible by 3 since 2p1 is not divisible by 3.
(6) Since x0 is an odd integer greater than 1, it follows that x0 ≥ 5
(7) Now, I will use induction to show that (2p1 + p2 - 32)x0 is greater than 3 + 2p1 since:
(a) Assume that p1 + p2 = 4
(b) Since p2 ≥ 1, it follows that p1 ≤ 3.
(c) So 3+2p1 ≤ 11
(d) But from step #6 and step #4, (2p1 + p2 - 32)x0 ≥ 7*5 = 35
(e) Assume (2p1 + p2 - 32)x0 is greater than 3 + 2p1 up to some p1 ≥ 3.
(f) Since p2 ≥ 1, it follows that 2p1 + p2 is greater than 2p1
so that:
x0*2p1 + p2 is greater than 2p1
and finally:
(2p1 + p2 - 32)x0 + x02p1 + p2 is greater than 3 + 2p1 + 2p1
(g) Adding this all together, gives us:
x0(2p1 + p2 + 1 - 32) is greater than 3 + 2p1 + 1
(8) Since it is always greater, it cannot be equal.
QED
Lemma 7: If x0, ..., xn is a collatz cycle and n ≥ 3, then the following n equations must hold:
Proof:
This follows directly from Lemma 3 above. If x0 is a cycle of length n, then so is x1, x2, and so on up until xn-1.
Since each successor in a collatz sequence of odd integers is always the same given the same predecessor, it follows that if x0 repeats at xn, then x1 repeats at xn+1, etc. up to xn-1 repeating at x2n-1.
QED
Corollary 7.1: For any collatz cycle of length n, it cannot be the case that all pi have the same value.
Proof:
(1) Assume that p1 = p2 = ... = pn
(2) Then from Lemma 7 above, it follows that x0 = x1 = ... = xn-1
(3) But this cannot be the case since we assumed that the cycle is of length n and has no repeats within n numbers.
(4) So we reject our assumption in step #1.
QED
Lemma 8: 22n - 3n = 3n-1 + 3n-2*22 + 3n-3*24 + ... + 3*22n-4 + 22n-2
Proof:
(1) This is true for n=2 since:
24 - 32 = 16 - 9 = 7
31 + 22 = 7
(2) Assume that it is true up to some n ≥ 2 so that:
22n - 3n = 3n-1 + 3n-2*22 + 3n-3*24 + ... + 3*22n-4 + 22n-2
(3) Adding 3*22n - 2*3n to both sides gives:
22n - 3n + 3*22n - 2*3n = 4*22n - 3*3n = 22n+2 - 3n+1
3n-1 + 3n-2*22 + 3n-3*24 + ... + 3*22n-4 + 22n-2 + 3*22n - 2*3n =
= 3n-1 + 3n-2*22 + 3n-3*24 + ... + 3*22n-4 + 22n-2 + 22n + 2*(22n - 3n)
(4) Again, using the assumption in step #2, we get:
3n-1 + 3n-2*22 + 3n-3*24 + ... + 3*22n-4 + 22n-2 + 22n + 2*(22n - 3n) =
= 3n-1 + 3n-2*22 + 3n-3*24 + ... + 3*22n-4 + 22n-2 + 22n + (2*3n-1 + 2*3n-2*22 + 2*3n-3*24 + ... + 2*3*22n-4 + 2*22n-2) =
= 3*3n-1 + 3*3n-2*22 + 3*3n-3*24 + ... + 3*3*22n-4 + 3*22n-2 + 22n =
= 3n + 3n-1*22 + 3n-2*24 + ... + 32*22n-4 + 3*22n-2 + 22n
QED
Lemma 9:
Let p1, ..., pn be any sequence of positive integers such that p1 + ... + pn = 2n
Then, there exists 1 ≤ i ≤ n such that:
if we shift the sequence left as needed such that we have:
pi, pi+1, ..., pn, p1, ..., pi-1
then it follows that:
pi ≤ 2
pi + pi+1 ≤ 4
...
and so on up until:
pi + ... + pi-2 ≤ 2n - 2
Proof:
(1) This is clearly true if all pi = 2, so assume that there is at least one non-two value in p1, ..., pn
(2) In the sequence p1, ..., pn, let us shift it until p1 is a 1 or 2 and pn is not.
This is the point right after we have [pi ≥ 3], [pi ≤ 2].
(3) We can now group the integers in the following way:
Let S1 be the initial sequence of positive integers equal to 1 or 2.
Let M1 the integer ≥ 3 that follows S1
Let S2 be the sequence of integers that are equal to 1 or 2 that follow M1 (Note: it is possible that S2 is empty if M1 is followed by an integer ≥ 3.)
Let M2 be the integer ≥ 3 that follows S2
and so on until we hit:
Mt which is the the integer that was shifted to pn in step #2.
(4) So, to be clear, we have grouped the integers into subsequences:
S1, M1, ..., St, Mt
where each Si consists of 0 or more integers and each Mi consists of exactly 1 integer.
(5) Now, I define two functions: n(), p() such that:
n(Si) = (the number of 1's found in the sequence)
So n(Si) = 0 if Si is empty or all-twos. If it contains two 1's, then n(Si) = 2.
p(Mi) = Mi - 2. So, if Mi = 5, p(Mi) = 3.
(6) So, from these definitions, since the sum = 2n, it clear that:
n(S1) + n(S2) + ... + n(St) = p(M1) + ... + p(Mt)
NOTE: If there were more 1's, then the sum would be less than 2n and if the sum of M1 + ... + Mt were greater, then the sum would be more than 2n.
(7) Now, I will show that there exists an Si such that:
n(Si) ≥ p(Mi)
and
n(Si) + n(Si+1) ≥ p(Mi) + p(Mi+1)
etc. all the way to up:
n(Si) + n(Si+1) + ... + n(St) + n(S1) + ... + n(Si-2) ≥ p(Mi) + p(Mi+1) + ... + p(Mt) + p(M1) + ... + p(Mi-2)
(8) We can assume that that not all the n(Si) = p(Mi). [If they did, then there is nothing that needs to be proved]
(9) We can assume that there is at least one Si such that n(Si) is greater than p(Mi) since if this were not the case, then we would violate our observation in step #6 above.
(10) Assume that Si does not meet our assumption so that we eventually to get a c such that:
n(Si) + n(Si+1) + ... + n(Si+c) is less than p(Mi) + p(Mi+1) + ... + p(Mi+c)
(11) But in this case, there must be a Sj that is outside the sequence from Si, Mi, ..., Si+c, Mi+c that also has the property that n(Sj) is greater than p(Mj); otherwise we would have the situation where we violate our observation in step #6 above.
(12) Now if Sj stops before it gets to Si, then by the same argument it follows that there must be another Sk outside the already mentioned sequences where n(Sk) is greater than p(Mk). If Sk stops before Si we can continue in this way ad infinitum so eventually, we must find a sequence Su that is outside all the other sequences mentioned and:
n(Su) is greater than p(Mu) and
n(Su) + n(Su+1) is greater than p(Mu) + p(Mu+1)
etc.
so based on our reasoning about Si, we get:
n(Su) + n(Su+1) + ... + n(Si) + ... + n(Si+c-1) ≥ p(Mu) + p(Mu+1) + ... + p(Mi) + ... + p(Mi+c-1)
(13) Now, if this still stops at Sc, then there must exist another sequence Sv, etc. So we can assume that eventually, it doesn't stop at all.
(14) For purposes of this proof, let us label this first value Si so that we have the following:
Si, Mi, Si+1, Mi+1, ..., St, Mt, S1, M1, ..., Si-1, Mi-1
where:
n(Si) ≥ p(Mi)
and:
n(Si) + n(Si+1) ≥ p(Mi) + p(Mi+1)
and so for the entire sequence.
(15) We now shift p1, ..., pn such that we have:
p*1 = the first integer in Si
p*2 = the second integer in Si if it exists
...
p*c = Mi
p*c+1 = the first integer in Si+1
etc.
(16) It is clear that p*1, p*2, ... is a sequence is a left-shift from p1, p2, ... which satisfies the conditions of this proof.
QED
Corollary 9.1: If x0, ..., xn is a collatz cycle and n ≥ 3, where:
then:
p1 + ... + pn ≠ 2n.
Proof:
(1) Assume that p1 + ... + pn = 2n
(2) From Lemma 8 above, we know that:
22n - 3n = 3n-1 + 3n-2*22 + 3n-3*24 + ... + 3*22n-4 + 22n-2
(3) So that for all xi, we have:
xi(3n − 1 + 3n − 222 + ... + 3 * 22n − 4 + 22n − 2) =
(4) Since xi ≥ 5, this only holds true if:
3n − 1 + 3n − 222 + ... + 3 * 22n − 4 + 22n − 2 is less than
(5) But from Lemma 9 above, it follows that for at least one xi, this will not be the case.
(6) Therefore, we reject our assumption in step #1.
QED
Corollary 9.2: We can extend Corollary 9.1 so that we show that:
p1 + ... + pn is less than 2n.
Proof:
(1) Assume that there exists a cycle x0, ..., xn with n ≥ 3 and p1 + ... + pn greater than 2n.
(2) Then there exists c such that p1 + ... + pn - c = 2n
(3) Let p*1, p*2, ... be values modified from p1, ..., pn such that p*1 + ... + p*n = 2n.
(4) From Lemma 9 (and the reasoning in Corollary 9.1), we get a situation for some xi where:
xi(2p1 + ... + pn - c - 3n) is greater than 3n-1 + 3n-22p*i + ... + 2p*i + ... + p*i+n-2
(5) Now it is clear from this equation that:
xi*2p1 + ... + pn - c is greater than 3n-22p*i + ... + 2p*i + ... + p*i+n-2
(6) So it follows that:
xi(22n - 3n) + xi*22n is greater than 3n-1 + 3n-22p*i + ... + 2p*i + ... + p*i+n-2 + 3n-22p*i + ... + 2p*i + ... + p*i+n-2
which means that:
xi(22n+1 - 3n) is likewise necessarily greater than:
3n-1 + 3n-221+p*i + ... + 21+p*i + ... + p*i+n-2
(7) We can repeat the same argument up to xi(22n+c - 3n) so the proof is complete.
QED
Lemma 10.: If p1, ..., pn represent the powers of 2 that make up a cycle, then p1 + ... + pn is greater than 1.5n.
Proof:
(1) From Lemma 7 above, we know that:
2p1 + ... + pn - 3n ≥ 1
(2) Let u = p1 + ... + pn
(3) In order for step #1 to be true, it follows that p1 + ... + pn must be greater than 1.5*n since:
2u ≥ 3n if and only if 2u ≥ log2(3n) = n*log2(3) which is greater than 1.5n.
QED
Lemma 11:
There exists a prime p such that:
p divides 2p1 + ... + pn - 3n
and if x0, ..., xn-1 is a cycle of length n where:
xi(2p1 + ... + pn - 3n) = 3n-1 + 3n-2*2pi + ... + 3*2pi + ... + pi+n-3 + 2pi + ... + pi+n-2
then, for any xj, xk:
p divides:
3n-2(2pj - 2pk) + ... + 3(2pj + ... + pj+n-3 - 2pk + ... + pk+n-3) + (2pj + ... + pj+n-2 - 2pk + ... + pk+n-2)
Proof:
(1) From Lemma 5 above, we know that:
2p1 + ... + pn - 3n ≥ 5
(2) Therefore, from the Fundamental Theorem of Arithmetic, it follows that there exists a prime p that divides it.
(3) We also know that p ≠ 2 and p ≠ 3 since p divides 2p1 + ... + pn - 3n
(4) From Lemma 7 above, we know that for each of the n xi in the cycle, it follows that:
xi(2p1 + ... + pn - 3n) = 3n-1 + 3n-2*2pi + ... + 3*2pi + ... + pi+n-3 + 2pi + ... + pi+n-2
(5) So, it follows that in each case p divides 3n-1 + 3n-2*2pi + ... + 3*2pi + ... + pi+n-3 + 2pi + ... + pi+n-2.
(6) Which means that p also divides the subtraction of any two so that for any xi, xj we have:
xi(2p1 + ... + pn - 3n) - xj(2p1 + ... + pn - 3n) = (xi - xj)(2p1 + ... + pn - 3n) =
3n-2(2pi - 2pj) + ... + 3(2pi + ... + pi+n-3 - 2pj + ... + pj+n-3) + (2pi + ... + pi+n-2 - 2pj + ... + pj+n-2)
QED
Corollary 11.1: If p1, ..., pn represent the powers of 2 that make up a cycle, then at least two of them are equal to 1.
Proof:
(1) Since we are assuming a cycle, it follows that at least one of the pi must be 1 for:
(a) Assume that none of the pi are 1.
(b) Now by assumption each xi ≥ 5 which gives us:
4xi - 3xi ≥ 5
and:
4xi is greater than 3xi + 1
xi is greater than (1/4)*(3xi + 1)
(c) But then it follows by our assumption that each xi+1 is less than xi since:
xi+1 is less than (1/4)*(3xi + 1)
since we are assuming that there is no pi = 1
(d) But this is impossible since we are assuming a cycle so we reject our assumption in step #1a
(2) Assume that there is only 1 one
(3) Then it follows that all the other one's must be 2's since if there is one other value 3 or more then p1 + ... + pn ≥ 2n.
(4) But this is impossible since:
(a) From Lemma 11, above, there is a case where we have p divides 2u - 1 - 2u - 2 = 2u-2(2 - 1) = 2u-2
(b) But this is impossible since we know that p ≠ 2 so we reject our assumption in step #2 above.
QED
Lemma 12:
3n-1 + 3n-22pi + ... + 3*2pi + ... + pi+n-3 + 2pi + ... + pi+n-2 = (3 + 2pi)*...*(3 + 2pi+n-2) - (3)(3 + 2pi+1)*...*(3 + 2pi+n-2) - 3n-1
Proof:
(1) (3 + 2pi)*...*(3 + 2pi+n-2) = 3n-1 + 3n-2[2pi + ... + 2pi+n-2] + ... + 3[2pi + ... + pi+n-3 + 2pi+1 + ... + pi+n-2] + 2pi + ... + pi+n-2
(2) (3 + 2pi+1)*...*(3 + 2pi+n-2) = 3n-2 + 3n-3[2pi+1 + ... + 2pi+n-2] + ... + 3[2pi+1 + ... + pi+n-3 + ... + 2pi+2 + ... + pi+n-2] + 2pi+1 + ... + pi+n-2
(3) (3)(3 + 2pi+1)*...*(3 + 2pi+n-2) = 3n-1 + 3n-2[2pi+1 + ... + 2pi+n-2] + ... + 32[2pi+1 + ... + pi+n-3 + ... + 2pi+2 + ... + pi+n-2] + 3*2pi+1 + ... + pi+n-2
(4) So it follows that:
(3 + 2pi+1)*...*(3 + 2pi+n-2) - (3)(3 + 2pi+1)*...*(3 + 2pi+n-2) - 3n-1 = 3n-1 + 3n-22pi + ... + 3*2pi + ... + pi+n-3 + 2pi + ... + pi+n-2
QED
Corollary 12.1: If x0, ..., xn is a collatz cycle and n ≥ 3, then the following n equations must hold:
Proof:
(1) From Lemma 7 above, we know that:
(2) So, from Lemma 12 above, we get:
(3 + 2pi)*...*(3 + 2pi+n-2) - (3)(3 + 2pi+1)*...*(3 + 2pi+n-2) - 3n-1 =
(3 + 2pi+1)*...*(3 + 2pi+n-2)[ (3 + 2pi) - 3] - 3n-1 =
(3 + 2pi+1)*...*(3 + 2pi+n-2)(2pi) - 3n-1
QED
Corollary 12.2: If x0, ..., xn is a collatz cycle, then for all i
(3 + 2pi) does not divide: 2p1 + ... + pn - 3n
Proof:
(1) From Corollary 12.1, there exists some j such that:
j ≠ i and (j+n-1) ≠ i:
and:
xj(2p1 + ... + pn - 3n) = (3 + 2pj+1)*...*(3 + 2pj+n-2)(2pj) - 3n-1
(2) Since j ≠ 1 and (j+n-1) ≠ i, it follows that there exists j+c such that pj+c = pi
(4) It is clear that 3 does not divide 3+2pi since 3 cannot divide a power of 2 so that gcd(3 + 2pi,3n-1) = 1
(5) But then (3 + 2pi) cannot possibly divide 2p1 + ... + pn - 3n since it cannot divide 3n-1
QED
Corollary 12.3: If x0, ..., xn is a collatz cycle, where pi = 1 and pj = 1 and i ≠ j, then there exists a,b:
(xi - xj)(2p1 + ... + pn - 3n) = (2)(3 + 2pi+1)*...*(3 + 2pi+n-2)[2a - 2b]
Proof:
(1) From Corollary 12.1 above, we have:
xi(2p1 + ... + pn - 3n) = (3 + 2pi+1)*...*(3 + 2pi+n-2)(2) - 3n-1
xj(2p1 + ... + pn - 3n) = (3 + 2pj+1)*...*(3 + 2pj+n-2)(2) - 3n-1
(2) Subtracting the bottom from the top gives us:
(xi - xj) (2p1 + ... + pn - 3n) = (3 + 2pi+1)*...*(3 + 2pi+n-2)(2) - (3 + 2pj+1)*...*(3 + 2pj+n-2)(2)
(3) Since both form cycles, there exists c such that pi+c = pj and pi = pj-c.
(4) Since the equation in step #2 consists of a the difference of the products of n-2 terms, there are 4 possible ways cases to consider:
For purposes of this discussion, let:
Prodi = (3 + 2pi+1)*...*(3 + 2pi+n-2)
Prodj = (3 + 2pj+1)*...*(3 + 2pj+n-2)
Case I: No overlap between the two terms excluded
(a) In this case:
Prodi = ***(3 + 2pj)(3 + 2pj+n-1)***
Prodj = ***(3 + 2pi)(3 + 2pi+n-1)***
(b) So the equation in step #2 above gives us:
(xi - xj) (2p1 + ... + pn - 3n) = (***)(2)[(3 + 2pj)(3 + 2pj+n-1) -(3 + 2pi)(3 + 2pi+n-1) ]
(c) Since by assumption, pi = 1 and pj=1, we have:
(xi - xj) (2p1 + ... + pn - 3n) = (***)(2)(5)[(3 + 2pj+n-1) - (3 + 2pi+n-1) ]
(d) Which gives us:
(xi - xj) (2p1 + ... + pn - 3n) = (***)(2)(5)[2pj+n-1 - 2pi+n-1 ]
Case II: Overlap of 1 term where pj = pi+n-1
In this case, both products exclude pj = pi+n-1 and we get:
(xi - xj) (2p1 + ... + pn - 3n) = (***)(2)[(3 + 2pj+n-1) -(3 + 2pi) ] = (***)(2)[2pj+n-1 - 2 ]
Case III: Overlap of 1 term where pi = pj+n-1
In this case, both products exclude pi = pj+n-1 and we get:
(xi - xj) (2p1 + ... + pn - 3n) = (***)(2)[(3 + 2pj) -(3 + 2pi+n-1) ] = (***)(2)[2 - 2pi+n-1 ]
So, depending on the selection of pi, pj, this is the exact same as Case II.
Case IV: Overlap of 2 terms where pi = pj+n-1 and pj = pi+n-1
This case is impossible since if both products exclude the same terms, then we have:
(xi - xj) (2p1 + ... + pn - 3n) = (***)(2)[0 ] = 0
QED
Theorem 13: If x0, ..., xn is a collatz cycle,
Then, there exists an integer a ≥ 1 such that:
(2p1 + ... + pn - 3n) divides 2a - 1
Proof:
(1) From Corollary 11.1 above, we know that there exists pi, pj such that:
pi = 1, pj = 1, and i ≠ j.
(2) From Corollary 12.3 above, we have:
(xi - xj)(2p1 + ... + pn - 3n) = (2)(3 + 2pi+1)*...*(3 + 2pi+n-2)[2a - 2b]
(3) From Corollary 12.2 above, we know that:
(2p1 + ... + pn - 3n) must divide [2a - 2b]
(4) Assume that a is greater than b. [If necessary, we can switch i,j]
(5) Then we have:
(2p1 + ... + pn - 3n) must divide 2b(2a-b - 1)
QED
Corollary 13.1: If (2p1 + ... + pn - 3n) divides 2a - 1, then it follows that:
a ≥ 3
Proof:
This is pretty clear since (2p1 + ... + pn - 3n) cannot divide (21 - 1) or (22 - 1)
QED
Lemma 14:
Let x0, ..., xn be a collatz cycle with p1, ..., pn the values defined in definition 1 above.
Let a be the number of pi = 1
Let b be the sum of all (pj - 2) when pj ≥ 3.
Then:
b ≤ a - 1
Proof:
(1) From Corollary 9.2 above, we know that:
p1 + ... + pn is less than 2n.
(2) This sum is equal to a sum in the following form:
2*****21*1
where the number of 1's at the end are equal to i where the sum p1 + ... + pn = 2n-i.
(3) Now, it is possible to transform the form in step #2 to the form in step #1 with two operations:
(a) Swap the position of two values (the sum stays the same and the number of 1's stays the same)
(b) Increase a value 2 or greater by 1 and change another value from 2 to 1. (the sum stays the same but the number of 1's increases by 1)
(4) In this way, it is clear that any combination of values is possible through these two operations and it is also clear that the number of 1's is equal or less than the number of times (b) is done + 1.
(5) The conclusion for this proof follows.
QED
Corollary 14.1: If there are two 1's that are consecutive (Case II or Case III in Corollary 12.3 above), then there are at least 1 other 1.
Proof:
(1) By Corollary 12.3 above, we know that if this is the case, then:
xi - xj) (2p1 + ... + pn - 3n) = (***)(2)[(3 + 2pj+n-1) -(3 + 2pi) ] = (***)(2)[2pj+n-1 - 2 ]
(2) So, it follows that (2p1 + ... + pn - 3n) divides (2)(2pj+n-1-1 - 1)
(3) From Corollary 13.1 above, this is only true if pj+n-1 ≥ 4.
(4) But if pj+n-1 ≥ 4, then from Lemma 14, the total number of 1's is at least 4-2+1 = 3.
QED
Corollary 14.2:
Let p1, ..., pn be the values described in Definition 1 above.
There are at least two 1's that are not consecutive to each other
Proof:
This follows directly from Corollary 14.1 above.
QED
Lemma 15:
Let x0, ..., xn be a collatz cycle with p1, ..., pn the values defined in definition 1 above.
Let a be the number of pi = 1
Let b be the sum of all (pj - 2) when pj ≥ 3.
Then:
Proof:
(1) From Corollary 14.3 above, we can assume that all pi = 1, pj = 1 follows Case I from Corollary 12.3 above.
(2) It therefore follows that for each such pi, pj, we have:
(xi - xj) (2p1 + ... + pn - 3n) = (***)(2)(5)[2pj+n-1 - 2pi+n-1 ]
(3) Since it follows that (2p1 + ... + pn - 3n) divides 2pi+n-1(2pj+n-1 - pi+n-1 - 1), for each possible pairings of 1's, we must be sure that the difference of the corresponding pi+n-1, pj+n-1 must differ by at least 3 (otherwise, we have a noncycle)
(4) The only way this is possible is the corresponding values have the following set of values:
1, (1+3), (1+3+3), ..., etc
(5) Since there has to be one of these values for each existing 1, we know that there must be at least a such values so that we have:
1, (1+3), (1+3+3), ..., (1 + (a-1)*3)
(6) Now, for b, we also need to subtract 2 and we can ignore the case where pi = 1 so we have:
b ≥ (1+3-2), (1+3+3-2), ..., (1 + (a-1)*3 - 2)
(7) Since we have (a-1) 1's and -(a-1) 2's, we can restate the sum as:
b ≥ (a-1)(1) - (a-1)(2) + (3) + (3 + 3) + (3 + 3 + 3) + ... + ([a-1]*3) =
= (a-1)(1) - (a-1)(2) + (1 + 2 + 3 + 4 + ... + [a-1])(3)
(8) Using summation notation where (1 + ... + n) = (1/2)(n)(n+1), we get:
QED
Theorem 16: There are no cycles in a Collatz Sequence of Odd Integers that do not have 1 as part of the cycle.
Proof:
(1) Assume that there is a cycle that does not include 1 as part of the cycle.
(2) Then, the cycle is characterized by the values p1, ..., pn where each pi ≥ 1 (see Definition 1 and Definition 2 above)
(3) We can also be sure that p1 + ... + pn is greater than 1.5n (see Lemma 10 above if needed) and is less than 2n (see Corollary 9.2 above)
(4) Let a be the number of pi where pi = 1
(5) Let b be the sum of (pi - 2) where pi ≥ 3.
(6) From Lemma 14 above, it follows that b ≤ a - 1.
(7) So,from Lemma 15 above, it follows that:
which is only true if:
which is the same as:
(a - 1)*4 ≥ (a)(a-1)(3)
so that:
0 ≥ (a-1)(3a - 4)
so either a ≤ 1 or a ≤ (4/3)
(8) But either way this is impossible since a ≥ 2 by Corollary 11.1 above.
(9) So it follows that we must reject our assumption at step #1.
QED
Definition 1: Collatz Sequence of Odd Integers
By collatz sequence of odd integers, I mean the integers x0, x1, x2... and the integers p1, p2, ... such that:
x0 = any odd integer greater than 1.
and:
where pi is the largest positive integer such that xi is a positive odd integer.
Lemma 1: In a Collatz Sequence of Odd Integers, any xi where i ≥ 1 has the following relationship to x0:
Proof:
(1) The case for i=1 comes directly from Definition 1 above:
(2) Assume that it is true up to some i ≥ 1 so that:
(3) From Definition 1 above, we have:
(4) Combining step #2 with step #3 gives us:
QED
Definition 2: A Collatz Cycle
By collatz cycle, I mean any collatz sequence of odd integers x0, ..., xn where:
xi ≥ 3
xn = x0
n ≥ 1
and n is the length of the cycle.
Lemma 2: If x0, ..., xn is a collatz cycle, then n ≥ 2
Proof:
(1) From Definition 1 above, we have:
(2) Assume that the length of the cycle is n=1.
(3) Then from step #1, we have the following:
which gives us:
and factors into:
(4) But then x0 = 1 which goes against our Definition 2 above since all xi ≥ 3.
(5) So, we reject our assumption in step #2.
QED
Lemma 3: If x0, ..., xn is a collatz cycle, then:
Proof:
(1) Using Lemma 1 above, we have:
where n is the length of the cycle.
which is the same as:
(2) Multiplying both sides by:
gives us:
QED
Lemma 4: If r is odd:
(ar + 1)/(a + 1) = ar-1 - ar-2 + ar-3 + ... -a1 + (-1)r
Proof:
(1) Let u = ar-1 - ar-2 + ar-3 + ... - a1 + 1
Then we have:
a*u = ar - ar-1 + ar-2 + ... + a
au + u = u(a+1) = ar + 1
(2) This gives us finally that:
u = (ar + 1)/(a+1)
QED
Lemma 5: if a ≥ 2, b ≥ 2, and 2a - 3b is positive, then 2a - 3b ≥ 5
Proof:
(1) Assume that 2a - 3b = 1
so that we have:
3b + 1 = 2a
(2) We can show that b is even since:
(a) Assume that b is odd
(b) Then using Lemma 4 above:
(3b + 1)/(3 + 1) = 3b-1 - 3b-2 + ... - 3 + 1
(c) Since b ≥ 2 and odd, b ≥ 3 and it follows that 3b-1 + ... - 3 + 1 is odd and greater than 1.
(d) But this is impossible since it 2a is not divisible by any odd integer greater than 1.
(e) So we reject our assumption in step #2a.
(3) Since b is even, there exists an integer t such that b=2t
(4) Since 3t is odd, it follows that there exists an integer m such that:
3t = 2m + 1
(5) So we have:
2a = (3t)2 + 1 = (2m+1)2 + 1 = 4m2 + 4m + 2 =
(6) But this is impossible since 4 divides 2a (since a ≥ 2) but does not divide 4m2 + 4m + 2.
(7) So we reject our assumption in step #1.
(8) So, we know that it cannot equal 1 from step #7 and we we know that it cannot equal 2 or 4 since even - odd = odd.
Finally, we know it cannot be divisible by 3 since 2a is not divisible by 3 so that we have:
2a - 3b ≥ 5
QED
Lemma 6: If x0, ..., xn is a collatz cycle, then n ≥ 3
Proof:
(1) Assume that x0, x1, x2 is a cycle of length 2.
(2) Using Lemma 3 above, we have:
(2p1 + p2)x0 = 32x0 + 3 + 2p1
which becomes:
(2p1 + p2 - 32)x0 = 3 + 2p1
(3) Since 3 + 2p1 is positive and x0 is positive, it follows that 2p1 + p2 - 32 must be positive.
(4) The first power of 2 greater than 9 is 16 so that p1 + p2 ≥ 4.
(5) We know that x0 is not divisible by 3 since 2p1 is not divisible by 3.
(6) Since x0 is an odd integer greater than 1, it follows that x0 ≥ 5
(7) Now, I will use induction to show that (2p1 + p2 - 32)x0 is greater than 3 + 2p1 since:
(a) Assume that p1 + p2 = 4
(b) Since p2 ≥ 1, it follows that p1 ≤ 3.
(c) So 3+2p1 ≤ 11
(d) But from step #6 and step #4, (2p1 + p2 - 32)x0 ≥ 7*5 = 35
(e) Assume (2p1 + p2 - 32)x0 is greater than 3 + 2p1 up to some p1 ≥ 3.
(f) Since p2 ≥ 1, it follows that 2p1 + p2 is greater than 2p1
so that:
x0*2p1 + p2 is greater than 2p1
and finally:
(2p1 + p2 - 32)x0 + x02p1 + p2 is greater than 3 + 2p1 + 2p1
(g) Adding this all together, gives us:
x0(2p1 + p2 + 1 - 32) is greater than 3 + 2p1 + 1
(8) Since it is always greater, it cannot be equal.
QED
Lemma 7: If x0, ..., xn is a collatz cycle and n ≥ 3, then the following n equations must hold:
Proof:
This follows directly from Lemma 3 above. If x0 is a cycle of length n, then so is x1, x2, and so on up until xn-1.
Since each successor in a collatz sequence of odd integers is always the same given the same predecessor, it follows that if x0 repeats at xn, then x1 repeats at xn+1, etc. up to xn-1 repeating at x2n-1.
QED
Corollary 7.1: For any collatz cycle of length n, it cannot be the case that all pi have the same value.
Proof:
(1) Assume that p1 = p2 = ... = pn
(2) Then from Lemma 7 above, it follows that x0 = x1 = ... = xn-1
(3) But this cannot be the case since we assumed that the cycle is of length n and has no repeats within n numbers.
(4) So we reject our assumption in step #1.
QED
Lemma 8: 22n - 3n = 3n-1 + 3n-2*22 + 3n-3*24 + ... + 3*22n-4 + 22n-2
Proof:
(1) This is true for n=2 since:
24 - 32 = 16 - 9 = 7
31 + 22 = 7
(2) Assume that it is true up to some n ≥ 2 so that:
22n - 3n = 3n-1 + 3n-2*22 + 3n-3*24 + ... + 3*22n-4 + 22n-2
(3) Adding 3*22n - 2*3n to both sides gives:
22n - 3n + 3*22n - 2*3n = 4*22n - 3*3n = 22n+2 - 3n+1
3n-1 + 3n-2*22 + 3n-3*24 + ... + 3*22n-4 + 22n-2 + 3*22n - 2*3n =
= 3n-1 + 3n-2*22 + 3n-3*24 + ... + 3*22n-4 + 22n-2 + 22n + 2*(22n - 3n)
(4) Again, using the assumption in step #2, we get:
3n-1 + 3n-2*22 + 3n-3*24 + ... + 3*22n-4 + 22n-2 + 22n + 2*(22n - 3n) =
= 3n-1 + 3n-2*22 + 3n-3*24 + ... + 3*22n-4 + 22n-2 + 22n + (2*3n-1 + 2*3n-2*22 + 2*3n-3*24 + ... + 2*3*22n-4 + 2*22n-2) =
= 3*3n-1 + 3*3n-2*22 + 3*3n-3*24 + ... + 3*3*22n-4 + 3*22n-2 + 22n =
= 3n + 3n-1*22 + 3n-2*24 + ... + 32*22n-4 + 3*22n-2 + 22n
QED
Lemma 9:
Let p1, ..., pn be any sequence of positive integers such that p1 + ... + pn = 2n
Then, there exists 1 ≤ i ≤ n such that:
if we shift the sequence left as needed such that we have:
pi, pi+1, ..., pn, p1, ..., pi-1
then it follows that:
pi ≤ 2
pi + pi+1 ≤ 4
...
and so on up until:
pi + ... + pi-2 ≤ 2n - 2
Proof:
(1) This is clearly true if all pi = 2, so assume that there is at least one non-two value in p1, ..., pn
(2) In the sequence p1, ..., pn, let us shift it until p1 is a 1 or 2 and pn is not.
This is the point right after we have [pi ≥ 3], [pi ≤ 2].
(3) We can now group the integers in the following way:
Let S1 be the initial sequence of positive integers equal to 1 or 2.
Let M1 the integer ≥ 3 that follows S1
Let S2 be the sequence of integers that are equal to 1 or 2 that follow M1 (Note: it is possible that S2 is empty if M1 is followed by an integer ≥ 3.)
Let M2 be the integer ≥ 3 that follows S2
and so on until we hit:
Mt which is the the integer that was shifted to pn in step #2.
(4) So, to be clear, we have grouped the integers into subsequences:
S1, M1, ..., St, Mt
where each Si consists of 0 or more integers and each Mi consists of exactly 1 integer.
(5) Now, I define two functions: n(), p() such that:
n(Si) = (the number of 1's found in the sequence)
So n(Si) = 0 if Si is empty or all-twos. If it contains two 1's, then n(Si) = 2.
p(Mi) = Mi - 2. So, if Mi = 5, p(Mi) = 3.
(6) So, from these definitions, since the sum = 2n, it clear that:
n(S1) + n(S2) + ... + n(St) = p(M1) + ... + p(Mt)
NOTE: If there were more 1's, then the sum would be less than 2n and if the sum of M1 + ... + Mt were greater, then the sum would be more than 2n.
(7) Now, I will show that there exists an Si such that:
n(Si) ≥ p(Mi)
and
n(Si) + n(Si+1) ≥ p(Mi) + p(Mi+1)
etc. all the way to up:
n(Si) + n(Si+1) + ... + n(St) + n(S1) + ... + n(Si-2) ≥ p(Mi) + p(Mi+1) + ... + p(Mt) + p(M1) + ... + p(Mi-2)
(8) We can assume that that not all the n(Si) = p(Mi). [If they did, then there is nothing that needs to be proved]
(9) We can assume that there is at least one Si such that n(Si) is greater than p(Mi) since if this were not the case, then we would violate our observation in step #6 above.
(10) Assume that Si does not meet our assumption so that we eventually to get a c such that:
n(Si) + n(Si+1) + ... + n(Si+c) is less than p(Mi) + p(Mi+1) + ... + p(Mi+c)
(11) But in this case, there must be a Sj that is outside the sequence from Si, Mi, ..., Si+c, Mi+c that also has the property that n(Sj) is greater than p(Mj); otherwise we would have the situation where we violate our observation in step #6 above.
(12) Now if Sj stops before it gets to Si, then by the same argument it follows that there must be another Sk outside the already mentioned sequences where n(Sk) is greater than p(Mk). If Sk stops before Si we can continue in this way ad infinitum so eventually, we must find a sequence Su that is outside all the other sequences mentioned and:
n(Su) is greater than p(Mu) and
n(Su) + n(Su+1) is greater than p(Mu) + p(Mu+1)
etc.
so based on our reasoning about Si, we get:
n(Su) + n(Su+1) + ... + n(Si) + ... + n(Si+c-1) ≥ p(Mu) + p(Mu+1) + ... + p(Mi) + ... + p(Mi+c-1)
(13) Now, if this still stops at Sc, then there must exist another sequence Sv, etc. So we can assume that eventually, it doesn't stop at all.
(14) For purposes of this proof, let us label this first value Si so that we have the following:
Si, Mi, Si+1, Mi+1, ..., St, Mt, S1, M1, ..., Si-1, Mi-1
where:
n(Si) ≥ p(Mi)
and:
n(Si) + n(Si+1) ≥ p(Mi) + p(Mi+1)
and so for the entire sequence.
(15) We now shift p1, ..., pn such that we have:
p*1 = the first integer in Si
p*2 = the second integer in Si if it exists
...
p*c = Mi
p*c+1 = the first integer in Si+1
etc.
(16) It is clear that p*1, p*2, ... is a sequence is a left-shift from p1, p2, ... which satisfies the conditions of this proof.
QED
Corollary 9.1: If x0, ..., xn is a collatz cycle and n ≥ 3, where:
then:
p1 + ... + pn ≠ 2n.
Proof:
(1) Assume that p1 + ... + pn = 2n
(2) From Lemma 8 above, we know that:
22n - 3n = 3n-1 + 3n-2*22 + 3n-3*24 + ... + 3*22n-4 + 22n-2
(3) So that for all xi, we have:
xi(3n − 1 + 3n − 222 + ... + 3 * 22n − 4 + 22n − 2) =
(4) Since xi ≥ 5, this only holds true if:
3n − 1 + 3n − 222 + ... + 3 * 22n − 4 + 22n − 2 is less than
(5) But from Lemma 9 above, it follows that for at least one xi, this will not be the case.
(6) Therefore, we reject our assumption in step #1.
QED
Corollary 9.2: We can extend Corollary 9.1 so that we show that:
p1 + ... + pn is less than 2n.
Proof:
(1) Assume that there exists a cycle x0, ..., xn with n ≥ 3 and p1 + ... + pn greater than 2n.
(2) Then there exists c such that p1 + ... + pn - c = 2n
(3) Let p*1, p*2, ... be values modified from p1, ..., pn such that p*1 + ... + p*n = 2n.
(4) From Lemma 9 (and the reasoning in Corollary 9.1), we get a situation for some xi where:
xi(2p1 + ... + pn - c - 3n) is greater than 3n-1 + 3n-22p*i + ... + 2p*i + ... + p*i+n-2
(5) Now it is clear from this equation that:
xi*2p1 + ... + pn - c is greater than 3n-22p*i + ... + 2p*i + ... + p*i+n-2
(6) So it follows that:
xi(22n - 3n) + xi*22n is greater than 3n-1 + 3n-22p*i + ... + 2p*i + ... + p*i+n-2 + 3n-22p*i + ... + 2p*i + ... + p*i+n-2
which means that:
xi(22n+1 - 3n) is likewise necessarily greater than:
3n-1 + 3n-221+p*i + ... + 21+p*i + ... + p*i+n-2
(7) We can repeat the same argument up to xi(22n+c - 3n) so the proof is complete.
QED
Lemma 10.: If p1, ..., pn represent the powers of 2 that make up a cycle, then p1 + ... + pn is greater than 1.5n.
Proof:
(1) From Lemma 7 above, we know that:
2p1 + ... + pn - 3n ≥ 1
(2) Let u = p1 + ... + pn
(3) In order for step #1 to be true, it follows that p1 + ... + pn must be greater than 1.5*n since:
2u ≥ 3n if and only if 2u ≥ log2(3n) = n*log2(3) which is greater than 1.5n.
QED
Lemma 11:
There exists a prime p such that:
p divides 2p1 + ... + pn - 3n
and if x0, ..., xn-1 is a cycle of length n where:
xi(2p1 + ... + pn - 3n) = 3n-1 + 3n-2*2pi + ... + 3*2pi + ... + pi+n-3 + 2pi + ... + pi+n-2
then, for any xj, xk:
p divides:
3n-2(2pj - 2pk) + ... + 3(2pj + ... + pj+n-3 - 2pk + ... + pk+n-3) + (2pj + ... + pj+n-2 - 2pk + ... + pk+n-2)
Proof:
(1) From Lemma 5 above, we know that:
2p1 + ... + pn - 3n ≥ 5
(2) Therefore, from the Fundamental Theorem of Arithmetic, it follows that there exists a prime p that divides it.
(3) We also know that p ≠ 2 and p ≠ 3 since p divides 2p1 + ... + pn - 3n
(4) From Lemma 7 above, we know that for each of the n xi in the cycle, it follows that:
xi(2p1 + ... + pn - 3n) = 3n-1 + 3n-2*2pi + ... + 3*2pi + ... + pi+n-3 + 2pi + ... + pi+n-2
(5) So, it follows that in each case p divides 3n-1 + 3n-2*2pi + ... + 3*2pi + ... + pi+n-3 + 2pi + ... + pi+n-2.
(6) Which means that p also divides the subtraction of any two so that for any xi, xj we have:
xi(2p1 + ... + pn - 3n) - xj(2p1 + ... + pn - 3n) = (xi - xj)(2p1 + ... + pn - 3n) =
3n-2(2pi - 2pj) + ... + 3(2pi + ... + pi+n-3 - 2pj + ... + pj+n-3) + (2pi + ... + pi+n-2 - 2pj + ... + pj+n-2)
QED
Corollary 11.1: If p1, ..., pn represent the powers of 2 that make up a cycle, then at least two of them are equal to 1.
Proof:
(1) Since we are assuming a cycle, it follows that at least one of the pi must be 1 for:
(a) Assume that none of the pi are 1.
(b) Now by assumption each xi ≥ 5 which gives us:
4xi - 3xi ≥ 5
and:
4xi is greater than 3xi + 1
xi is greater than (1/4)*(3xi + 1)
(c) But then it follows by our assumption that each xi+1 is less than xi since:
xi+1 is less than (1/4)*(3xi + 1)
since we are assuming that there is no pi = 1
(d) But this is impossible since we are assuming a cycle so we reject our assumption in step #1a
(2) Assume that there is only 1 one
(3) Then it follows that all the other one's must be 2's since if there is one other value 3 or more then p1 + ... + pn ≥ 2n.
(4) But this is impossible since:
(a) From Lemma 11, above, there is a case where we have p divides 2u - 1 - 2u - 2 = 2u-2(2 - 1) = 2u-2
(b) But this is impossible since we know that p ≠ 2 so we reject our assumption in step #2 above.
QED
Lemma 12:
3n-1 + 3n-22pi + ... + 3*2pi + ... + pi+n-3 + 2pi + ... + pi+n-2 = (3 + 2pi)*...*(3 + 2pi+n-2) - (3)(3 + 2pi+1)*...*(3 + 2pi+n-2) - 3n-1
Proof:
(1) (3 + 2pi)*...*(3 + 2pi+n-2) = 3n-1 + 3n-2[2pi + ... + 2pi+n-2] + ... + 3[2pi + ... + pi+n-3 + 2pi+1 + ... + pi+n-2] + 2pi + ... + pi+n-2
(2) (3 + 2pi+1)*...*(3 + 2pi+n-2) = 3n-2 + 3n-3[2pi+1 + ... + 2pi+n-2] + ... + 3[2pi+1 + ... + pi+n-3 + ... + 2pi+2 + ... + pi+n-2] + 2pi+1 + ... + pi+n-2
(3) (3)(3 + 2pi+1)*...*(3 + 2pi+n-2) = 3n-1 + 3n-2[2pi+1 + ... + 2pi+n-2] + ... + 32[2pi+1 + ... + pi+n-3 + ... + 2pi+2 + ... + pi+n-2] + 3*2pi+1 + ... + pi+n-2
(4) So it follows that:
(3 + 2pi+1)*...*(3 + 2pi+n-2) - (3)(3 + 2pi+1)*...*(3 + 2pi+n-2) - 3n-1 = 3n-1 + 3n-22pi + ... + 3*2pi + ... + pi+n-3 + 2pi + ... + pi+n-2
QED
Corollary 12.1: If x0, ..., xn is a collatz cycle and n ≥ 3, then the following n equations must hold:
Proof:
(1) From Lemma 7 above, we know that:
(2) So, from Lemma 12 above, we get:
(3 + 2pi)*...*(3 + 2pi+n-2) - (3)(3 + 2pi+1)*...*(3 + 2pi+n-2) - 3n-1 =
(3 + 2pi+1)*...*(3 + 2pi+n-2)[ (3 + 2pi) - 3] - 3n-1 =
(3 + 2pi+1)*...*(3 + 2pi+n-2)(2pi) - 3n-1
QED
Corollary 12.2: If x0, ..., xn is a collatz cycle, then for all i
(3 + 2pi) does not divide: 2p1 + ... + pn - 3n
Proof:
(1) From Corollary 12.1, there exists some j such that:
j ≠ i and (j+n-1) ≠ i:
and:
xj(2p1 + ... + pn - 3n) = (3 + 2pj+1)*...*(3 + 2pj+n-2)(2pj) - 3n-1
(2) Since j ≠ 1 and (j+n-1) ≠ i, it follows that there exists j+c such that pj+c = pi
(4) It is clear that 3 does not divide 3+2pi since 3 cannot divide a power of 2 so that gcd(3 + 2pi,3n-1) = 1
(5) But then (3 + 2pi) cannot possibly divide 2p1 + ... + pn - 3n since it cannot divide 3n-1
QED
Corollary 12.3: If x0, ..., xn is a collatz cycle, where pi = 1 and pj = 1 and i ≠ j, then there exists a,b:
(xi - xj)(2p1 + ... + pn - 3n) = (2)(3 + 2pi+1)*...*(3 + 2pi+n-2)[2a - 2b]
Proof:
(1) From Corollary 12.1 above, we have:
xi(2p1 + ... + pn - 3n) = (3 + 2pi+1)*...*(3 + 2pi+n-2)(2) - 3n-1
xj(2p1 + ... + pn - 3n) = (3 + 2pj+1)*...*(3 + 2pj+n-2)(2) - 3n-1
(2) Subtracting the bottom from the top gives us:
(xi - xj) (2p1 + ... + pn - 3n) = (3 + 2pi+1)*...*(3 + 2pi+n-2)(2) - (3 + 2pj+1)*...*(3 + 2pj+n-2)(2)
(3) Since both form cycles, there exists c such that pi+c = pj and pi = pj-c.
(4) Since the equation in step #2 consists of a the difference of the products of n-2 terms, there are 4 possible ways cases to consider:
For purposes of this discussion, let:
Prodi = (3 + 2pi+1)*...*(3 + 2pi+n-2)
Prodj = (3 + 2pj+1)*...*(3 + 2pj+n-2)
Case I: No overlap between the two terms excluded
(a) In this case:
Prodi = ***(3 + 2pj)(3 + 2pj+n-1)***
Prodj = ***(3 + 2pi)(3 + 2pi+n-1)***
(b) So the equation in step #2 above gives us:
(xi - xj) (2p1 + ... + pn - 3n) = (***)(2)[(3 + 2pj)(3 + 2pj+n-1) -(3 + 2pi)(3 + 2pi+n-1) ]
(c) Since by assumption, pi = 1 and pj=1, we have:
(xi - xj) (2p1 + ... + pn - 3n) = (***)(2)(5)[(3 + 2pj+n-1) - (3 + 2pi+n-1) ]
(d) Which gives us:
(xi - xj) (2p1 + ... + pn - 3n) = (***)(2)(5)[2pj+n-1 - 2pi+n-1 ]
Case II: Overlap of 1 term where pj = pi+n-1
In this case, both products exclude pj = pi+n-1 and we get:
(xi - xj) (2p1 + ... + pn - 3n) = (***)(2)[(3 + 2pj+n-1) -(3 + 2pi) ] = (***)(2)[2pj+n-1 - 2 ]
Case III: Overlap of 1 term where pi = pj+n-1
In this case, both products exclude pi = pj+n-1 and we get:
(xi - xj) (2p1 + ... + pn - 3n) = (***)(2)[(3 + 2pj) -(3 + 2pi+n-1) ] = (***)(2)[2 - 2pi+n-1 ]
So, depending on the selection of pi, pj, this is the exact same as Case II.
Case IV: Overlap of 2 terms where pi = pj+n-1 and pj = pi+n-1
This case is impossible since if both products exclude the same terms, then we have:
(xi - xj) (2p1 + ... + pn - 3n) = (***)(2)[0 ] = 0
QED
Theorem 13: If x0, ..., xn is a collatz cycle,
Then, there exists an integer a ≥ 1 such that:
(2p1 + ... + pn - 3n) divides 2a - 1
Proof:
(1) From Corollary 11.1 above, we know that there exists pi, pj such that:
pi = 1, pj = 1, and i ≠ j.
(2) From Corollary 12.3 above, we have:
(xi - xj)(2p1 + ... + pn - 3n) = (2)(3 + 2pi+1)*...*(3 + 2pi+n-2)[2a - 2b]
(3) From Corollary 12.2 above, we know that:
(2p1 + ... + pn - 3n) must divide [2a - 2b]
(4) Assume that a is greater than b. [If necessary, we can switch i,j]
(5) Then we have:
(2p1 + ... + pn - 3n) must divide 2b(2a-b - 1)
QED
Corollary 13.1: If (2p1 + ... + pn - 3n) divides 2a - 1, then it follows that:
a ≥ 3
Proof:
This is pretty clear since (2p1 + ... + pn - 3n) cannot divide (21 - 1) or (22 - 1)
QED
Lemma 14:
Let x0, ..., xn be a collatz cycle with p1, ..., pn the values defined in definition 1 above.
Let a be the number of pi = 1
Let b be the sum of all (pj - 2) when pj ≥ 3.
Then:
b ≤ a - 1
Proof:
(1) From Corollary 9.2 above, we know that:
p1 + ... + pn is less than 2n.
(2) This sum is equal to a sum in the following form:
2*****21*1
where the number of 1's at the end are equal to i where the sum p1 + ... + pn = 2n-i.
(3) Now, it is possible to transform the form in step #2 to the form in step #1 with two operations:
(a) Swap the position of two values (the sum stays the same and the number of 1's stays the same)
(b) Increase a value 2 or greater by 1 and change another value from 2 to 1. (the sum stays the same but the number of 1's increases by 1)
(4) In this way, it is clear that any combination of values is possible through these two operations and it is also clear that the number of 1's is equal or less than the number of times (b) is done + 1.
(5) The conclusion for this proof follows.
QED
Corollary 14.1: If there are two 1's that are consecutive (Case II or Case III in Corollary 12.3 above), then there are at least 1 other 1.
Proof:
(1) By Corollary 12.3 above, we know that if this is the case, then:
xi - xj) (2p1 + ... + pn - 3n) = (***)(2)[(3 + 2pj+n-1) -(3 + 2pi) ] = (***)(2)[2pj+n-1 - 2 ]
(2) So, it follows that (2p1 + ... + pn - 3n) divides (2)(2pj+n-1-1 - 1)
(3) From Corollary 13.1 above, this is only true if pj+n-1 ≥ 4.
(4) But if pj+n-1 ≥ 4, then from Lemma 14, the total number of 1's is at least 4-2+1 = 3.
QED
Corollary 14.2:
Let p1, ..., pn be the values described in Definition 1 above.
There are at least two 1's that are not consecutive to each other
Proof:
This follows directly from Corollary 14.1 above.
QED
Lemma 15:
Let x0, ..., xn be a collatz cycle with p1, ..., pn the values defined in definition 1 above.
Let a be the number of pi = 1
Let b be the sum of all (pj - 2) when pj ≥ 3.
Then:
Proof:
(1) From Corollary 14.3 above, we can assume that all pi = 1, pj = 1 follows Case I from Corollary 12.3 above.
(2) It therefore follows that for each such pi, pj, we have:
(xi - xj) (2p1 + ... + pn - 3n) = (***)(2)(5)[2pj+n-1 - 2pi+n-1 ]
(3) Since it follows that (2p1 + ... + pn - 3n) divides 2pi+n-1(2pj+n-1 - pi+n-1 - 1), for each possible pairings of 1's, we must be sure that the difference of the corresponding pi+n-1, pj+n-1 must differ by at least 3 (otherwise, we have a noncycle)
(4) The only way this is possible is the corresponding values have the following set of values:
1, (1+3), (1+3+3), ..., etc
(5) Since there has to be one of these values for each existing 1, we know that there must be at least a such values so that we have:
1, (1+3), (1+3+3), ..., (1 + (a-1)*3)
(6) Now, for b, we also need to subtract 2 and we can ignore the case where pi = 1 so we have:
b ≥ (1+3-2), (1+3+3-2), ..., (1 + (a-1)*3 - 2)
(7) Since we have (a-1) 1's and -(a-1) 2's, we can restate the sum as:
b ≥ (a-1)(1) - (a-1)(2) + (3) + (3 + 3) + (3 + 3 + 3) + ... + ([a-1]*3) =
= (a-1)(1) - (a-1)(2) + (1 + 2 + 3 + 4 + ... + [a-1])(3)
(8) Using summation notation where (1 + ... + n) = (1/2)(n)(n+1), we get:
QED
Theorem 16: There are no cycles in a Collatz Sequence of Odd Integers that do not have 1 as part of the cycle.
Proof:
(1) Assume that there is a cycle that does not include 1 as part of the cycle.
(2) Then, the cycle is characterized by the values p1, ..., pn where each pi ≥ 1 (see Definition 1 and Definition 2 above)
(3) We can also be sure that p1 + ... + pn is greater than 1.5n (see Lemma 10 above if needed) and is less than 2n (see Corollary 9.2 above)
(4) Let a be the number of pi where pi = 1
(5) Let b be the sum of (pi - 2) where pi ≥ 3.
(6) From Lemma 14 above, it follows that b ≤ a - 1.
(7) So,from Lemma 15 above, it follows that:
which is only true if:
which is the same as:
(a - 1)*4 ≥ (a)(a-1)(3)
so that:
0 ≥ (a-1)(3a - 4)
so either a ≤ 1 or a ≤ (4/3)
(8) But either way this is impossible since a ≥ 2 by Corollary 11.1 above.
(9) So it follows that we must reject our assumption at step #1.
QED




















