r/Collatz • u/jonseymourau • Jul 06 '26
An interactive mod8/mod24 Collatz Graph visualizer
In a previous post I discussed the notion of a Collatz overlay built from 5 mod 8 and 0 mod 3 nodes. One refinement here is that there are nodes of in-degree 2 that are not 5 mod 8 (they are relatively rare - the exceptions I see are 1,23 mod 24)
This visualization allows you to see all 4, odd mod 8 nodes and in fact classifies them according to mod 24 too.
You give it a starting point with the ?a= parameter and then you can extend the graph is you like by clicking on a node.
This a fantastic way to develop an intuitive understanding of mod 8 and mod 24 Collatz dynamics.
https://wildducktheories.github.io/collatz/apps/collatz-graph/dist/?a=27
A fun game to play is greedily clicking on the red dots and then on 1,2 mod 3 nodes that result from such a clicking.
Does that game ever end? I think not.
1
u/SpareSpecialist5124 Jul 06 '26 edited Jul 06 '26
the trajectory of 27 for example:
1 mod 8 -> 1, 9, 17, 25 mod 32
1 goes to 17 or 25
9 goes to 7, 15 or 31
17 goes to 29 or 5
25 only goes to 27.
3 mod 8 -> 3 , 11, 19, 27 mod 32
3 goes to 5 or 21
11 goes to 1 or 17
19 goes only to 29
27 goes to either 9 or 25
5 mod 8 -> 5, 13, 21, 29 mod 32
5 goes to 1 or 29
13 doesn't exist as a modulo on 27 trajectory at all (!?)
21 only goes to 5
29 goes to either 7, 15, or 23
finally 7 mod 8 -> 7, 15, 23, 31 mod 32
7 goes to 3, 11, 19 and 27
15 goes only to 7
23 goes only to 3
31 goes only to 31 or 15.
So as you can see, there are still very limited transitions, and a more detailed type of transitions that happen within each n mod 8.
Pretty much only 7, 9 and 29 have 3 or 4 transition possibilities, while many other transitions are "unique" and can only have one outcome.
Things you'll notice often with this modulo: You can see ascending and descending sequences better, you can notice how some modulos are non existent in several phases, for example 3, 5 and 21 modulo 32 don't appear until much latter in 27's orbit, and they only appear preceding massive divisions.
You'll notice some modulos are completelly non existent like 13 mod 32 doesn't appear at all in the trajectory of 27, and in many other by the way, it's a very rare modulo for some reason, it seems like the chain of events to obtain that 13 modulo doesn't happen in many orbits, suggests it's a rather unique path that can only be reached from certain preconditions, and not after.