Introducing myself and what I've been working on

Hi everyone,

I don’t see an introductions category or any introductions from anyone else so I hope this is okay. You might have seen me if you’ve been on the Collatz subreddit. I decided to make an account here so I’m not missing access to any of the community.

Before I talk math, here is some notation and terminology I will use, most of which has been adopted. If there is any standard notation on this forum, please point me to it.

n - any number in a Collatz sequence

k - total number of even (n/2) steps in a sequence

x - total number of odd (3n+1) steps in a sequence

β - the numerator of the cycle equation, also found in the sequence equation, of which the cycle equation is a special case

vector - aka parity sequence, the binary string of even and odd steps in a sequence, can be either shortcut or non-shortcut steps, but I will use shortcut because that seems to be the standard here.

vector notation examples: ‘1100’ - odd odd even even, ‘(10)^3 100’ means ‘101010100’

I’ll start with a select few observations I’ve made I think could lead to good discussion.

Merging pairs: As with many things in Collatz, I discovered this only to realize it has been discovered before. I haven’t seen any papers on it though and I would be interested if one exists. I’m including it here because it seems rarely discussed. Numbers n that begin with a parity vector of the form ‘(1)^m 101’ will merge with 2n+1, which begins ‘(1)^m 1100’, after those respective subsequences. The term β for the 2n+1 vector is two times minus 3^x that of the n vector, regardless of where you end the sequence after the merge. There is a discrete way to put this vector representation numerically but I learned that from someone else. My big thing with this was the observation that all numbers which don’t immediately drop below themselves begin with one of these two vector types, meaning they have a merging partner. Could this lead to some kind of restriction on cycles?

Adding 1 before each step: If you add 1 to n before each shortcut step, you will get the same parity sequence as n+1 under regular 3n+5 rules. More generally, adding 3^m before each (3n+1)/2 and n/2 step for starting number n yields the same parity sequence as n-3^m with the rules (3n+b)/2 and n/2, where b = 4*3^m+1. You can take advantage of the fact that multiples of b in a 3n+b system will behave just like 3n+1, so you can simulate 3n+1 within 3n+1 by adding 1 before each step and adjusting n so that the 3n+b n is a multiple of b. This is probably confusing but I want to keep this post concise so please ask for clarification and examples if that would be helpful. I wasn’t able to get good feedback on this observation and it doesn’t seem to have a trivial mechanism so I really want to investigate it more.

Equivalent algorithm: This is a related observation that led to me finding the above. Take any starting number n, and a variable m which begins as m = 0. Repeat the following steps for each iteration: Add 3^m to n. If n is odd, do a shortcut step (3n+1)/2 and increase m by 1. If n is even, divide n by 2. The number n-3^m follows the Collatz sequence for n - 1.

I would say what interests me most about Collatz right now is the prospect of finding a counterexample. Particularly a cycle. I’m only beginning to consider what that would even entail. Yes, from a purely probabilistic standpoint, the chances that one exists is astronomically low, but we all know that Collatz isn’t purely probabilistic.

To this end, one of my current objectives is to collect and analyze data from rational cycles (3n+b cycles). I’ve amassed lots of Python programs which generate and process numbers and vectors in all sorts of different ways. A crazy hypothesis I have is that the information on how to build a cycle in a given 3n+b system, including 3n+1 if it exists, is accessible as you build the vector. For example, the first cycle in 3n+5 after ‘10’ is ‘11100’. With enough data, and maybe with some kind of machine learning (with which I have no experience), maybe it’s possible to find a set of rules a program can use such that, for example, when you tell it to use 3n+5 and come up with a cycle that isn’t the ‘10’ cycle, it will come up with the bits 1, 1, 1, 0, 0, algorithmically by generating metrics on the current vector and consulting the rules every time it adds a step. Again, this is just a crazy idea and only represents my current line of thinking, which is ever-changing.

Oh yeah, and I’m also interested in visualizations. I mean, if I listed everything that interested me I would never stop.

This is all just a small but relevant selection of things. I’m always happy to talk Collatz with people and I plan on joining in on your threads. If anyone has anything to say about anything I brought up here, I would be happy to discuss. Thanks!

1 Like

I’m confident there are no non-trivial cycles. Candidate seeds for cycles have an upper bound. It is far smaller than the seed that is required for a run that is the length of the cycle. However, focusing efforts on cycles is a very good idea.

On “merging pairs” of consecutive integers, there are several papers out there:

See also this paper of mine (2019) dealing with a 2-adic extension of Collatz.

Concerning these pairs I have proven that they can be arbitrarily large in consecutive runs (x, x+1,…x+r) all to the same number and that if any two numbers merge after the same number of steps then at some point in those numbers’ past or future they must have a moment where they are one apart. Also if n and n+1 merge at m, then 2^(k+1)s+n and 2^(k+1)s+n+1 merge at 2(3^x)s+m, in k even steps and x odd steps for any integer s.

Interesting… You have an example for this property? I guess the “same number of steps” requirement is important here.

The same number of steps property isn’t actually that important for that because it’s based in the past and future of each but if they do merge in the same number of steps then the point where the paths become consecutive is the same distance for each, because if x and x+1 merge they must do it in the same number of steps-same even and same odd. I proved this property by looking backwards from 6n+4, and finding that infinitely many consecutive points occur along paths (away from 6n+4) that hadn’t reached a consecutive point already, so it must reach at least one place it is consecutive.

Sorry, I think this not true and there are plenty of counterexamples like the pair (6,7) merging at 5 but after distinct numbers of steps (2 and 7 steps). Or maybe I did not understand what you mean.

Well you’re right but if they merge in the same number of steps then each parity sequence for x and for x+1 will have the same number of evens as the other and the same number of odds as the other. It’s just easier to categorize merges in this way for this reason. Numbers do merge in other ways and step counts but it appears much harder to categorize these, because if you did then there would be a tool to prove the conjecture.

Well I clearly didn’t look hard enough for papers on the merging property. Thank you for the links. I already at least knew this was known, and I just noticed another thread from this month that it came up in, so I didn’t really need to include it in this post. The other things though I haven’t seen discussed before. Not that they’re necessarily of interest.

1 Like

As for merging numbers, let us say that (using a Crandall function)

C_e(X_n)=\\frac{3X_n+1}{2^e}=X\_{n+1} where input and output are odd numbers only then

C\_{e+2k}(X_n+(2^e x X\_{n+1} x \\frac{4^k-1}{3}=X\_{n+1}

or C\_{e+2k}(4^kX_n+\\sum_0^{k-1}4^j)=X\_{n+1}