Hydra function

From BusyBeaverWiki
Revision as of 09:42, 23 February 2025 by MrSolis (talk | contribs)
Jump to navigation Jump to search

The Hydra function is a Collatz-like function whose behavior is connected to the unsolved halting problems for the Cryptids Hydra and Antihydra. It is defined as: H(n)n+12n=32n={3n2if n0(mod2)3n12if n1(mod2) which can alternatively be written as H(2n)=3nH(2n+1)=3n+1 It has some connections to Mahler's 3/2 problem.

Properties

Here, s and t are positive integers with t odd. Let 0ks be an integer and Hk is the kth iterate of H. Hk(2st)=3k2sktHk(2st+1)=3k2skt+1

Relationship to Hydra and Antihydra

Both machines effectively track the progress of two varibles; one of them changes depending on its value modulo 2 but roughly multiplies itself by 32, and the other increases by 2 or decreases by 1 depending on the parity of the first variable.

In particular, Hydra halts if and only if the function Failed to parse (unknown function "\begin{cases}"): {\displaystyle f(x)=\begin{cases}\frac{3x+6}{2}&\text{if }a\equiv0\pmod{2}\\8}