Hydra: Difference between revisions
(the Hydra sequence can be calculated quickly due to being a consistent Collatz sequence) |
m (link collatz-like) |
||
Line 1: | Line 1: | ||
{{machine|1RB3RB---3LA1RA_2LA3RA4LB0LB0LA}}{{unsolved|Does Hydra run forever?}}{{TM|1RB3RB---3LA1RA_2LA3RA4LB0LB0LA}} | {{machine|1RB3RB---3LA1RA_2LA3RA4LB0LB0LA}}{{unsolved|Does Hydra run forever?}}{{TM|1RB3RB---3LA1RA_2LA3RA4LB0LB0LA}} | ||
'''Hydra''' is a [[BB(2,5)]] machine that simulates the Collatz-like iteration | '''Hydra''' is a [[BB(2,5)]] machine that simulates the [[Collatz-like]] iteration | ||
<math display="block">\begin{array}{l} | <math display="block">\begin{array}{l} |
Revision as of 19:50, 6 August 2024
1RB3RB---3LA1RA_2LA3RA4LB0LB0LA
(bbch)
Hydra is a BB(2,5) machine that simulates the Collatz-like iteration
starting from , using configurations of the form .[1]
It is closely related to the machine Antihydra.[2]
The sequence calculated by Hydra is a consistent Collatz sequence, (which implies, among other things, that its odd/even pattern can be calculated in quasilinear time). In the first 60 million elements, there are 29995836 even values of a
and 30004165 odd values; thus, is known that Hydra cannot halt within the first 90 million Collatz iterations.
An older simulator for the odd/even sequence used by Hydra is available here, but it runs in time and thus is unusably slow compared to the consistent Collatz simulation approach.
Name
The name Hydra references the Ancient Greek legend: just as the legendary creature was growing 2 heads after losing 1 head, the b counter that is kept on the right side of the tape either increases by 2 or decreases by 1 (approximately with equal frequency if modelled as a random process; in reality it depends on the parity of a). The Hydra dies (halts) when the last head is cut.
Sources
- ↑ S. Ligocki, "BB(2, 5) is Hard (Hydra) (2023). Accessed 22 July 2024.
- ↑ S. Ligocki, "BB(6) is Hard (Antihydra)" (2024). Accessed 22 July 2024.