<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.bbchallenge.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Roi+H.+Clem</id>
	<title>BusyBeaverWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.bbchallenge.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Roi+H.+Clem"/>
	<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/wiki/Special:Contributions/Roi_H._Clem"/>
	<updated>2026-05-01T13:12:34Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Generalized_Collatz_Function&amp;diff=6644</id>
		<title>Generalized Collatz Function</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Generalized_Collatz_Function&amp;diff=6644"/>
		<updated>2026-03-19T16:07:16Z</updated>

		<summary type="html">&lt;p&gt;Roi H. Clem: /* Definition */  typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A &#039;&#039;&#039;Generalized Collatz Function (GCF)&#039;&#039;&#039; is a function which naturally generalizes the classic Collatz function defined by Conway in his 1972 paper &amp;quot;Unpredictable iterations&amp;quot;.&amp;lt;ref name=&amp;quot;:0&amp;quot;&amp;gt;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.&amp;lt;/ref&amp;gt; They are functions defined casewise based upon the remainder of the input (modulo some value) where each case is an affine function. The behavior of GCFs is [[Turing complete]]. Many [[Busy Beaver]] champions and [[Cryptids]] simulate GCFs and more general [[Collatz-like]] functions.&lt;br /&gt;
&lt;br /&gt;
== Definition ==&lt;br /&gt;
An m-case GCF is a casewise-defined function &amp;lt;math&amp;gt;g: \mathbb{N} \to \mathbb{N}&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;g(n) = \begin{cases}&lt;br /&gt;
  a_0 n + b_0 &amp;amp; \text{if } n \equiv 0 \pmod{m} \\&lt;br /&gt;
  a_1 n + b_1 &amp;amp; \text{if } n \equiv 1 \pmod{m} \\&lt;br /&gt;
              &amp;amp; \vdots \\&lt;br /&gt;
  a_{m-1} n + b_{m-1} &amp;amp; \text{if } n \equiv m-1 \pmod{m} \\&lt;br /&gt;
\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where all &amp;lt;math&amp;gt;a_i,b_i \in \mathbb{Q}&amp;lt;/math&amp;gt; restricted such that for all &amp;lt;math&amp;gt;n \in \mathbb{N} \implies g(n) \in \mathbb{N}&amp;lt;/math&amp;gt;. We say that g halts on input n if there exists a k such that &amp;lt;math&amp;gt;g^k(n) = 1&amp;lt;/math&amp;gt;. A &#039;&#039;&#039;Generalized Collatz Problem (GCP)&#039;&#039;&#039; is the &amp;quot;mortality problem&amp;quot; for a GCF. In other words, it is the question: For a specific GCF g, does it halt (eventually reach 1) on all inputs.&amp;lt;ref name=&amp;quot;:1&amp;quot;&amp;gt;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}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Turing Complete ==&lt;br /&gt;
&lt;br /&gt;
* 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 &amp;lt;math&amp;gt;2^{n+1}&amp;lt;/math&amp;gt;.&amp;lt;ref name=&amp;quot;:0&amp;quot; /&amp;gt;&lt;br /&gt;
* Kurtz and Simon proved in 2007 that GCP is &amp;lt;math&amp;gt;\Pi_2^0&amp;lt;/math&amp;gt;-complete.&amp;lt;ref name=&amp;quot;:1&amp;quot; /&amp;gt;&lt;br /&gt;
* Kascak proved in 1992 that there exists a Universal GCF with modulus 396.&amp;lt;ref&amp;gt;Frantisek Kascak. 1992. Small universal one-state linear operator algorithm. In: Havel, I.M., Koubek, V. (eds) Mathematical Foundations of Computer Science 1992. MFCS 1992. Lecture Notes in Computer Science, vol 629. Springer, Berlin, Heidelberg. {{doi|10.1007/3-540-55808-X_31}}&amp;lt;/ref&amp;gt; (Note: He calls them one-state linear operator algorithms (OLOA).)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Functions]]&lt;/div&gt;</summary>
		<author><name>Roi H. Clem</name></author>
	</entry>
</feed>