Collatz-like: Difference between revisions
Link to Consistent Collatz. |
Why is Collatz randomness mysterious? |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
A '''Collatz-like function''' is a | A '''Collatz-like function''' is a function iterated repeatedly on its own output (a recurrence) defined piecewise by the remainder of the current value modulo some number. The characteristic of most Collatz-like functions is that each branch combines multiplication by a small prime with division by 2, which causes the iterates to grow and shrink in a pattern that is practically unpredictable. This pseudorandom behavior is empirically well-documented but remains largely mysterious mathematically. | ||
The canonical example is the original Collatz function: | |||
<math display="block"> | |||
\end{array}</math> | \begin{array}{l} | ||
c(2k) & = & k \\ | |||
A '''Collatz-like problem''' is a question about the behavior of | c(2k+1) & = & 3k+2 | ||
\end{array} | |||
Many [[Busy Beaver Champions]] | </math> | ||
where division by 2 on even inputs and multiplication by 3 (plus a correction) on odd inputs produces trajectories that appear random despite being entirely deterministic. | |||
[[Generalized Collatz Function|Generalized Collatz Functions]] (GCFs) are a | A '''Collatz-like problem''' is a question about the long-run behavior of such an iteration — for instance, whether all starting values eventually reach a fixed point or cycle. Collatz-like problems are famously difficult; even the simplest instances are open. | ||
Many [[Busy Beaver Champions]] exhibit '''Collatz-like behavior''', meaning their execution trace can be concisely described by the iterates of a Collatz-like function. This is not a coincidence. The [[Busy Beaver]] project systematically filters out machines with predictable, non-chaotic behavior, so the machines that survive and dominate the competition are precisely those whose behavior is hardest to predict. Because the ×3, ÷2 process appears to be the simplest mechanism capable of generating pseudorandom dynamics, it shows up throughout the Busy Beaver landscape. | |||
[[Generalized Collatz Function|Generalized Collatz Functions]] (GCFs) are a well-studied formal class of Collatz-like functions on one variable in which every branch is an affine map. The halting problem for GCFs is known to be [[Turing complete]]. [[Consistent Collatz]] functions are a further restriction of GCFs in which all branches share the same linear coefficient. | |||
== Examples == | == Examples == | ||
=== 5-state busy beaver winner === | === 5-state busy beaver winner === | ||
Consider the [[5-state busy beaver winner]] and the generalized configuration: | Consider the [[5-state busy beaver winner]] and the generalized configuration: | ||
| Line 62: | Line 63: | ||
Starting from config <math>K(5)</math>, these rules iterate 15 times before reaching the halt config leaving over <math>10 \uparrow\uparrow 15</math> non-zero symbols on the tape.<ref>Shawn Ligocki. [https://www.sligocki.com/2022/06/21/bb-6-2-t15.html BB(6, 2) > 10↑↑15]. 21 Jun 2022.</ref> | Starting from config <math>K(5)</math>, these rules iterate 15 times before reaching the halt config leaving over <math>10 \uparrow\uparrow 15</math> non-zero symbols on the tape.<ref>Shawn Ligocki. [https://www.sligocki.com/2022/06/21/bb-6-2-t15.html BB(6, 2) > 10↑↑15]. 21 Jun 2022.</ref> | ||
== Why is Collatz randomness mysterious? == | |||
The (above displayed) Collatz function produces numbers whose even/odd property (parity) passes even NIST randomness tests.<ref>Ren, Wei. "Collatz computation sequence for sufficiently large integers is a pseudo-random bit sequence." Mathematics Open 5 (2026): 2550023.</ref> Consequently, pseudo random number generators (PRNG) have been proposed using this or similar functions.<ref>Xu, David, and Dan E. Tamir. "Pseudo-random number generators based on the Collatz conjecture." International Journal of Information Technology 11.3 (2019): 453-459. https://scholar.google.com/scholar?cluster=3536660581322604740&hl=en&as_sdt=0,5</ref> However, the mathematical proof that such systems have this property in general is remarkably elusive. | |||
== References == | == References == | ||
<references /> | <references /> | ||
[[Category:Zoology]] | [[Category:Zoology]] | ||
Latest revision as of 16:00, 3 April 2026
A Collatz-like function is a function iterated repeatedly on its own output (a recurrence) defined piecewise by the remainder of the current value modulo some number. The characteristic of most Collatz-like functions is that each branch combines multiplication by a small prime with division by 2, which causes the iterates to grow and shrink in a pattern that is practically unpredictable. This pseudorandom behavior is empirically well-documented but remains largely mysterious mathematically. The canonical example is the original Collatz function: where division by 2 on even inputs and multiplication by 3 (plus a correction) on odd inputs produces trajectories that appear random despite being entirely deterministic. A Collatz-like problem is a question about the long-run behavior of such an iteration — for instance, whether all starting values eventually reach a fixed point or cycle. Collatz-like problems are famously difficult; even the simplest instances are open. Many Busy Beaver Champions exhibit Collatz-like behavior, meaning their execution trace can be concisely described by the iterates of a Collatz-like function. This is not a coincidence. The Busy Beaver project systematically filters out machines with predictable, non-chaotic behavior, so the machines that survive and dominate the competition are precisely those whose behavior is hardest to predict. Because the ×3, ÷2 process appears to be the simplest mechanism capable of generating pseudorandom dynamics, it shows up throughout the Busy Beaver landscape. Generalized Collatz Functions (GCFs) are a well-studied formal class of Collatz-like functions on one variable in which every branch is an affine map. The halting problem for GCFs is known to be Turing complete. Consistent Collatz functions are a further restriction of GCFs in which all branches share the same linear coefficient.
Examples
5-state busy beaver winner
Consider the 5-state busy beaver winner and the generalized configuration:
Pascal Michel showed that:
Starting on a blank tape , these rules iterate 15 times before reaching the halt config.[1]
Hydra
Consider Hydra and the generalized configuration:
Daniel Yuan showed that:
Where is a halting configuration with non-zero symbols on the tape.
Starting from , this simulates a pseudo-random walk along the parameter, increasing it by 2 every time is odd, decreasing by 1 every time it's even. Deciding whether or not Hydra halts requires determining whether through the process of applying the Collatz-like function to 3 recursively, there eventually comes a point where the amount of even transitions applied is more than twice the amount of odd transitions applied.[2] The first few transitions are displayed below:
Exponential Collatz
Consider the machine 1RB0LD_1RC0RF_1LC1LA_0LE1RZ_1LF0RB_0RC0RE (bbch), discovered by Pavel Kropitz in May 2022, and the general configuration:Shawn Ligocki showed that:
Demonstrating Collatz-like behavior with exponential piecewise component functions.
Starting from config , these rules iterate 15 times before reaching the halt config leaving over non-zero symbols on the tape.[3]
Why is Collatz randomness mysterious?
The (above displayed) Collatz function produces numbers whose even/odd property (parity) passes even NIST randomness tests.[4] Consequently, pseudo random number generators (PRNG) have been proposed using this or similar functions.[5] However, the mathematical proof that such systems have this property in general is remarkably elusive.
References
- ↑ Pascal Michel's Analysis of the BB(5, 2) Champion
- ↑ Shawn Ligocki. BB(2, 5) is Hard (Hydra). 10 May 2024.
- ↑ Shawn Ligocki. BB(6, 2) > 10↑↑15. 21 Jun 2022.
- ↑ Ren, Wei. "Collatz computation sequence for sufficiently large integers is a pseudo-random bit sequence." Mathematics Open 5 (2026): 2550023.
- ↑ Xu, David, and Dan E. Tamir. "Pseudo-random number generators based on the Collatz conjecture." International Journal of Information Technology 11.3 (2019): 453-459. https://scholar.google.com/scholar?cluster=3536660581322604740&hl=en&as_sdt=0,5