Generalized Collatz Function

From BusyBeaverWiki
Revision as of 18:09, 28 October 2025 by Sligocki (talk | contribs) (Created page with "A '''Generalized Collatz Function (GCF)''' is a function which naturally generalizes the classic Collatz function defined by Conway in his 1972 paper "Unpredictable iterations".<ref name=":0">John. H. Conway. 1972. [https://gwern.net/doc/cs/computable/1972-conway.pdf Unpredictable iterations]. In Proc. 1972 Number Theory Conf., Univ. Colorado, Boulder, pages 49–52.</ref> They are functions defined piecewise based upon the remainder of the input (modulo some value) wher...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A Generalized Collatz Function (GCF) is a function which naturally generalizes the classic Collatz function defined by Conway in his 1972 paper "Unpredictable iterations".[1] They are functions defined piecewise based upon the remainder of the input (modulo some value) where each case is an affine function. The behavior of GCFs is Turing compete. Many Busy Beaver champions and Cryptids simulate GCFs and more general Collatz-like functions.

Definition

An m-case GCF is a piecewise-defined function g::

g(n)={a0n+b0if n0(modm)a1n+b1if n1(modm)am1n+bm1if nm1(modm)

We say that g halts on input n if there exists a k such that gk(n)=1. A Generalized Collatz Problem (GCP) is the "mortality problem" for a GCF. In other words, it is the question: For a specific GCF g, does it halt (eventually reach 1) on all inputs.[2]

Turing Complete

Conway proved in 1972 that every Minsky machine, M, can be encoded into a GCF, g, such that for all n: M halts on input n iff g halts on input 2n+1.[1] Kurtz and Simon proved in 2007 that the GCP is Π20-complete.[2]

References

  1. 1.0 1.1 John. H. Conway. 1972. Unpredictable iterations. In Proc. 1972 Number Theory Conf., Univ. Colorado, Boulder, pages 49–52.
  2. 2.0 2.1 Stuart A. Kurtz and Janos Simon. 2007. The undecidability of the generalized Collatz problem. In Jin-Yi Cai, S. Barry Cooper, and Hong Zhu, editors, Theory and Applications of Models of Computation, 4th International Conference, TAMC 2007, Shanghai, China, May 22-25, 2007, volume 4484 of Lecture Notes in Computer Science, pages 542–553. Springer, 2007. doi:10.1007/978-3-540-72504-6_49