r/Collatz
•
u/GonzoMath
•
Sep 10 '26
•
1
Steiner circuits, the loop on -1, and generalizations
Something occurred to me last night, and while it strikes me as very obvious, in hindsight, it's also not a perspective I've taken until just now. It has a couple of obvious generalizations, too, which are worth mentioning.
When we have, for some k, the number 2n·k - 1, we know that it evolves, over n Syracuse steps, into 3n·k - 1, because each of those steps takes one power of 2 and replaces it with a 3:
23·k - 1 → 22·3·k - 1 → 2·32·k - 1 → 33·k - 1
Each of those steps is just one "3m+1" step followed by a single "m/2" step. Such a step is the same shape as the cycle on -1:
-1 → -1 → -1 → . . .
This is just the 2-adic continuity of the map showing itself! The number m = 2nk - 1 is 2-adically close to -1, so it has the same shape trajectory, for a while. The larger n is, the closer m is to -1, and the longer m's trajectory mimics the loop on -1.
Yes, I realize this is not exactly headline news, and maybe other people found it so obvious as to not be worth highlighting or mentioning. Somehow, I didn't connect these dots until last night, when I was thinking about a related pattern.
Mimicking the loop on 1
The number m = 4nk + 1 does something similar, but since it's 2-adically close to positive 1, it mimics the shape of the famous cycle for a while, with each "3m+1" step being followed by two "m/2" steps.
4nk + 1 → 4n-1·3·k + 1 → . . . → 4·3n-1·k + 1 → 3n·k + 1
Each step turns a 4 into a 3. Notice that I'm not saying anything about k here. In the Steiner circuit case, we usually take k to be odd, just because we like to collect all of the powers of 2 together, and see the circuit all the way to its peak. As an algebraic identity though, the result holds if k is any integer, or even a rational with an odd denominator, or another 2-adic integer.
The algebraic way I'd been looking at the usual Steiner circuit is that we can rewrite a weight 1 Syracuse step:
(3m+1)/2 = (m+1)·(3/2) - 1
...and if you chain n of these together, because m+1 has 2 as a factor n times, the intermediate "-1"s and "+1" cancel out, leaving:
(m+1)·(3/2)n - 1
Similarly, we can rewrite a weight 2 Syracuse step:
(3m+1)/4 = (m-1)·(3/4) + 1
...which we can keep doing as long as there's a factor of 4 in m-1.
Mimicking any loop
It's natural to extend this to any other loop, which we'll see mimicked by natural numbers that are 2-adically close to the numbers in the loop. For instance, there's the loop on -5:
-5 →1 -7 →2 -5
The superscripts on the arrows there indicate the "weight" of the step, i.e., the number of divisions by 2 involved. Somehow, if we start with a number 2-adically close to -5, we should expect to see every two steps have weights 1 and then 2, and for starting number m, we should see the factors of 2 in m+5 gradually churn into factors of 3.
Let's see that in action, by starting with 59, which is 64 - 5, so it's close to -5 in our dynamics.
m = 59 = 26 - 5
→1 89 = 25·3 - 7
→2 67 = 23·32 - 5
→1 101 = 22·33 - 7
→2 76 = 34 - 5
The algebraic telescoping thingy is a little harder to see in this case, because it's a two-step dance, but it's still there. The calculation:
(3[(3m+1)/2] + 1)/4 = (m+5)·(9/8) - 5
...rolls both steps together, and shows an 8 in the factorization of m+5 being replaced with a 9. We can also see it separated into two steps:
(3m+1)/2 = (m+5)·(3/2) - 7
(3m+1)/4 = (m+7)·(3/4) - 5
Even a non-integer loop!
In a way, it's simpler to see with a one-step dance, but it can be kind of subtle to see where to apply that when the number we need to be 2-adically close to is not an integer. Consider the weight 3 trivial cycle on 1/5:
1/5 →3 1/5
This should be mimicked by numbers 2-adically close to 1/5, but what even are those? To see them, we can write 1/5 as a 2-adic integer:
1/5 = 1 - 4/5 = 1 - 12/15 = 1 + 12(1 + 16 + 162 + 163 + . . .) = [1.] + [(1100).] = [(0110)1.]
So, if we want something that's as close to 1/5 as 64 is to 0, we can just chop of the last six bits from:
0110011001101.
Yielding the binary number 001101, which is 13. This should mimic the weight 3 move two times, and indeed:
(3(13) + 1)/8 = 5
(3(5) + 1)/8 = 2
To see factors of 2 turning into factors of 3, try seeing 13 as some number, plus 1/5:
13 = 26·(1/5) + 1/5
→ 5 = 23·3·(1/5) + 1/5
→ 2 = 32·(1/5) + 1/5
Kind of neat, right? In this case the telescoping algebra looks like:
(3m+1)/8 = (m - 1/5)·(3/8) + 1/5
So as long as (m - 1/5) has a factor of 8n, we can do this n times, and they all collapse down to:
Sn(m) = (m - 1/5)·(3/8)n + 1/5
So what's the point, Gonzo?
No idea, lol. I just think it's neat. Does it lead to any kind of progress, or new and interesting mathematics? Beats me. I'm just here to watch the numbers dance.
2
u/jonseymourau Sep 11 '26
This is really useful. You just know I am going to generalise this to gx+q, x/h, don’t you? :-)
What this unlocks, I think, is the generalised staircase that we see in 2^j.m-1.
The transition you identified to different staircases is also very cool.
Have you formalised the derivation of d in (m+d)? I will almost certainly do it myself, but would be interested in your take.
2
u/HappyPotato2 Sep 11 '26
Oh there was a thread about something really similar a while ago. Let me see if I can find it.
https://www.reddit.com/r/Collatz/comments/1m5wmjg/comment/n4g4def
I think it started around here.
1
u/Co-G3n Sep 10 '26
https://math.stackexchange.com/questions/2428060/how-to-prove-this-inequality-f2h-1%e2%89%a4-frac3h-12/2428208#2428208
1
u/WeCanDoItGuys Sep 27 '26
Interesting, I was well aware that 2ⁿk + x follows x for the first n steps, and that if x is a cycle of length r with s odd steps then we can easily predict 2nk + x → 3⌊n/r⌋s2n%rk + x, i.e. we can turn groups of r factors of 2 into groups of s factors of 3.
But I didn't realize we could use fraction cycles too:
Your example of 13 being 64/5 + 1/5 was pretty neat, and I wonder how many other integers we can predict the opening steps of based on the huge mass of known fractional cycles we have.
2
u/Xhiw_ Sep 10 '26 edited Sep 10 '26
These are the cases when it happens that 2mk+h goes to 3nk+h, or an intermediate result of the whole chain, in the relevant world: you can take any number in the loop as the chain start. For the trivial loop, we have:
For the loop at -5:
For the loop at 1/5 (using 3x+5):
1
u/Septembrino Sep 18 '26
I realised that the -1 returened a -1 and that's why I designed the matrices the way I did. My 1st idea was to use k2^ + 1, but I notices that that wasn't parctical to get general rules.
-1
u/Mrezadwiprasetiawan Sep 17 '26
Isnt this rising and falling sequences?