<?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=MrSolis</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=MrSolis"/>
	<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/wiki/Special:Contributions/MrSolis"/>
	<updated>2026-04-30T16:09:22Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=User:MrSolis/Playground&amp;diff=5298</id>
		<title>User:MrSolis/Playground</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=User:MrSolis/Playground&amp;diff=5298"/>
		<updated>2025-12-04T15:36:31Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox&lt;br /&gt;
 | title   = Example: header with &amp;amp; without data&lt;br /&gt;
 | headerstyle = background: lightgrey; color:inherit;&lt;br /&gt;
&lt;br /&gt;
 | header1 = Header1 with empty section&lt;br /&gt;
 |  label2 = label2 text |  data2 =&lt;br /&gt;
 |  label3 = label3 text |  data3 =&lt;br /&gt;
 |  label4 = label4 text |  data4 =&lt;br /&gt;
&lt;br /&gt;
 | header5 = Header5 with data below&lt;br /&gt;
 |  label6 = label6 text |   data6 = Some value&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Module:Infobox&amp;diff=5297</id>
		<title>Module:Infobox</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Module:Infobox&amp;diff=5297"/>
		<updated>2025-12-04T15:36:24Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: Created page with &amp;quot;local p = {} local args = {} local origArgs = {} local root local empty_row_categories = {} local category_in_empty_row_pattern = &amp;#039;%[%[%s*[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Yy]%s*:[^]]*]]&amp;#039; local has_rows = false local lists = { 	plainlist_t = { 		patterns = { 			&amp;#039;^plainlist$&amp;#039;, 			&amp;#039;%splainlist$&amp;#039;, 			&amp;#039;^plainlist%s&amp;#039;, 			&amp;#039;%splainlist%s&amp;#039; 		}, 		found = false, 		styles = &amp;#039;Plainlist/styles.css&amp;#039; 	}, 	hlist_t = { 		patterns = { 			&amp;#039;^hlist$&amp;#039;, 			&amp;#039;%shlist$&amp;#039;, 			&amp;#039;^hlist%s&amp;#039;, 			&amp;#039;%shlist%s&amp;#039;...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;local p = {}&lt;br /&gt;
local args = {}&lt;br /&gt;
local origArgs = {}&lt;br /&gt;
local root&lt;br /&gt;
local empty_row_categories = {}&lt;br /&gt;
local category_in_empty_row_pattern = &#039;%[%[%s*[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Yy]%s*:[^]]*]]&#039;&lt;br /&gt;
local has_rows = false&lt;br /&gt;
local lists = {&lt;br /&gt;
	plainlist_t = {&lt;br /&gt;
		patterns = {&lt;br /&gt;
			&#039;^plainlist$&#039;,&lt;br /&gt;
			&#039;%splainlist$&#039;,&lt;br /&gt;
			&#039;^plainlist%s&#039;,&lt;br /&gt;
			&#039;%splainlist%s&#039;&lt;br /&gt;
		},&lt;br /&gt;
		found = false,&lt;br /&gt;
		styles = &#039;Plainlist/styles.css&#039;&lt;br /&gt;
	},&lt;br /&gt;
	hlist_t = {&lt;br /&gt;
		patterns = {&lt;br /&gt;
			&#039;^hlist$&#039;,&lt;br /&gt;
			&#039;%shlist$&#039;,&lt;br /&gt;
			&#039;^hlist%s&#039;,&lt;br /&gt;
			&#039;%shlist%s&#039;&lt;br /&gt;
		},&lt;br /&gt;
		found = false,&lt;br /&gt;
		styles = &#039;Hlist/styles.css&#039;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
local function has_list_class(args_to_check)&lt;br /&gt;
	for _, list in pairs(lists) do&lt;br /&gt;
		if not list.found then&lt;br /&gt;
			for _, arg in pairs(args_to_check) do&lt;br /&gt;
				for _, pattern in ipairs(list.patterns) do&lt;br /&gt;
					if mw.ustring.find(arg or &#039;&#039;, pattern) then&lt;br /&gt;
						list.found = true&lt;br /&gt;
						break&lt;br /&gt;
					end&lt;br /&gt;
				end&lt;br /&gt;
				if list.found then break end&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function fixChildBoxes(sval, tt)&lt;br /&gt;
	local function notempty( s ) return s and s:match( &#039;%S&#039; ) end&lt;br /&gt;
	&lt;br /&gt;
	if notempty(sval) then&lt;br /&gt;
		local marker = &#039;&amp;lt;span class=special_infobox_marker&amp;gt;&#039;&lt;br /&gt;
		local s = sval&lt;br /&gt;
		-- start moving templatestyles and categories inside of table rows&lt;br /&gt;
		local slast = &#039;&#039;&lt;br /&gt;
		while slast ~= s do&lt;br /&gt;
			slast = s&lt;br /&gt;
			s = mw.ustring.gsub(s, &#039;(&amp;lt;/[Tt][Rr]%s*&amp;gt;%s*)(%[%[%s*[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Yy]%s*:[^]]*%]%])&#039;, &#039;%2%1&#039;)&lt;br /&gt;
			s = mw.ustring.gsub(s, &#039;(&amp;lt;/[Tt][Rr]%s*&amp;gt;%s*)(\127[^\127]*UNIQ%-%-templatestyles%-%x+%-QINU[^\127]*\127)&#039;, &#039;%2%1&#039;)&lt;br /&gt;
		end&lt;br /&gt;
		-- end moving templatestyles and categories inside of table rows&lt;br /&gt;
		s = mw.ustring.gsub(s, &#039;(&amp;lt;%s*[Tt][Rr])&#039;, marker .. &#039;%1&#039;)&lt;br /&gt;
		s = mw.ustring.gsub(s, &#039;(&amp;lt;/[Tt][Rr]%s*&amp;gt;)&#039;, &#039;%1&#039; .. marker)&lt;br /&gt;
		if s:match(marker) then&lt;br /&gt;
			s = mw.ustring.gsub(s, marker .. &#039;%s*&#039; .. marker, &#039;&#039;)&lt;br /&gt;
			s = mw.ustring.gsub(s, &#039;([\r\n]|-[^\r\n]*[\r\n])%s*&#039; .. marker, &#039;%1&#039;)&lt;br /&gt;
			s = mw.ustring.gsub(s, marker .. &#039;%s*([\r\n]|-)&#039;, &#039;%1&#039;)&lt;br /&gt;
			s = mw.ustring.gsub(s, &#039;(&amp;lt;/[Cc][Aa][Pp][Tt][Ii][Oo][Nn]%s*&amp;gt;%s*)&#039; .. marker, &#039;%1&#039;)&lt;br /&gt;
			s = mw.ustring.gsub(s, &#039;(&amp;lt;%s*[Tt][Aa][Bb][Ll][Ee][^&amp;lt;&amp;gt;]*&amp;gt;%s*)&#039; .. marker, &#039;%1&#039;)&lt;br /&gt;
			s = mw.ustring.gsub(s, &#039;^(%{|[^\r\n]*[\r\n]%s*)&#039; .. marker, &#039;%1&#039;)&lt;br /&gt;
			s = mw.ustring.gsub(s, &#039;([\r\n]%{|[^\r\n]*[\r\n]%s*)&#039; .. marker, &#039;%1&#039;)&lt;br /&gt;
			s = mw.ustring.gsub(s, marker .. &#039;(%s*&amp;lt;/[Tt][Aa][Bb][Ll][Ee]%s*&amp;gt;)&#039;, &#039;%1&#039;)&lt;br /&gt;
			s = mw.ustring.gsub(s, marker .. &#039;(%s*\n|%})&#039;, &#039;%1&#039;)&lt;br /&gt;
		end&lt;br /&gt;
		if s:match(marker) then&lt;br /&gt;
			local subcells = mw.text.split(s, marker)&lt;br /&gt;
			s = &#039;&#039;&lt;br /&gt;
			for k = 1, #subcells do&lt;br /&gt;
				if k == 1 then&lt;br /&gt;
					s = s .. subcells[k] .. &#039;&amp;lt;/&#039; .. tt .. &#039;&amp;gt;&amp;lt;/tr&amp;gt;&#039;&lt;br /&gt;
				elseif k == #subcells then&lt;br /&gt;
					local rowstyle = &#039; style=&amp;quot;display:none&amp;quot;&#039;&lt;br /&gt;
					if notempty(subcells[k]) then rowstyle = &#039;&#039;	end&lt;br /&gt;
					s = s .. &#039;&amp;lt;tr&#039; .. rowstyle ..&#039;&amp;gt;&amp;lt;&#039; .. tt .. &#039; colspan=2&amp;gt;\n&#039; ..&lt;br /&gt;
						subcells[k]&lt;br /&gt;
				elseif notempty(subcells[k]) then&lt;br /&gt;
					if (k % 2) == 0 then&lt;br /&gt;
						s = s .. subcells[k]&lt;br /&gt;
					else&lt;br /&gt;
						s = s .. &#039;&amp;lt;tr&amp;gt;&amp;lt;&#039; .. tt .. &#039; colspan=2&amp;gt;\n&#039; ..&lt;br /&gt;
							subcells[k] .. &#039;&amp;lt;/&#039; .. tt .. &#039;&amp;gt;&amp;lt;/tr&amp;gt;&#039;&lt;br /&gt;
					end&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		-- the next two lines add a newline at the end of lists for the PHP parser&lt;br /&gt;
		-- [[Special:Diff/849054481]]&lt;br /&gt;
		-- remove when [[:phab:T191516]] is fixed or OBE&lt;br /&gt;
		s = mw.ustring.gsub(s, &#039;([\r\n][%*#;:][^\r\n]*)$&#039;, &#039;%1\n&#039;)&lt;br /&gt;
		s = mw.ustring.gsub(s, &#039;^([%*#;:][^\r\n]*)$&#039;, &#039;%1\n&#039;)&lt;br /&gt;
		s = mw.ustring.gsub(s, &#039;^([%*#;:])&#039;, &#039;\n%1&#039;)&lt;br /&gt;
		s = mw.ustring.gsub(s, &#039;^(%{%|)&#039;, &#039;\n%1&#039;)&lt;br /&gt;
		return s&lt;br /&gt;
	else&lt;br /&gt;
		return sval&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Cleans empty tables&lt;br /&gt;
local function cleanInfobox()&lt;br /&gt;
	root = tostring(root)&lt;br /&gt;
	if has_rows == false then&lt;br /&gt;
		root = mw.ustring.gsub(root, &#039;&amp;lt;table[^&amp;lt;&amp;gt;]*&amp;gt;%s*&amp;lt;/table&amp;gt;&#039;, &#039;&#039;)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Returns the union of the values of two tables, as a sequence.&lt;br /&gt;
local function union(t1, t2)&lt;br /&gt;
&lt;br /&gt;
	local vals = {}&lt;br /&gt;
	for k, v in pairs(t1) do&lt;br /&gt;
		vals[v] = true&lt;br /&gt;
	end&lt;br /&gt;
	for k, v in pairs(t2) do&lt;br /&gt;
		vals[v] = true&lt;br /&gt;
	end&lt;br /&gt;
	local ret = {}&lt;br /&gt;
	for k, v in pairs(vals) do&lt;br /&gt;
		table.insert(ret, k)&lt;br /&gt;
	end&lt;br /&gt;
	return ret&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Returns a table containing the numbers of the arguments that exist&lt;br /&gt;
-- for the specified prefix. For example, if the prefix was &#039;data&#039;, and&lt;br /&gt;
-- &#039;data1&#039;, &#039;data2&#039;, and &#039;data5&#039; exist, it would return {1, 2, 5}.&lt;br /&gt;
local function getArgNums(prefix)&lt;br /&gt;
	local nums = {}&lt;br /&gt;
	for k, v in pairs(args) do&lt;br /&gt;
		local num = tostring(k):match(&#039;^&#039; .. prefix .. &#039;([1-9]%d*)$&#039;)&lt;br /&gt;
		if num then table.insert(nums, tonumber(num)) end&lt;br /&gt;
	end&lt;br /&gt;
	table.sort(nums)&lt;br /&gt;
	return nums&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Adds a row to the infobox, with either a header cell&lt;br /&gt;
-- or a label/data cell combination.&lt;br /&gt;
local function addRow(rowArgs)&lt;br /&gt;
	&lt;br /&gt;
	if rowArgs.header and rowArgs.header ~= &#039;_BLANK_&#039; then&lt;br /&gt;
		has_rows = true&lt;br /&gt;
		has_list_class({ rowArgs.rowclass, rowArgs.class, args.headerclass })&lt;br /&gt;
		&lt;br /&gt;
		root&lt;br /&gt;
			:tag(&#039;tr&#039;)&lt;br /&gt;
				:addClass(rowArgs.rowclass)&lt;br /&gt;
				:cssText(rowArgs.rowstyle)&lt;br /&gt;
				:tag(&#039;th&#039;)&lt;br /&gt;
					:attr(&#039;colspan&#039;, &#039;2&#039;)&lt;br /&gt;
					:addClass(&#039;infobox-header&#039;)&lt;br /&gt;
					:addClass(rowArgs.class)&lt;br /&gt;
					:addClass(args.headerclass)&lt;br /&gt;
					-- @deprecated next; target .infobox-&amp;lt;name&amp;gt; .infobox-header&lt;br /&gt;
					:cssText(args.headerstyle)&lt;br /&gt;
					:cssText(rowArgs.rowcellstyle)&lt;br /&gt;
					:wikitext(fixChildBoxes(rowArgs.header, &#039;th&#039;))&lt;br /&gt;
		if rowArgs.data then&lt;br /&gt;
			root:wikitext(&lt;br /&gt;
				&#039;[[Category:Pages using infobox templates with ignored data cells]]&#039;&lt;br /&gt;
			)&lt;br /&gt;
		end&lt;br /&gt;
	elseif rowArgs.data and rowArgs.data:gsub(category_in_empty_row_pattern, &#039;&#039;):match(&#039;^%S&#039;) then&lt;br /&gt;
		has_rows = true&lt;br /&gt;
		has_list_class({ rowArgs.rowclass, rowArgs.class })&lt;br /&gt;
		&lt;br /&gt;
		local row = root:tag(&#039;tr&#039;)&lt;br /&gt;
		row:addClass(rowArgs.rowclass)&lt;br /&gt;
		row:cssText(rowArgs.rowstyle)&lt;br /&gt;
		if rowArgs.label then&lt;br /&gt;
			row&lt;br /&gt;
				:tag(&#039;th&#039;)&lt;br /&gt;
					:attr(&#039;scope&#039;, &#039;row&#039;)&lt;br /&gt;
					:addClass(&#039;infobox-label&#039;)&lt;br /&gt;
					-- @deprecated next; target .infobox-&amp;lt;name&amp;gt; .infobox-label&lt;br /&gt;
					:cssText(args.labelstyle)&lt;br /&gt;
					:cssText(rowArgs.rowcellstyle)&lt;br /&gt;
					:wikitext(rowArgs.label)&lt;br /&gt;
					:done()&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		local dataCell = row:tag(&#039;td&#039;)&lt;br /&gt;
		dataCell&lt;br /&gt;
			:attr(&#039;colspan&#039;, not rowArgs.label and &#039;2&#039; or nil)&lt;br /&gt;
			:addClass(not rowArgs.label and &#039;infobox-full-data&#039; or &#039;infobox-data&#039;)&lt;br /&gt;
			:addClass(rowArgs.class)&lt;br /&gt;
			-- @deprecated next; target .infobox-&amp;lt;name&amp;gt; .infobox(-full)-data&lt;br /&gt;
			:cssText(rowArgs.datastyle)&lt;br /&gt;
			:cssText(rowArgs.rowcellstyle)&lt;br /&gt;
			:wikitext(fixChildBoxes(rowArgs.data, &#039;td&#039;))&lt;br /&gt;
	else&lt;br /&gt;
		table.insert(empty_row_categories, rowArgs.data or &#039;&#039;)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function renderTitle()&lt;br /&gt;
	if not args.title then return end&lt;br /&gt;
&lt;br /&gt;
	has_rows = true&lt;br /&gt;
	has_list_class({args.titleclass})&lt;br /&gt;
	&lt;br /&gt;
	root&lt;br /&gt;
		:tag(&#039;caption&#039;)&lt;br /&gt;
			:addClass(&#039;infobox-title&#039;)&lt;br /&gt;
			:addClass(args.titleclass)&lt;br /&gt;
			-- @deprecated next; target .infobox-&amp;lt;name&amp;gt; .infobox-title&lt;br /&gt;
			:cssText(args.titlestyle)&lt;br /&gt;
			:wikitext(args.title)&lt;br /&gt;
	&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function renderAboveRow()&lt;br /&gt;
	if not args.above then return end&lt;br /&gt;
&lt;br /&gt;
	has_rows = true&lt;br /&gt;
	has_list_class({ args.aboveclass })&lt;br /&gt;
	&lt;br /&gt;
	root&lt;br /&gt;
		:tag(&#039;tr&#039;)&lt;br /&gt;
			:tag(&#039;th&#039;)&lt;br /&gt;
				:attr(&#039;colspan&#039;, &#039;2&#039;)&lt;br /&gt;
				:addClass(&#039;infobox-above&#039;)&lt;br /&gt;
				:addClass(args.aboveclass)&lt;br /&gt;
				-- @deprecated next; target .infobox-&amp;lt;name&amp;gt; .infobox-above&lt;br /&gt;
				:cssText(args.abovestyle)&lt;br /&gt;
				:wikitext(fixChildBoxes(args.above,&#039;th&#039;))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function renderBelowRow()&lt;br /&gt;
	if not args.below then return end&lt;br /&gt;
&lt;br /&gt;
	has_rows = true&lt;br /&gt;
	has_list_class({ args.belowclass })&lt;br /&gt;
	&lt;br /&gt;
	root&lt;br /&gt;
		:tag(&#039;tr&#039;)&lt;br /&gt;
			:tag(&#039;td&#039;)&lt;br /&gt;
				:attr(&#039;colspan&#039;, &#039;2&#039;)&lt;br /&gt;
				:addClass(&#039;infobox-below&#039;)&lt;br /&gt;
				:addClass(args.belowclass)&lt;br /&gt;
				-- @deprecated next; target .infobox-&amp;lt;name&amp;gt; .infobox-below&lt;br /&gt;
				:cssText(args.belowstyle)&lt;br /&gt;
				:wikitext(fixChildBoxes(args.below,&#039;td&#039;))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function addSubheaderRow(subheaderArgs)&lt;br /&gt;
	if subheaderArgs.data and&lt;br /&gt;
		subheaderArgs.data:gsub(category_in_empty_row_pattern, &#039;&#039;):match(&#039;^%S&#039;) then&lt;br /&gt;
		has_rows = true&lt;br /&gt;
		has_list_class({ subheaderArgs.rowclass, subheaderArgs.class })&lt;br /&gt;
		&lt;br /&gt;
		local row = root:tag(&#039;tr&#039;)&lt;br /&gt;
		row:addClass(subheaderArgs.rowclass)&lt;br /&gt;
&lt;br /&gt;
		local dataCell = row:tag(&#039;td&#039;)&lt;br /&gt;
		dataCell&lt;br /&gt;
			:attr(&#039;colspan&#039;, &#039;2&#039;)&lt;br /&gt;
			:addClass(&#039;infobox-subheader&#039;)&lt;br /&gt;
			:addClass(subheaderArgs.class)&lt;br /&gt;
			:cssText(subheaderArgs.datastyle)&lt;br /&gt;
			:cssText(subheaderArgs.rowcellstyle)&lt;br /&gt;
			:wikitext(fixChildBoxes(subheaderArgs.data, &#039;td&#039;))&lt;br /&gt;
	else&lt;br /&gt;
		table.insert(empty_row_categories, subheaderArgs.data or &#039;&#039;)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function renderSubheaders()&lt;br /&gt;
	if args.subheader then&lt;br /&gt;
		args.subheader1 = args.subheader&lt;br /&gt;
	end&lt;br /&gt;
	if args.subheaderrowclass then&lt;br /&gt;
		args.subheaderrowclass1 = args.subheaderrowclass&lt;br /&gt;
	end&lt;br /&gt;
	local subheadernums = getArgNums(&#039;subheader&#039;)&lt;br /&gt;
	for k, num in ipairs(subheadernums) do&lt;br /&gt;
		addSubheaderRow({&lt;br /&gt;
			data = args[&#039;subheader&#039; .. tostring(num)],&lt;br /&gt;
			-- @deprecated next; target .infobox-&amp;lt;name&amp;gt; .infobox-subheader&lt;br /&gt;
			datastyle = args.subheaderstyle,&lt;br /&gt;
			rowcellstyle = args[&#039;subheaderstyle&#039; .. tostring(num)],&lt;br /&gt;
			class = args.subheaderclass,&lt;br /&gt;
			rowclass = args[&#039;subheaderrowclass&#039; .. tostring(num)]&lt;br /&gt;
		})&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function addImageRow(imageArgs)&lt;br /&gt;
&lt;br /&gt;
	if imageArgs.data and&lt;br /&gt;
		imageArgs.data:gsub(category_in_empty_row_pattern, &#039;&#039;):match(&#039;^%S&#039;) then&lt;br /&gt;
&lt;br /&gt;
		has_rows = true&lt;br /&gt;
		has_list_class({ imageArgs.rowclass, imageArgs.class })&lt;br /&gt;
		&lt;br /&gt;
		local row = root:tag(&#039;tr&#039;)&lt;br /&gt;
		row:addClass(imageArgs.rowclass)&lt;br /&gt;
&lt;br /&gt;
		local dataCell = row:tag(&#039;td&#039;)&lt;br /&gt;
		dataCell&lt;br /&gt;
			:attr(&#039;colspan&#039;, &#039;2&#039;)&lt;br /&gt;
			:addClass(&#039;infobox-image&#039;)&lt;br /&gt;
			:addClass(imageArgs.class)&lt;br /&gt;
			:cssText(imageArgs.datastyle)&lt;br /&gt;
			:wikitext(fixChildBoxes(imageArgs.data, &#039;td&#039;))&lt;br /&gt;
	else&lt;br /&gt;
		table.insert(empty_row_categories, imageArgs.data or &#039;&#039;)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function renderImages()&lt;br /&gt;
	if args.image then&lt;br /&gt;
		args.image1 = args.image&lt;br /&gt;
	end&lt;br /&gt;
	if args.caption then&lt;br /&gt;
		args.caption1 = args.caption&lt;br /&gt;
	end&lt;br /&gt;
	local imagenums = getArgNums(&#039;image&#039;)&lt;br /&gt;
	for k, num in ipairs(imagenums) do&lt;br /&gt;
		local caption = args[&#039;caption&#039; .. tostring(num)]&lt;br /&gt;
		local data = mw.html.create():wikitext(args[&#039;image&#039; .. tostring(num)])&lt;br /&gt;
		if caption then&lt;br /&gt;
			data&lt;br /&gt;
				:tag(&#039;div&#039;)&lt;br /&gt;
					:addClass(&#039;infobox-caption&#039;)&lt;br /&gt;
					-- @deprecated next; target .infobox-&amp;lt;name&amp;gt; .infobox-caption&lt;br /&gt;
					:cssText(args.captionstyle)&lt;br /&gt;
					:wikitext(caption)&lt;br /&gt;
		end&lt;br /&gt;
		addImageRow({&lt;br /&gt;
			data = tostring(data),&lt;br /&gt;
			-- @deprecated next; target .infobox-&amp;lt;name&amp;gt; .infobox-image&lt;br /&gt;
			datastyle = args.imagestyle,&lt;br /&gt;
			class = args.imageclass,&lt;br /&gt;
			rowclass = args[&#039;imagerowclass&#039; .. tostring(num)]&lt;br /&gt;
		})&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- When autoheaders are turned on, preprocesses the rows&lt;br /&gt;
local function preprocessRows()&lt;br /&gt;
	if not args.autoheaders then return end&lt;br /&gt;
	&lt;br /&gt;
	local rownums = union(getArgNums(&#039;header&#039;), getArgNums(&#039;data&#039;))&lt;br /&gt;
	table.sort(rownums)&lt;br /&gt;
	local lastheader&lt;br /&gt;
	for k, num in ipairs(rownums) do&lt;br /&gt;
		if args[&#039;header&#039; .. tostring(num)] then&lt;br /&gt;
			if lastheader then&lt;br /&gt;
				args[&#039;header&#039; .. tostring(lastheader)] = nil&lt;br /&gt;
			end&lt;br /&gt;
			lastheader = num&lt;br /&gt;
		elseif args[&#039;data&#039; .. tostring(num)] and&lt;br /&gt;
			args[&#039;data&#039; .. tostring(num)]:gsub(&lt;br /&gt;
				category_in_empty_row_pattern, &#039;&#039;&lt;br /&gt;
			):match(&#039;^%S&#039;) then&lt;br /&gt;
			local data = args[&#039;data&#039; .. tostring(num)]&lt;br /&gt;
			if data:gsub(category_in_empty_row_pattern, &#039;&#039;):match(&#039;%S&#039;) then&lt;br /&gt;
				lastheader = nil&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	if lastheader then&lt;br /&gt;
		args[&#039;header&#039; .. tostring(lastheader)] = nil&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Gets the union of the header and data argument numbers,&lt;br /&gt;
-- and renders them all in order&lt;br /&gt;
local function renderRows()&lt;br /&gt;
&lt;br /&gt;
	local rownums = union(getArgNums(&#039;header&#039;), getArgNums(&#039;data&#039;))&lt;br /&gt;
	table.sort(rownums)&lt;br /&gt;
	for k, num in ipairs(rownums) do&lt;br /&gt;
		addRow({&lt;br /&gt;
			header = args[&#039;header&#039; .. tostring(num)],&lt;br /&gt;
			label = args[&#039;label&#039; .. tostring(num)],&lt;br /&gt;
			data = args[&#039;data&#039; .. tostring(num)],&lt;br /&gt;
			datastyle = args.datastyle,&lt;br /&gt;
			class = args[&#039;class&#039; .. tostring(num)],&lt;br /&gt;
			rowclass = args[&#039;rowclass&#039; .. tostring(num)],&lt;br /&gt;
			-- @deprecated next; target .infobox-&amp;lt;name&amp;gt; rowclass&lt;br /&gt;
			rowstyle = args[&#039;rowstyle&#039; .. tostring(num)],&lt;br /&gt;
			rowcellstyle = args[&#039;rowcellstyle&#039; .. tostring(num)]&lt;br /&gt;
		})&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function renderNavBar()&lt;br /&gt;
	if not args.name then return end&lt;br /&gt;
&lt;br /&gt;
	has_rows = true&lt;br /&gt;
	root&lt;br /&gt;
		:tag(&#039;tr&#039;)&lt;br /&gt;
			:tag(&#039;td&#039;)&lt;br /&gt;
				:attr(&#039;colspan&#039;, &#039;2&#039;)&lt;br /&gt;
				:addClass(&#039;infobox-navbar&#039;)&lt;br /&gt;
				:wikitext(require(&#039;Module:Navbar&#039;)._navbar{&lt;br /&gt;
					args.name,&lt;br /&gt;
					mini = 1,&lt;br /&gt;
				})&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function renderItalicTitle()&lt;br /&gt;
	local italicTitle = args[&#039;italic title&#039;] and mw.ustring.lower(args[&#039;italic title&#039;])&lt;br /&gt;
	if italicTitle == &#039;&#039; or italicTitle == &#039;force&#039; or italicTitle == &#039;yes&#039; then&lt;br /&gt;
		root:wikitext(require(&#039;Module:Italic title&#039;)._main({}))&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Categories in otherwise empty rows are collected in empty_row_categories.&lt;br /&gt;
-- This function adds them to the module output. It is not affected by&lt;br /&gt;
-- args.decat because this module should not prevent module-external categories&lt;br /&gt;
-- from rendering.&lt;br /&gt;
local function renderEmptyRowCategories()&lt;br /&gt;
	for _, s in ipairs(empty_row_categories) do&lt;br /&gt;
		root:wikitext(s)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Render tracking categories. args.decat == turns off tracking categories.&lt;br /&gt;
local function renderTrackingCategories()&lt;br /&gt;
	if args.decat == &#039;yes&#039; then return end&lt;br /&gt;
	if args.child == &#039;yes&#039; then&lt;br /&gt;
		if args.title then&lt;br /&gt;
			root:wikitext(&lt;br /&gt;
				&#039;[[Category:Pages using embedded infobox templates with the title parameter]]&#039;&lt;br /&gt;
			)&lt;br /&gt;
		end&lt;br /&gt;
	elseif #(getArgNums(&#039;data&#039;)) == 0 and mw.title.getCurrentTitle().namespace == 0 then&lt;br /&gt;
		root:wikitext(&#039;[[Category:Articles using infobox templates with no data rows]]&#039;)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[=[&lt;br /&gt;
Loads the templatestyles for the infobox.&lt;br /&gt;
&lt;br /&gt;
TODO: FINISH loading base templatestyles here rather than in&lt;br /&gt;
MediaWiki:Common.css. There are 4-5000 pages with &#039;raw&#039; infobox tables.&lt;br /&gt;
See [[Mediawiki_talk:Common.css/to_do#Infobox]] and/or come help :).&lt;br /&gt;
When we do this we should clean up the inline CSS below too.&lt;br /&gt;
Will have to do some bizarre conversion category like with sidebar.&lt;br /&gt;
&lt;br /&gt;
]=]&lt;br /&gt;
local function loadTemplateStyles()&lt;br /&gt;
	local frame = mw.getCurrentFrame()&lt;br /&gt;
	&lt;br /&gt;
	local hlist_templatestyles = &#039;&#039;&lt;br /&gt;
	if lists.hlist_t.found then&lt;br /&gt;
		hlist_templatestyles = frame:extensionTag{&lt;br /&gt;
			name = &#039;templatestyles&#039;, args = { src = lists.hlist_t.styles }&lt;br /&gt;
		}&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local plainlist_templatestyles = &#039;&#039;&lt;br /&gt;
	if lists.plainlist_t.found then&lt;br /&gt;
		plainlist_templatestyles = frame:extensionTag{&lt;br /&gt;
			name = &#039;templatestyles&#039;, args = { src = lists.plainlist_t.styles }&lt;br /&gt;
		}&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- See function description&lt;br /&gt;
	local base_templatestyles = frame:extensionTag{&lt;br /&gt;
		name = &#039;templatestyles&#039;, args = { src = &#039;Module:Infobox/styles.css&#039; }&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	local templatestyles = &#039;&#039;&lt;br /&gt;
	if args[&#039;templatestyles&#039;] then&lt;br /&gt;
		templatestyles = frame:extensionTag{&lt;br /&gt;
			name = &#039;templatestyles&#039;, args = { src = args[&#039;templatestyles&#039;] }&lt;br /&gt;
		}&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local child_templatestyles = &#039;&#039;&lt;br /&gt;
	if args[&#039;child templatestyles&#039;] then&lt;br /&gt;
		child_templatestyles = frame:extensionTag{&lt;br /&gt;
			name = &#039;templatestyles&#039;, args = { src = args[&#039;child templatestyles&#039;] }&lt;br /&gt;
		}&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local grandchild_templatestyles = &#039;&#039;&lt;br /&gt;
	if args[&#039;grandchild templatestyles&#039;] then&lt;br /&gt;
		grandchild_templatestyles = frame:extensionTag{&lt;br /&gt;
			name = &#039;templatestyles&#039;, args = { src = args[&#039;grandchild templatestyles&#039;] }&lt;br /&gt;
		}&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return table.concat({&lt;br /&gt;
		-- hlist -&amp;gt; plainlist -&amp;gt; base is best-effort to preserve old Common.css ordering.&lt;br /&gt;
		-- this ordering is not a guarantee because the rows of interest invoking&lt;br /&gt;
		-- each class may not be on a specific page&lt;br /&gt;
		hlist_templatestyles,&lt;br /&gt;
		plainlist_templatestyles,&lt;br /&gt;
		base_templatestyles,&lt;br /&gt;
		templatestyles,&lt;br /&gt;
		child_templatestyles,&lt;br /&gt;
		grandchild_templatestyles&lt;br /&gt;
	})&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- common functions between the child and non child cases&lt;br /&gt;
local function structure_infobox_common()&lt;br /&gt;
	renderSubheaders()&lt;br /&gt;
	renderImages()&lt;br /&gt;
	preprocessRows()&lt;br /&gt;
	renderRows()&lt;br /&gt;
	renderBelowRow()&lt;br /&gt;
	renderNavBar()&lt;br /&gt;
	renderItalicTitle()&lt;br /&gt;
	renderEmptyRowCategories()&lt;br /&gt;
	renderTrackingCategories()&lt;br /&gt;
	cleanInfobox()&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Specify the overall layout of the infobox, with special settings if the&lt;br /&gt;
-- infobox is used as a &#039;child&#039; inside another infobox.&lt;br /&gt;
local function _infobox()&lt;br /&gt;
	if args.child ~= &#039;yes&#039; then&lt;br /&gt;
		root = mw.html.create(&#039;table&#039;)&lt;br /&gt;
&lt;br /&gt;
		root&lt;br /&gt;
			:addClass(args.subbox == &#039;yes&#039; and &#039;infobox-subbox&#039; or &#039;infobox&#039;)&lt;br /&gt;
			:addClass(args.bodyclass)&lt;br /&gt;
			-- @deprecated next; target .infobox-&amp;lt;name&amp;gt;&lt;br /&gt;
			:cssText(args.bodystyle)&lt;br /&gt;
		&lt;br /&gt;
		has_list_class({ args.bodyclass })&lt;br /&gt;
&lt;br /&gt;
		renderTitle()&lt;br /&gt;
		renderAboveRow()&lt;br /&gt;
	else&lt;br /&gt;
		root = mw.html.create()&lt;br /&gt;
&lt;br /&gt;
		root&lt;br /&gt;
			:wikitext(args.title)&lt;br /&gt;
	end&lt;br /&gt;
	structure_infobox_common()&lt;br /&gt;
	&lt;br /&gt;
	return loadTemplateStyles() .. root&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- If the argument exists and isn&#039;t blank, add it to the argument table.&lt;br /&gt;
-- Blank arguments are treated as nil to match the behaviour of ParserFunctions.&lt;br /&gt;
local function preprocessSingleArg(argName)&lt;br /&gt;
	if origArgs[argName] and origArgs[argName] ~= &#039;&#039; then&lt;br /&gt;
		args[argName] = origArgs[argName]&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Assign the parameters with the given prefixes to the args table, in order, in&lt;br /&gt;
-- batches of the step size specified. This is to prevent references etc. from&lt;br /&gt;
-- appearing in the wrong order. The prefixTable should be an array containing&lt;br /&gt;
-- tables, each of which has two possible fields, a &amp;quot;prefix&amp;quot; string and a&lt;br /&gt;
-- &amp;quot;depend&amp;quot; table. The function always parses parameters containing the &amp;quot;prefix&amp;quot;&lt;br /&gt;
-- string, but only parses parameters in the &amp;quot;depend&amp;quot; table if the prefix&lt;br /&gt;
-- parameter is present and non-blank.&lt;br /&gt;
local function preprocessArgs(prefixTable, step)&lt;br /&gt;
	if type(prefixTable) ~= &#039;table&#039; then&lt;br /&gt;
		error(&amp;quot;Non-table value detected for the prefix table&amp;quot;, 2)&lt;br /&gt;
	end&lt;br /&gt;
	if type(step) ~= &#039;number&#039; then&lt;br /&gt;
		error(&amp;quot;Invalid step value detected&amp;quot;, 2)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Get arguments without a number suffix, and check for bad input.&lt;br /&gt;
	for i,v in ipairs(prefixTable) do&lt;br /&gt;
		if type(v) ~= &#039;table&#039; or type(v.prefix) ~= &amp;quot;string&amp;quot; or&lt;br /&gt;
			(v.depend and type(v.depend) ~= &#039;table&#039;) then&lt;br /&gt;
			error(&#039;Invalid input detected to preprocessArgs prefix table&#039;, 2)&lt;br /&gt;
		end&lt;br /&gt;
		preprocessSingleArg(v.prefix)&lt;br /&gt;
		-- Only parse the depend parameter if the prefix parameter is present&lt;br /&gt;
		-- and not blank.&lt;br /&gt;
		if args[v.prefix] and v.depend then&lt;br /&gt;
			for j, dependValue in ipairs(v.depend) do&lt;br /&gt;
				if type(dependValue) ~= &#039;string&#039; then&lt;br /&gt;
					error(&#039;Invalid &amp;quot;depend&amp;quot; parameter value detected in preprocessArgs&#039;)&lt;br /&gt;
				end&lt;br /&gt;
				preprocessSingleArg(dependValue)&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Get arguments with number suffixes.&lt;br /&gt;
	local a = 1 -- Counter variable.&lt;br /&gt;
	local moreArgumentsExist = true&lt;br /&gt;
	while moreArgumentsExist == true do&lt;br /&gt;
		moreArgumentsExist = false&lt;br /&gt;
		for i = a, a + step - 1 do&lt;br /&gt;
			for j,v in ipairs(prefixTable) do&lt;br /&gt;
				local prefixArgName = v.prefix .. tostring(i)&lt;br /&gt;
				if origArgs[prefixArgName] then&lt;br /&gt;
					-- Do another loop if any arguments are found, even blank ones.&lt;br /&gt;
					moreArgumentsExist = true&lt;br /&gt;
					preprocessSingleArg(prefixArgName)&lt;br /&gt;
				end&lt;br /&gt;
				-- Process the depend table if the prefix argument is present&lt;br /&gt;
				-- and not blank, or we are processing &amp;quot;prefix1&amp;quot; and &amp;quot;prefix&amp;quot; is&lt;br /&gt;
				-- present and not blank, and if the depend table is present.&lt;br /&gt;
				if v.depend and (args[prefixArgName] or (i == 1 and args[v.prefix])) then&lt;br /&gt;
					for j,dependValue in ipairs(v.depend) do&lt;br /&gt;
						local dependArgName = dependValue .. tostring(i)&lt;br /&gt;
						preprocessSingleArg(dependArgName)&lt;br /&gt;
					end&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		a = a + step&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Parse the data parameters in the same order that the old {{infobox}} did, so&lt;br /&gt;
-- that references etc. will display in the expected places. Parameters that&lt;br /&gt;
-- depend on another parameter are only processed if that parameter is present,&lt;br /&gt;
-- to avoid phantom references appearing in article reference lists.&lt;br /&gt;
local function parseDataParameters()&lt;br /&gt;
&lt;br /&gt;
	preprocessSingleArg(&#039;autoheaders&#039;)&lt;br /&gt;
	preprocessSingleArg(&#039;child&#039;)&lt;br /&gt;
	preprocessSingleArg(&#039;bodyclass&#039;)&lt;br /&gt;
	preprocessSingleArg(&#039;subbox&#039;)&lt;br /&gt;
	preprocessSingleArg(&#039;bodystyle&#039;)&lt;br /&gt;
	preprocessSingleArg(&#039;title&#039;)&lt;br /&gt;
	preprocessSingleArg(&#039;titleclass&#039;)&lt;br /&gt;
	preprocessSingleArg(&#039;titlestyle&#039;)&lt;br /&gt;
	preprocessSingleArg(&#039;above&#039;)&lt;br /&gt;
	preprocessSingleArg(&#039;aboveclass&#039;)&lt;br /&gt;
	preprocessSingleArg(&#039;abovestyle&#039;)&lt;br /&gt;
	preprocessArgs({&lt;br /&gt;
		{prefix = &#039;subheader&#039;, depend = {&#039;subheaderstyle&#039;, &#039;subheaderrowclass&#039;}}&lt;br /&gt;
	}, 10)&lt;br /&gt;
	preprocessSingleArg(&#039;subheaderstyle&#039;)&lt;br /&gt;
	preprocessSingleArg(&#039;subheaderclass&#039;)&lt;br /&gt;
	preprocessArgs({&lt;br /&gt;
		{prefix = &#039;image&#039;, depend = {&#039;caption&#039;, &#039;imagerowclass&#039;}}&lt;br /&gt;
	}, 10)&lt;br /&gt;
	preprocessSingleArg(&#039;captionstyle&#039;)&lt;br /&gt;
	preprocessSingleArg(&#039;imagestyle&#039;)&lt;br /&gt;
	preprocessSingleArg(&#039;imageclass&#039;)&lt;br /&gt;
	preprocessArgs({&lt;br /&gt;
		{prefix = &#039;header&#039;},&lt;br /&gt;
		{prefix = &#039;data&#039;, depend = {&#039;label&#039;}},&lt;br /&gt;
		{prefix = &#039;rowclass&#039;},&lt;br /&gt;
		{prefix = &#039;rowstyle&#039;},&lt;br /&gt;
		{prefix = &#039;rowcellstyle&#039;},&lt;br /&gt;
		{prefix = &#039;class&#039;}&lt;br /&gt;
	}, 50)&lt;br /&gt;
	preprocessSingleArg(&#039;headerclass&#039;)&lt;br /&gt;
	preprocessSingleArg(&#039;headerstyle&#039;)&lt;br /&gt;
	preprocessSingleArg(&#039;labelstyle&#039;)&lt;br /&gt;
	preprocessSingleArg(&#039;datastyle&#039;)&lt;br /&gt;
	preprocessSingleArg(&#039;below&#039;)&lt;br /&gt;
	preprocessSingleArg(&#039;belowclass&#039;)&lt;br /&gt;
	preprocessSingleArg(&#039;belowstyle&#039;)&lt;br /&gt;
	preprocessSingleArg(&#039;name&#039;)&lt;br /&gt;
	-- different behaviour for italics if blank or absent&lt;br /&gt;
	args[&#039;italic title&#039;] = origArgs[&#039;italic title&#039;]&lt;br /&gt;
	preprocessSingleArg(&#039;decat&#039;)&lt;br /&gt;
	preprocessSingleArg(&#039;templatestyles&#039;)&lt;br /&gt;
	preprocessSingleArg(&#039;child templatestyles&#039;)&lt;br /&gt;
	preprocessSingleArg(&#039;grandchild templatestyles&#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- If called via #invoke, use the args passed into the invoking template.&lt;br /&gt;
-- Otherwise, for testing purposes, assume args are being passed directly in.&lt;br /&gt;
function p.infobox(frame)&lt;br /&gt;
	if frame == mw.getCurrentFrame() then&lt;br /&gt;
		origArgs = frame:getParent().args&lt;br /&gt;
	else&lt;br /&gt;
		origArgs = frame&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	parseDataParameters()&lt;br /&gt;
	&lt;br /&gt;
	return _infobox()&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- For calling via #invoke within a template&lt;br /&gt;
function p.infoboxTemplate(frame)&lt;br /&gt;
	origArgs = {}&lt;br /&gt;
	for k,v in pairs(frame.args) do origArgs[k] = mw.text.trim(v) end&lt;br /&gt;
	&lt;br /&gt;
	parseDataParameters()&lt;br /&gt;
	&lt;br /&gt;
	return _infobox()&lt;br /&gt;
end&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=User:MrSolis&amp;diff=4393</id>
		<title>User:MrSolis</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=User:MrSolis&amp;diff=4393"/>
		<updated>2025-10-07T23:50:38Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: Blanked the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=User_talk:MrSolis&amp;diff=4392</id>
		<title>User talk:MrSolis</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=User_talk:MrSolis&amp;diff=4392"/>
		<updated>2025-10-07T23:50:27Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: minor message&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== 7 Oct 2025 ==&lt;br /&gt;
Three things:&lt;br /&gt;
# I believe I have fixed all instances of &amp;quot;math error&amp;quot; on the wiki due to &amp;quot;\textrm,&amp;quot; although I have not checked every page.&lt;br /&gt;
# I am on the Discord, I just don&#039;t chat, nor am I considering revealing myself for now.&lt;br /&gt;
# Don&#039;t reply, I will not respond.&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Directed_head_notation&amp;diff=4391</id>
		<title>Directed head notation</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Directed_head_notation&amp;diff=4391"/>
		<updated>2025-10-07T23:44:03Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: …&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Directed head notation&#039;&#039;&#039; is a notation for specifying a [[Turing machine]] configuration using tape compression and a TM head which &amp;quot;points&amp;quot; either to the left or right. Directed head notation may be used for a complete tape configuration&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;0^\infty \; 1 \; \textrm{&amp;lt;}\textrm{B} \; 0^3 \; 13^{10} \; 2 \; 0^\infty&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or for a partial configuration &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;101 \; \textrm{A}\textrm{&amp;gt;} \; 1^n&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Tape Compression ==&lt;br /&gt;
This notation supports run-length encoding for tape compression using &amp;quot;exponents&amp;quot;. Given a &amp;quot;word&amp;quot; (sequence of tape symbols) &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; and a count &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;w^n&amp;lt;/math&amp;gt; represents &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; repetitions of &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; concatenated. So for example, &amp;lt;math&amp;gt;2^4 = 2222&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;10^3 = 101010&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
It is important to note here that the words &amp;quot;2&amp;quot; and &amp;quot;10&amp;quot; in these examples are sequences of tape symbols and not integers and that the counts &amp;quot;4&amp;quot; and &amp;quot;3&amp;quot; are integer repetition counts, not representing integer exponentiation. It is perhaps unfortunate that these compressed blocks look identical to integer mathematical expressions. Generally, it should be obvious from the context that this is a tape configuration and not a math expression.&lt;br /&gt;
&lt;br /&gt;
Segments of the tape may also be specified without exponents which represent unrepeated (or 1 repeat) of that segment. The notation &amp;lt;math&amp;gt;0^\infty&amp;lt;/math&amp;gt; is used to represent the infinite sequence of blank symbols at either end of a configuration. In general, there will be many different notations for identical tape segments. For example:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;0^\infty \; 121212 = 0^\infty \; 12 \; 12 \; 12 = 0^\infty \; 12^3 = 0^\infty \; 01 \; 21^2 \; 2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Directed Head ==&lt;br /&gt;
Traditionally, the Turing machine head is considered to be located &amp;quot;on&amp;quot; a tape cell, for example some common traditional notation for a TM configuration include:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\dots 0110 \underset{A}{\underline{2}} 01110 \dots&amp;lt;/math&amp;gt;or&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\dots 0110 (A2) 01110 \dots&amp;lt;/math&amp;gt;which indicate that the TM is in state A and currently positioned on the tape cell containing the 2. In these notations there are 3 groupings of symbols: those to the left (&amp;lt;math&amp;gt;\dots 0110&amp;lt;/math&amp;gt;), those to the right (&amp;lt;math&amp;gt;01110 \dots&amp;lt;/math&amp;gt;) and the single current symbol (2).&lt;br /&gt;
&lt;br /&gt;
In directed head notation, we instead conceptualize the TM head as in the process of moving from one tape cell to another. So the above configuration could be represented by either&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\dots 0110 \; \textrm{A}\textrm{&amp;gt;} \; 2 01110 \dots&amp;lt;/math&amp;gt;or&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\dots 0110 2 \; \textrm{&amp;lt;}\textrm{A} \; 01110 \dots&amp;lt;/math&amp;gt;depending on which direction it moved immediately previous to this config. In many contexts, these may be considered equivalent configurations (since the forward behavior is identical for either). Here the notation &amp;quot;A&amp;gt;&amp;quot; means that the TM is in state A moving toward the right and &amp;quot;&amp;lt;A&amp;quot; means that it is moving to the left. The &amp;quot;current symbol&amp;quot; is the symbol &amp;quot;small end&amp;quot; of these &amp;quot;directed head&amp;quot; arrows.&lt;br /&gt;
&lt;br /&gt;
== Partial Configurations ==&lt;br /&gt;
A directed head configuration includes a directed head and zero or more tape segments on each side. If it includes &amp;lt;math&amp;gt;0^\infty&amp;lt;/math&amp;gt; at both ends, then it is a complete configuration (specifying precisely the entire tape), otherwise it is a partial configuration (specifying only a limited context around the TM head). For example, the partial configuration&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;101\;\textrm{C}\textrm{&amp;gt;}\;1^3&amp;lt;/math&amp;gt;matches any of these complete configurations&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{rcl}&lt;br /&gt;
  0^\infty \; 101   &amp;amp; \textrm{C}\textrm{&amp;gt;} &amp;amp; 1^3 \; 0^\infty \\&lt;br /&gt;
  0^\infty \; 11101 &amp;amp; \textrm{C}\textrm{&amp;gt;} &amp;amp; 1^8 \; 0^\infty \\&lt;br /&gt;
  0^\infty \; 01^3  &amp;amp; \textrm{C}\textrm{&amp;gt;} &amp;amp; 11^2 \; 0^\infty \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;Partial configurations may have no segments specified even on the side the TM head is facing. For example&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\textrm{&amp;lt;}\textrm{C} \; 101&amp;lt;/math&amp;gt;is a valid partial configuration. In these cases, we cannot tell what the &amp;quot;current symbol&amp;quot; is until we know the complete configuration. These configurations are common as the result of configuration transitions as described below.&lt;br /&gt;
&lt;br /&gt;
== Configuration Transitions ==&lt;br /&gt;
One of the most common use cases for directed head notation is for specifying configuration transition rules. For example, the rule&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{c}&lt;br /&gt;
  \\&lt;br /&gt;
  0^\infty \; 011 \; \textrm{&amp;lt;}\textrm{C} \; 0^\infty \; \xrightarrow{3} \; 0^\infty \; \textrm{&amp;lt;}\textrm{C} \; 101 \; 0^\infty \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;indicates that if the TM starts in config &amp;lt;math&amp;gt; 0^\infty \; 011 \; \textrm{&amp;lt;}\textrm{C} \; 0^\infty&amp;lt;/math&amp;gt;, 3 steps later it will be in configuration &amp;lt;math&amp;gt; 0^\infty \; \textrm{&amp;lt;}\textrm{C} \; 101 \; 0^\infty&amp;lt;/math&amp;gt;. It is common to define these rules for partial configurations. For example,&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{c}&lt;br /&gt;
  \\&lt;br /&gt;
  011 \; \textrm{&amp;lt;}\textrm{C} \; \xrightarrow{3} \; \textrm{&amp;lt;}\textrm{C} \; 101 \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;which means that for any complete configuration &amp;lt;math&amp;gt; w \; 011 \; \textrm{&amp;lt;}\textrm{C} \; u&amp;lt;/math&amp;gt; (where &amp;lt;math&amp;gt; w, u&amp;lt;/math&amp;gt; are any valid left and right half-tapes), 3 steps later it will be in configuration &amp;lt;math&amp;gt; w \; \textrm{&amp;lt;}\textrm{C} \; 101 \; u&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Transition rules become especially useful once you use induction to prove them over arbitrary repetition counts. For example, the previous transition rule can prove this [[Shift rule|shift rule]] for all &amp;lt;math&amp;gt; n \ge 0&amp;lt;/math&amp;gt;:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{c}&lt;br /&gt;
  \\&lt;br /&gt;
  011^n \; \textrm{&amp;lt;}\textrm{C} \; \xrightarrow{3n} \; \textrm{&amp;lt;}\textrm{C} \; 101^n \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
[[Category:Analysis Techniques]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Block_Analysis&amp;diff=4390</id>
		<title>Block Analysis</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Block_Analysis&amp;diff=4390"/>
		<updated>2025-10-07T23:39:55Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: ˘𝀂˘&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Block Analysis&#039;&#039;&#039; is when instead of looking at the head and symbols as individual entities, we group multiple of them into a &amp;quot;block&amp;quot; of symbols (Examples: [10], [102], [10011]). Blocks can be infinite, containing the infinite string of 0s on either side of the tape, generally represented by a dollar sign (Examples: [$10], [101$]). They can also contain the head, assuming [[Directed Head Notation]]. Generally the head is always on the outside of the block, pointing outwards (Examples: [1B&amp;gt;], [&amp;lt;C], [102A&amp;gt;], [&amp;lt;D11]).&lt;br /&gt;
&lt;br /&gt;
== Example: 1RB---1LC_2RC0LA2LB_1LB0LB0RB ==&lt;br /&gt;
In 66 steps from the starting position, the tape becomes &amp;lt;math&amp;gt;0^\infty \; 22212 \; \textrm{&amp;lt;}\textrm{B} \; 201021 \; 0^\infty&amp;lt;/math&amp;gt;, which can be grouped as follows: &amp;lt;math&amp;gt;[\$2] \; [22] \; [12] \; [\textrm{&amp;lt;}\textrm{B}] \; [201021\$]&amp;lt;/math&amp;gt;. The grouping is arbitrary, but it typically has a purpose.&lt;br /&gt;
&lt;br /&gt;
Suppose we want to simulate the TM while the tape is grouped together, we ungroup the head and the block it is pointing to, in this case it&#039;s the [12] and the [&amp;lt;B]. And simulate it until the head points outwards:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;12 \; \textrm{&amp;lt;}\textrm{B} \; \rightarrow 1 \; \textrm{&amp;lt;}\textrm{B} \; 2 \; \rightarrow \; \textrm{&amp;lt;}\textrm{A} \; 02&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, we regroup the resulting tape segment however we like. In this case: I want to group everything into one block: [&amp;lt;A02], but any grouping is allowed. So the current tape is now &amp;lt;math&amp;gt;[\$2] \; [22] \; [\textrm{&amp;lt;}\textrm{A}02] \; [201021\$]&amp;lt;/math&amp;gt;. What we&#039;ve effectively done is created a rule: whenever we see [12] [&amp;lt;B] in that order, replace it with [&amp;lt;A02]. We can do this again with [22] [&amp;lt;A02]: first ungroup, then simulate, then regroup:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;[22] \; [\textrm{&amp;lt;}\textrm{A}02] \; \rightarrow \; 22 \; \textrm{&amp;lt;}\textrm{A} \; 02 \; \rightarrow \; 2 \; \textrm{&amp;lt;}\textrm{C} &lt;br /&gt;
\; 102 \; \rightarrow \; 0 \; \textrm{B}\textrm{&amp;gt;} \; 102 \; \rightarrow \; 0 \; \textrm{&amp;lt;}\textrm{A} \; 002&lt;br /&gt;
\; \rightarrow \; 1 \; \textrm{B}\textrm{&amp;gt;} \; 002 \; \rightarrow \; 12 \; \textrm{C}\textrm{&amp;gt;} \; 02 \; \rightarrow \;&lt;br /&gt;
12 \; \textrm{&amp;lt;}\textrm{B} \; 12 \; \rightarrow \; 1 \; \textrm{&amp;lt;}\textrm{B} \; 212 \rightarrow \; \textrm{&amp;lt;}\textrm{A} \; 0212&lt;br /&gt;
\; \rightarrow \; [\textrm{&amp;lt;}\textrm{A}02] \; [12]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that I regrouped it in such a way that we get [&amp;lt;A02] again. This is intentional, as we want to minimize the block types for our analysis to be effective. In fact, if we restrict blocks to the left of the head to only be [$2], [12], and [22], the blocks to the right of the head to be [12], [22], [0102], and [201021$], and the blocks containing the head to be [&amp;lt;B], [&amp;lt;A02], and [0B&amp;gt;], then we can create a closed set of blocks that can always be regrouped to a different set of these blocks: we can show this using two tables, the first being every block with a left-pointing head interacting with every left block, and every block with a right-pointing head interacting with every right block:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!&lt;br /&gt;
![$2]&lt;br /&gt;
![12]&lt;br /&gt;
![22]&lt;br /&gt;
|-&lt;br /&gt;
|[&amp;lt;B]&lt;br /&gt;
|[$2] [0B&amp;gt;]&lt;br /&gt;
|[&amp;lt;A02]&lt;br /&gt;
|[&amp;lt;B] [22]&lt;br /&gt;
|-&lt;br /&gt;
|[&amp;lt;A02]&lt;br /&gt;
|[$2] [22] [12] [0B&amp;gt;]&lt;br /&gt;
|[&amp;lt;B] [0102]&lt;br /&gt;
|[&amp;lt;A02] [12]&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!&lt;br /&gt;
![12]&lt;br /&gt;
![22]&lt;br /&gt;
![0102]&lt;br /&gt;
![201021$]&lt;br /&gt;
|-&lt;br /&gt;
|[0B&amp;gt;]&lt;br /&gt;
|[12] [0B&amp;gt;]&lt;br /&gt;
|[22] [0B&amp;gt;]&lt;br /&gt;
|[22] [12] [0B&amp;gt;]&lt;br /&gt;
|[&amp;lt;B] [22] [201021$]&lt;br /&gt;
|}&lt;br /&gt;
It&#039;s important to note the tape after can be expressed using the blocks in this closed set after a number of steps.&lt;br /&gt;
&lt;br /&gt;
After 66 steps, the tape becomes &amp;lt;math&amp;gt;[\$2] \; [22] \; [12] \; [\textrm{&amp;lt;}\textrm{B}] \; [201021\$]&amp;lt;/math&amp;gt;, and from that point on, we will always be able to return to another tape using only the blocks we allow without ever halting. Therefore 1RB---1LC_2RC0LA2LB_1LB0LB0RB never halts.&lt;br /&gt;
&lt;br /&gt;
Usually, some of these block configurations is closed, but with the exception of a few rules that halt. In those cases, further analysis is typically needed.&lt;br /&gt;
&lt;br /&gt;
== Bonus: Regrouping Symbols ==&lt;br /&gt;
Sometimes, a few block interactions can almost be closed with the exception of an extra symbol that messes everything up. One solution is to make that symbol its own block, which may end up multiplying the number of blocks you have to deal with. Another way to deal with this is to regroup the extra symbol with the rest of the tape.&lt;br /&gt;
&lt;br /&gt;
Take the TM 1RB2LB0LC_2LA2RA1RB_---2LA1LC for example. There is the following set of blocks that is almost closed: with the exception of a single rule:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!&lt;br /&gt;
![102]&lt;br /&gt;
![1102]&lt;br /&gt;
![1022]&lt;br /&gt;
![10202]&lt;br /&gt;
![11022]&lt;br /&gt;
![10222]&lt;br /&gt;
![110202]&lt;br /&gt;
![102202]&lt;br /&gt;
![102$]&lt;br /&gt;
![1102$]&lt;br /&gt;
![1022$]&lt;br /&gt;
|-&lt;br /&gt;
|[B&amp;gt;]&lt;br /&gt;
|[211] [B&amp;gt;]&lt;br /&gt;
|[&amp;lt;C] [1022]&lt;br /&gt;
|[2111] [B&amp;gt;]&lt;br /&gt;
|[&amp;lt;C] [11022]&lt;br /&gt;
|[&amp;lt;C] [10222]&lt;br /&gt;
|[21111] [B&amp;gt;]&lt;br /&gt;
|[&amp;lt;C] [102202]&lt;br /&gt;
|[&amp;lt;C02] [1022]&lt;br /&gt;
|[&amp;lt;C] [1102$]&lt;br /&gt;
|[&amp;lt;C] [1022$]&lt;br /&gt;
|[&amp;lt;C02] [102$]&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!&lt;br /&gt;
![211]&lt;br /&gt;
![111]&lt;br /&gt;
![2111]&lt;br /&gt;
![21111]&lt;br /&gt;
![$11]&lt;br /&gt;
![$1111]&lt;br /&gt;
|-&lt;br /&gt;
|[&amp;lt;C]&lt;br /&gt;
|[111] [B&amp;gt;]&lt;br /&gt;
|[&amp;lt;C] [102]&lt;br /&gt;
|[&amp;lt;C] [1022]&lt;br /&gt;
|[&amp;lt;C02] [102]&lt;br /&gt;
|[$1111] [B&amp;gt;]&lt;br /&gt;
|[$11] [211] [B&amp;gt;]&lt;br /&gt;
|-&lt;br /&gt;
|[&amp;lt;C02]&lt;br /&gt;
|???&lt;br /&gt;
|[&amp;lt;C] [10202]&lt;br /&gt;
|[&amp;lt;C] [102202]&lt;br /&gt;
|[&amp;lt;C02] [10202]&lt;br /&gt;
|[$1111] [2111] [B&amp;gt;]&lt;br /&gt;
|[$11] [211] [21111] [B&amp;gt;]&lt;br /&gt;
|}&lt;br /&gt;
The only interaction left is [211] [&amp;lt;C02]. Simulating this gives us &amp;lt;math&amp;gt;\textrm{&amp;lt;}\textrm{A} \; 21022 &amp;lt;/math&amp;gt;, which can&#039;t be regrouped to our previously mentioned blocks. However, if we take one step back, we get &amp;lt;math&amp;gt;1 \; \textrm{&amp;lt;}\textrm{C} \; 1022&amp;lt;/math&amp;gt;, which can be grouped as &amp;lt;math&amp;gt;1 \; [ \textrm{&amp;lt;}\textrm{C} ] \; [1022] &amp;lt;/math&amp;gt;. The extra 1 can then be regrouped with other blocks on the left. Let&#039;s denote 1 as [&amp;lt;1] with the arrow indicating that it will try to regroup with blocks on the left. This completes our second table:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!&lt;br /&gt;
![211]&lt;br /&gt;
![111]&lt;br /&gt;
![2111]&lt;br /&gt;
![21111]&lt;br /&gt;
![$11]&lt;br /&gt;
![$111]&lt;br /&gt;
![$1111]&lt;br /&gt;
|-&lt;br /&gt;
|[&amp;lt;C]&lt;br /&gt;
|[111] [B&amp;gt;]&lt;br /&gt;
|[&amp;lt;C] [102]&lt;br /&gt;
|[&amp;lt;C] [1022]&lt;br /&gt;
|[&amp;lt;C02] [102]&lt;br /&gt;
|[$1111] [B&amp;gt;]&lt;br /&gt;
|Halt&lt;br /&gt;
|[$11] [211] [B&amp;gt;]&lt;br /&gt;
|-&lt;br /&gt;
|[&amp;lt;C02]&lt;br /&gt;
|[&amp;lt;1] [&amp;lt;C] [1022]&lt;br /&gt;
|[&amp;lt;C] [10202]&lt;br /&gt;
|[&amp;lt;C] [102202]&lt;br /&gt;
|[&amp;lt;C02] [10202]&lt;br /&gt;
|[$1111] [2111] [B&amp;gt;]&lt;br /&gt;
|Halt&lt;br /&gt;
|[$11] [211] [21111] [B&amp;gt;]&lt;br /&gt;
|-&lt;br /&gt;
|[&amp;lt;1]&lt;br /&gt;
|[2111]&lt;br /&gt;
|[&amp;lt;1] [111]&lt;br /&gt;
|[21111]&lt;br /&gt;
|[211] [111]&lt;br /&gt;
|[$111]&lt;br /&gt;
|[$1111]&lt;br /&gt;
|[$11] [111]&lt;br /&gt;
|}&lt;br /&gt;
Note that the interaction [&amp;lt;1] [&amp;lt;C] is undefined, so you would have to combine the [&amp;lt;1] with the block to its left before proceeding. Also note the newly introduced halting interactions, meaning further analysis is needed to solve this TM.&lt;br /&gt;
[[Category:Analysis Techniques]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Longitudinal_Analysis&amp;diff=4389</id>
		<title>Longitudinal Analysis</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Longitudinal_Analysis&amp;diff=4389"/>
		<updated>2025-10-07T23:31:54Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: who wrote this?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Longitudinal Analysis&#039;&#039;&#039; is a type of analysis on a TM, where, instead of analyzing the TM based on its direct forward behavior, takes advantage of a certain property of the TM which allows you to predict certain interactions ahead of time and simulate steps out of order. The best way to explain this is through an example.&lt;br /&gt;
&lt;br /&gt;
== Example TM: 1RB4LA1LB2LA0RB_2LB3RB4LA---1RA ==&lt;br /&gt;
A [[Block Analysis]] of 1RB4LA1LB2LA0RB_2LB3RB4LA---1RA provides the following rules:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!&lt;br /&gt;
![2]&lt;br /&gt;
![22]&lt;br /&gt;
![24]&lt;br /&gt;
![42]&lt;br /&gt;
![44]&lt;br /&gt;
![4$]&lt;br /&gt;
![2$]&lt;br /&gt;
![22$]&lt;br /&gt;
![24$]&lt;br /&gt;
![42$]&lt;br /&gt;
![44$]&lt;br /&gt;
|-&lt;br /&gt;
|[B&amp;gt;]&lt;br /&gt;
|[&amp;lt;A] [4&amp;gt;]&lt;br /&gt;
|[&amp;lt;A] [42]&lt;br /&gt;
|[&amp;lt;A] [44]&lt;br /&gt;
|[33] [B&amp;gt;]&lt;br /&gt;
|[10] [B&amp;gt;]&lt;br /&gt;
|[&amp;lt;A] [42] [4$]&lt;br /&gt;
|[&amp;lt;A] [4$]&lt;br /&gt;
|[&amp;lt;A] [42$]&lt;br /&gt;
|[&amp;lt;A] [44$]&lt;br /&gt;
|Halt&lt;br /&gt;
|[&amp;lt;A] [24] [2$]&lt;br /&gt;
|-&lt;br /&gt;
|[4&amp;gt;]&lt;br /&gt;
|[42]&lt;br /&gt;
|[42] [2]&lt;br /&gt;
|[42] [4&amp;gt;]&lt;br /&gt;
|[44] [2]&lt;br /&gt;
|[44] [4&amp;gt;]&lt;br /&gt;
|[44$]&lt;br /&gt;
|[42$]&lt;br /&gt;
|[42] [2$]&lt;br /&gt;
|[42] [4$]&lt;br /&gt;
|[44] [2$]&lt;br /&gt;
|[44] [4$]&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!&lt;br /&gt;
![33]&lt;br /&gt;
![10]&lt;br /&gt;
![11]&lt;br /&gt;
![$1]&lt;br /&gt;
|-&lt;br /&gt;
|[&amp;lt;A]&lt;br /&gt;
|[&amp;lt;A] [22]&lt;br /&gt;
|[11] [B&amp;gt;]&lt;br /&gt;
|[&amp;lt;A] [44]&lt;br /&gt;
|[$1] [B&amp;gt;] [4&amp;gt;]&lt;br /&gt;
|}&lt;br /&gt;
Starting from: [$1] [B&amp;gt;] [24$]&lt;br /&gt;
&lt;br /&gt;
Note that the &#039;&#039;only&#039;&#039; possible interaction with any of the left blocks ([33], [10], [11], and [$1]) can be with [&amp;lt;A]. So we can predict that ahead of time and &amp;quot;borrow&amp;quot; an [&amp;lt;A], along with an [&amp;lt;A^-1] indicating that an [&amp;lt;A] has been borrowed. So a possible simulation in Longitudinal Analysis could look like this:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;[\textrm{&amp;lt;}\textrm{A}^{-1}] \; [33] \; \rightarrow \; [\textrm{&amp;lt;}\textrm{A}^{-1}] \; [33] \; [\textrm{&amp;lt;}\textrm{A}] \;&lt;br /&gt;
[\textrm{&amp;lt;}\textrm{A}^{-1}] \; \rightarrow \; [\textrm{&amp;lt;}\textrm{A}^{-1}] \; [\textrm{&amp;lt;}\textrm{A}] \; [22] \; [\textrm{&amp;lt;}\textrm{A}^{-1}]&lt;br /&gt;
\; \rightarrow \; [22] \; [\textrm{&amp;lt;}\textrm{A}^{-1}]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
What makes this so useful is that we can pair [&amp;lt;A^-1] with [B&amp;gt;] to create a new block: [&amp;lt;A^-1 B&amp;gt;]. Let&#039;s see what we can do with this new type of block:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;[\textrm{&amp;lt;}\textrm{A}^{-1} \; \textrm{B}\textrm{&amp;gt;}] [24] \rightarrow [\textrm{&amp;lt;}\textrm{A}^{-1}][\textrm{B}\textrm{&amp;gt;}][24] \rightarrow&lt;br /&gt;
[\textrm{&amp;lt;}\textrm{A}^{-1}][\textrm{&amp;lt;}\textrm{A}][44] \rightarrow [44]&amp;lt;/math&amp;gt;&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;[\textrm{&amp;lt;}\textrm{A}^{-1} \; \textrm{B}\textrm{&amp;gt;}][42] \rightarrow [\textrm{&amp;lt;}\textrm{A}^{-1}][\textrm{B}\textrm{&amp;gt;}][42] \rightarrow&lt;br /&gt;
[\textrm{&amp;lt;}\textrm{A}^{-1}][33][\textrm{B}\textrm{&amp;gt;}] \rightarrow&lt;br /&gt;
[\textrm{&amp;lt;}\textrm{A}^{-1}][33][\textrm{&amp;lt;}\textrm{A}][\textrm{&amp;lt;}\textrm{A}^{-1} \; \textrm{B}\textrm{&amp;gt;}] \rightarrow &lt;br /&gt;
[\textrm{&amp;lt;}\textrm{A}^{-1}][\textrm{&amp;lt;}\textrm{A}][22][\textrm{&amp;lt;}\textrm{A}^{-1} \; \textrm{B}\textrm{&amp;gt;}] \rightarrow&lt;br /&gt;
[22][\textrm{&amp;lt;}\textrm{A}^{-1} \; \textrm{B}\textrm{&amp;gt;}]&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;[\textrm{&amp;lt;}\textrm{A}^{-1} \; \textrm{B}\textrm{&amp;gt;}][44] \rightarrow [\textrm{&amp;lt;}\textrm{A}^{-1}][\textrm{B}\textrm{&amp;gt;}][44] \rightarrow&lt;br /&gt;
[\textrm{&amp;lt;}\textrm{A}^{-1}][10][\textrm{B}\textrm{&amp;gt;}] \rightarrow&lt;br /&gt;
[\textrm{&amp;lt;}\textrm{A}^{-1}][10][\textrm{&amp;lt;}\textrm{A}][\textrm{&amp;lt;}\textrm{A}^{-1}\;\textrm{B}\textrm{&amp;gt;}] \rightarrow&lt;br /&gt;
[\textrm{&amp;lt;}\textrm{A}^{-1}][11][\textrm{B}\textrm{&amp;gt;}][\textrm{&amp;lt;}\textrm{A}^{-1}\;\textrm{B}\textrm{&amp;gt;}] \rightarrow&lt;br /&gt;
[\textrm{&amp;lt;}\textrm{A}^{-1}][11][\textrm{&amp;lt;}\textrm{A}][\textrm{&amp;lt;}\textrm{A}^{-1}\;\textrm{B}\textrm{&amp;gt;}][\textrm{&amp;lt;}\textrm{A}^{-1}\;\textrm{B}\textrm{&amp;gt;}]&lt;br /&gt;
\rightarrow [\textrm{&amp;lt;}\textrm{A}^{-1}][\textrm{&amp;lt;}\textrm{A}][44][\textrm{&amp;lt;}\textrm{A}^{-1}\;\textrm{B}\textrm{&amp;gt;}]^2 \rightarrow&lt;br /&gt;
[44][\textrm{&amp;lt;}\textrm{A}^{-1}\;\textrm{B}\textrm{&amp;gt;}]^2&lt;br /&gt;
&amp;lt;/math&amp;gt;We can modify the first table from our block analysis to get this new table:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!&lt;br /&gt;
![2]&lt;br /&gt;
![22]&lt;br /&gt;
![24]&lt;br /&gt;
![42]&lt;br /&gt;
![44]&lt;br /&gt;
![4$]&lt;br /&gt;
![2$]&lt;br /&gt;
![22$]&lt;br /&gt;
![24$]&lt;br /&gt;
![42$]&lt;br /&gt;
![44$]&lt;br /&gt;
|-&lt;br /&gt;
|[&amp;lt;A^-1 B&amp;gt;]&lt;br /&gt;
|[4&amp;gt;]&lt;br /&gt;
|[42]&lt;br /&gt;
|[44]&lt;br /&gt;
|[22] [&amp;lt;A^-1 B&amp;gt;]&lt;br /&gt;
|[44] [&amp;lt;A^-1 B&amp;gt;]^2&lt;br /&gt;
|[42] [4$]&lt;br /&gt;
|[4$]&lt;br /&gt;
|[42$]&lt;br /&gt;
|[44$]&lt;br /&gt;
|Halt&lt;br /&gt;
|[24] [2$]&lt;br /&gt;
|-&lt;br /&gt;
|[4&amp;gt;]&lt;br /&gt;
|[42]&lt;br /&gt;
|[42] [2]&lt;br /&gt;
|[42] [4&amp;gt;]&lt;br /&gt;
|[44] [2]&lt;br /&gt;
|[44] [4&amp;gt;]&lt;br /&gt;
|[44$]&lt;br /&gt;
|[42$]&lt;br /&gt;
|[42] [2$]&lt;br /&gt;
|[42] [4$]&lt;br /&gt;
|[44] [2$]&lt;br /&gt;
|[44] [4$]&lt;br /&gt;
|}Our current starting position is [$1] [B&amp;gt;] [24$], which can also be [$1] [&amp;lt;A] [&amp;lt;A^-1 B&amp;gt;] [24$]. One last change, we can almost completely get rid of [&amp;lt;A]. If we combine [$1] and [&amp;lt;A], we will get [$1 &amp;lt;A], which can be simulated by itself:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;[\$1 \; \textrm{&amp;lt;}\textrm{A}] \rightarrow [\$1][\textrm{&amp;lt;}\textrm{A}] \rightarrow [\$1][\textrm{B}\textrm{&amp;gt;}][4&amp;gt;] \rightarrow&lt;br /&gt;
[\$1 \; \textrm{&amp;lt;}\textrm{A}][\textrm{&amp;lt;}\textrm{A}^{-1} \; \textrm{B}\textrm{&amp;gt;}][4&amp;gt;]&amp;lt;/math&amp;gt;At the end, you get the full transition table:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!From&lt;br /&gt;
!To&lt;br /&gt;
|-&lt;br /&gt;
|[$1 &amp;lt;A]&lt;br /&gt;
|[$1 &amp;lt;A] [&amp;lt;A^-1 B&amp;gt;] [4&amp;gt;]&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!&lt;br /&gt;
![2]&lt;br /&gt;
![22]&lt;br /&gt;
![24]&lt;br /&gt;
![42]&lt;br /&gt;
![44]&lt;br /&gt;
![4$]&lt;br /&gt;
![2$]&lt;br /&gt;
![22$]&lt;br /&gt;
![24$]&lt;br /&gt;
![42$]&lt;br /&gt;
![44$]&lt;br /&gt;
|-&lt;br /&gt;
|[&amp;lt;A^-1 B&amp;gt;]&lt;br /&gt;
|[4&amp;gt;]&lt;br /&gt;
|[42]&lt;br /&gt;
|[44]&lt;br /&gt;
|[22] [&amp;lt;A^-1 B&amp;gt;]&lt;br /&gt;
|[44] [&amp;lt;A^-1 B&amp;gt;]^2&lt;br /&gt;
|[42] [4$]&lt;br /&gt;
|[4$]&lt;br /&gt;
|[42$]&lt;br /&gt;
|[44$]&lt;br /&gt;
|Halt&lt;br /&gt;
|[24] [2$]&lt;br /&gt;
|-&lt;br /&gt;
|[4&amp;gt;]&lt;br /&gt;
|[42]&lt;br /&gt;
|[42] [2]&lt;br /&gt;
|[42] [4&amp;gt;]&lt;br /&gt;
|[44] [2]&lt;br /&gt;
|[44] [4&amp;gt;]&lt;br /&gt;
|[44$]&lt;br /&gt;
|[42$]&lt;br /&gt;
|[42] [2$]&lt;br /&gt;
|[42] [4$]&lt;br /&gt;
|[44] [2$]&lt;br /&gt;
|[44] [4$]&lt;br /&gt;
|}&lt;br /&gt;
Start: [$1 &amp;lt;A] [&amp;lt;A^-1 B&amp;gt;] [24$]&lt;br /&gt;
&lt;br /&gt;
Note that we completely omitted [&amp;lt;A] from our set of blocks, since we have fully predicted when [&amp;lt;A] arrives.&lt;br /&gt;
&lt;br /&gt;
There are multiple ways to proceed with analysis, but I will show the standard way:&lt;br /&gt;
&lt;br /&gt;
== Standard Longitudinal Analysis (and Example Proof) ==&lt;br /&gt;
The standard way to proceed is to analyze each individual block to infinity one at a time, then progressing cell by cell rather than time, hence the name &amp;quot;Longitudinal.&amp;quot; We will see how this type of analysis can produce results that may not be noticeable in a direct forward analysis. In our previous example, we start with the edge block [$1 &amp;lt;A] and apply the rule infinite times to get [$1 &amp;lt;A] ([&amp;lt;A^-1 B&amp;gt;] [4&amp;gt;])^inf. Our starting position would now be [$1 &amp;lt;A] ([&amp;lt;A^-1 B&amp;gt;] [4&amp;gt;])^inf [&amp;lt;A^-1 B&amp;gt;] [24$]. Now the [$1 &amp;lt;A] is irrelevant, so we can actually get away with just writing ([&amp;lt;A^-1 B&amp;gt;] [4&amp;gt;])^inf [&amp;lt;A^-1 B&amp;gt;] [24$] -&amp;gt; ([&amp;lt;A^-1 B&amp;gt;] [4&amp;gt;])^inf [44$]. For this TM, let&#039;s define B(n) = [&amp;lt;A^-1 B&amp;gt;]^n [4&amp;gt;], so our tape becomes (B(1))^inf [44$]. Let&#039;s first take out a B(1) and interact it with [44$] to get&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;B(1) \; [44\$] \rightarrow [\textrm{&amp;lt;}\textrm{A}^{-1} \; \textrm{B}\textrm{&amp;gt;}] [4&amp;gt;] [44\$]&lt;br /&gt;
\rightarrow [\textrm{&amp;lt;}\textrm{A}^{-1} \; \textrm{B}\textrm{&amp;gt;}] [44] [4\$] \rightarrow&lt;br /&gt;
[44] [\textrm{&amp;lt;}\textrm{A}^{-1} \; \textrm{B}\textrm{&amp;gt;}]^2 [4\$] \rightarrow&lt;br /&gt;
[44] [\textrm{&amp;lt;}\textrm{A}^{-1} \; \textrm{B}\textrm{&amp;gt;}] [42] [4\$] \rightarrow&lt;br /&gt;
[44] [22] [\textrm{&amp;lt;}\textrm{A}^{-1} \; \textrm{B}\textrm{&amp;gt;}] [4\$] \rightarrow&lt;br /&gt;
[44] [22] [42] [4\$]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So now we have (B(1))^inf [42] [22] [42] [4$]. Now, we can derive these rules (left as an exercise for the reader):&lt;br /&gt;
&lt;br /&gt;
B(2n+1) [22] -&amp;gt; [22] B(n)&lt;br /&gt;
&lt;br /&gt;
B(2n+2) [22] -&amp;gt; [42] B(n)&lt;br /&gt;
&lt;br /&gt;
B(n+1) [42] -&amp;gt; [44] B(2n+1)&lt;br /&gt;
&lt;br /&gt;
B(n) [44] -&amp;gt; [44] B(2n)&lt;br /&gt;
&lt;br /&gt;
I&#039;ll also claim that if we have B(i_0) B(j_0) ([22] or [42] or [44]) and i_0 &amp;gt;= j_0 &amp;gt;= 1, then we will end with ([22] or [42] or [44]) B(i_1) B(j_1) and i_1 &amp;gt;= j_1. This applies to any number of variables (also left as an exercise for the reader) &lt;br /&gt;
&lt;br /&gt;
We haven&#039;t yet developed a set of closed rules, but we&#039;re getting there. We still need one more condition that is not yet met in our current tape, so let&#039;s simulate it until we get that condition: &lt;br /&gt;
&lt;br /&gt;
Let&#039;s take another step in our longitudinal analysis: (B(1))^inf [42] -&amp;gt; (B(1))^inf B(1) [42] -&amp;gt; (B(1))^inf [44] B(1) -&amp;gt; [44] (B(2))^inf B(1) &lt;br /&gt;
&lt;br /&gt;
Our [44] is now irrelevant, so we can remove it: &lt;br /&gt;
&lt;br /&gt;
(B(2))^inf B(1) [22] [42] [4$] &lt;br /&gt;
&lt;br /&gt;
We repeat this process to get &lt;br /&gt;
&lt;br /&gt;
(B(4))^inf B(3) B(0) B(0) [42] [4$] &lt;br /&gt;
&lt;br /&gt;
But now we run into a rule that&#039;s not handled by the rules we derived, so we have to leave our universe of rules and start thinking about the tape individually. This is the only time in the analysis where this happens. Note that B(0) is just a 4 symbol, and two 4 symbols become a [44] block. So we have &lt;br /&gt;
&lt;br /&gt;
(B(4))^inf B(3) [44] [42] [4$] -&amp;gt; (B(8))^inf B(6) [42] [4$] -&amp;gt; (B(16))^inf B(11) [4$] &lt;br /&gt;
&lt;br /&gt;
Note that [4$] is equivalent to [4&amp;gt;] [$], so we will do that to get (B(16))^inf B(11) B(0) [$], and we also get these rules: &lt;br /&gt;
&lt;br /&gt;
B(n+3) B(0) [$] -&amp;gt; [44] B(2n+1) [$] -&amp;gt; [44] [42] B(n) [$] &lt;br /&gt;
&lt;br /&gt;
B(2n+1) [$] -&amp;gt; [42] B(n) [$] &lt;br /&gt;
&lt;br /&gt;
B(2n+2) [$] -&amp;gt; [22] B(n+1) [$] &lt;br /&gt;
&lt;br /&gt;
Now I will state my inductive claim: Given &amp;lt;math&amp;gt;\dots B(a_2) \; B(a_1) \; B(a_0) \; B(b) \; [ \$ ]&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;a_0\leq a_1 \leq a_2\dots &amp;lt;/math&amp;gt; and one of the following: &lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;a_0+1 \geq 3b\text{ and }b \geq 1&amp;lt;/math&amp;gt; or&lt;br /&gt;
* &amp;lt;math&amp;gt;a_0 \geq 3\text{ and }b=0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can reach a tape of the form &amp;lt;math&amp;gt;\dots B(a_2) \; B(a_1) \; B(a_0) \; B(b) \; [ \$ ]&amp;lt;/math&amp;gt; again with the same conditions.&lt;br /&gt;
&lt;br /&gt;
I will not prove this on this page, as it is a bit tedious, but hopefully the idea is clear enough that you&#039;ll just accept it for the sake of understanding the purpose of Longitudinal Analysis. Afterwards, since we&#039;ve reached a position that satisfies the inductive condition, we know it will stay like that forever without halting.&lt;br /&gt;
&lt;br /&gt;
== Warnings ==&lt;br /&gt;
The standard way to proceed is to analyze each individual block to infinity one at a time, then progressing cell by cell rather than time, hence the name &amp;quot;Longitudinal.&amp;quot; However, the flexibility allows for analysis in any order, with a catch:&lt;br /&gt;
&lt;br /&gt;
Because we are now able to simulate steps in different orders, there are different rules as to when a TM halts or not. Just because we can make infinite steps without halting doesn&#039;t necessarily mean the TM doesn&#039;t halt. in our previous example, we can just simply apply rule [$1 &amp;lt;A] -&amp;gt; [$1 &amp;lt;A] [&amp;lt;A^-1 B&amp;gt;] [4&amp;gt;] infinite times to get [$1 &amp;lt;A] ([&amp;lt;A^-1 B&amp;gt;] [4&amp;gt;])^inf [&amp;lt;A^-1 B&amp;gt;] [24$], but we didn&#039;t really simulate the important part of the TM. In particular, if we already have two blocks that halt, [&amp;lt;A^-1 B&amp;gt;][42$], we could avoid it indefinitely by constantly making other transitions. However, if we maintain the rule that every possible interaction between blocks will eventually be made, then showing that such a process doesn&#039;t lead to halting &#039;&#039;will&#039;&#039; show that the original TM never halts.&lt;br /&gt;
&lt;br /&gt;
Conversely, if you find a halting interaction during analysis, you need an extra condition that simply shows that the halting transition will eventually happen: any block to the right of the halting location (or left if your rules are mirrored) must eventually die out. If it does not, then that means in the original TM, when we assumed that the head would eventually come back as [&amp;lt;A], it actually never comes back, becoming a translated cycler or for another reason.&lt;br /&gt;
[[Category:Analysis Techniques]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Maximum_Consecutive_Ones_Function&amp;diff=4388</id>
		<title>Maximum Consecutive Ones Function</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Maximum_Consecutive_Ones_Function&amp;diff=4388"/>
		<updated>2025-10-07T23:28:35Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: &amp;lt;°ᗨ°)⦣&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &#039;&#039;&#039;Maximum Consecutive Ones&#039;&#039;&#039; function (named &amp;lt;math&amp;gt;num(n)&amp;lt;/math&amp;gt; by Ben-Amram, Julstrom and Zwick)&amp;lt;ref&amp;gt;Ben-Amram A.M., Julstrom B.A. and Zwick U. (1996). [http://dx.doi.org/10.1007/BF01192693 A note on busy beavers and other creatures]. &#039;&#039;Mathematical Systems Theory&#039;&#039; &#039;&#039;&#039;29&#039;&#039;&#039; (4), July-August 1996, 375-386.&amp;lt;/ref&amp;gt; is a [[Busy Beaver function]] which measures the maximum number of consecutive 1s left on the tape at halt across all n-state 2-symbol [[Turing machine]]s which leave all their 1s consecutively. Unlike &amp;lt;math&amp;gt;\Sigma(n)&amp;lt;/math&amp;gt;, this allows some amount of order over the &amp;quot;API&amp;quot; of these TMs, so that their output can be used as inputs to another TM in some deterministic fashion. Note however, that this definition does not stipulate where the TM head must be positioned relative to the sequence of consecutive ones, so it is not completely trivial to use these results as input to a second TM.&lt;br /&gt;
&lt;br /&gt;
This function is only defined for 2-symbol TMs. It is not entirely clear how best to extend it to multi-symbol TMs. One option would be to keep the definition the same, so only TMs which halt with all 1s on the tape would qualify. Another would be to allow any symbols as long as all non-0 symbols were in one contiguous chunk on the tape.&lt;br /&gt;
&lt;br /&gt;
== Champions ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Known Values of num(n) function&lt;br /&gt;
|-&lt;br /&gt;
! Domain !! &amp;lt;math&amp;gt;num(n)&amp;lt;/math&amp;gt; !! Champion TM !! Halting Config&lt;br /&gt;
!Source&lt;br /&gt;
|-&lt;br /&gt;
| [[BB(1)]]|| 1 || {{TM|1RZ---|halt}} || &amp;lt;math&amp;gt;0^\infty \; 1 \; \textrm{Z}\textrm{&amp;gt;} \; 0^\infty&amp;lt;/math&amp;gt;&lt;br /&gt;
|Ben-Amram, Julstrom and Zwick (1996)&lt;br /&gt;
|-&lt;br /&gt;
|[[BB(2)]]&lt;br /&gt;
|4&lt;br /&gt;
|{{TM|1RB1LB_1LA1LZ|halt}}&lt;br /&gt;
|&amp;lt;math&amp;gt;0^\infty \; 1 \; \textrm{&amp;lt;}\textrm{Z} \; 1^3 \; 0^\infty&amp;lt;/math&amp;gt;&lt;br /&gt;
|Ben-Amram, Julstrom and Zwick (1996)&lt;br /&gt;
|-&lt;br /&gt;
|[[BB(3)]]&lt;br /&gt;
|6&lt;br /&gt;
|{{TM|1RB1LC_1RC1LZ_1LA0LB|halt}} and 3 others&lt;br /&gt;
|&amp;lt;math&amp;gt;0^\infty \; 1 \; \textrm{&amp;lt;}\textrm{Z} \; 1^5 \; 0^\infty&amp;lt;/math&amp;gt;&lt;br /&gt;
|Ben-Amram, Julstrom and Zwick (1996)&lt;br /&gt;
|-&lt;br /&gt;
|[[BB(4)]]&lt;br /&gt;
|12&lt;br /&gt;
|{{TM|1RB0LA_1RC1LB_1LB1RD_1RZ0RA|halt}}&lt;br /&gt;
|&amp;lt;math&amp;gt;0^\infty \; 1^{12} \; \textrm{Z}\textrm{&amp;gt;} \; 0^\infty&amp;lt;/math&amp;gt;&lt;br /&gt;
|Ben-Amram, Julstrom and Zwick (1996)&lt;br /&gt;
|-&lt;br /&gt;
|[[BB(5)]]&lt;br /&gt;
|165&lt;br /&gt;
|{{TM|1RB1LA_1RC1LE_1RD1RE_0LA1RC_1RZ0LB|halt}}&lt;br /&gt;
|&amp;lt;math&amp;gt;0^\infty \; 1^{165} \; \textrm{Z}\textrm{&amp;gt;} \; 0^\infty&amp;lt;/math&amp;gt;&lt;br /&gt;
|[https://groups.google.com/g/busy-beaver-discuss/c/pvtXPmuMsAg/m/UP0xcmwoEAAJ Announcement] by Andrés Sancho in Feb 2025&lt;br /&gt;
|}&lt;br /&gt;
Note: All TMs here are listed in [[TNF-1RB]] format with the exception that sometimes the halt transition is chosen to be &amp;lt;code&amp;gt;1LZ&amp;lt;/code&amp;gt; when that leads to a &amp;quot;simpler&amp;quot; halting configuration.&lt;br /&gt;
&lt;br /&gt;
For BB(3), there are actually 4 champion machines that all leave exactly 6 1s: {{TM|1RB1RZ_0RC1RB_1LC1LA|halt}}, {{TM|1RB1LC_1LA1RB_1LB1RZ|halt}}, {{TM|1RB1RA_1LC1RZ_1RA1LB|halt}}, {{TM|1RB1LC_1RC1RZ_1LA0LB|halt}}.&lt;br /&gt;
&lt;br /&gt;
The num(5) champion was found in 2009 by Joachim Hertel.&amp;lt;ref&amp;gt;J. Hertel, &amp;quot;[https://content.wolfram.com/sites/19/2009/11/Hertel.pdf Computing the Uncomputable Rado Sigma Function]&amp;quot;. The Mathematica Journal vol. 11 (2009).&amp;lt;/ref&amp;gt;&amp;lt;sup&amp;gt;p. 282&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
[[category:Functions]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Inductive_Proof_System&amp;diff=4387</id>
		<title>Inductive Proof System</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Inductive_Proof_System&amp;diff=4387"/>
		<updated>2025-10-07T23:25:48Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: :3&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;An &#039;&#039;&#039;Inductive Proof System&#039;&#039;&#039; is an [[Accelerated Simulator]] and [[Decider]] which operates by automatically detecting and proving [[Transition rule|transition rules]] using Mathematical Induction. &lt;br /&gt;
&lt;br /&gt;
== Inductive Rule ==&lt;br /&gt;
An inductive rule is a general transition rule (a start and end configuration, generalized with variables for repetition counts) along with a proof. The proof generally has two pieces: the base case and the inductive case. Each is a list of steps where each step is (A) a specific TM transition, (B) an application of the inductive hypothesis, (C) an application of a previously defined rule.&lt;br /&gt;
&lt;br /&gt;
=== Rule Levels ===&lt;br /&gt;
We can assign levels to any Inductive Rule. A Level 0 (L0) rule does not depend on any previously defined inductive rules. A Level 1 (L1) rule depends only upon previously proven L0 rules, etc. All L0 Rules (which only invoke the inductive hypothesis once) are [[Shift rule|Shift rules]].&lt;br /&gt;
&lt;br /&gt;
== Example Proofs ==&lt;br /&gt;
&lt;br /&gt;
=== Notation ===&lt;br /&gt;
In this article we will use the following notation for an Inductive Rule and its proof:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;P(n)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Proof by induction on n:&lt;br /&gt;
** Base case: &#039;&#039;List of steps to prove the base case &amp;lt;math&amp;gt;P(0)&amp;lt;/math&amp;gt;. Often this is the empty list since &amp;lt;math&amp;gt;P(0)&amp;lt;/math&amp;gt; is trivially true (in zero steps).&#039;&#039;&lt;br /&gt;
** Inductive case: &#039;&#039;List of steps to prove &amp;lt;math&amp;gt;P(n+1)&amp;lt;/math&amp;gt; of which some can be &amp;quot;IH&amp;quot; the inductive hypothesis that &amp;lt;math&amp;gt;P(n)&amp;lt;/math&amp;gt;.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Bouncer ===&lt;br /&gt;
Consider the [[bouncer]] {{TM|1RB0RC_0LC---_1RD1RC_0LE1RA_1RD1LE|non-halt}}. We can prove the following Inductive Rules:&lt;br /&gt;
&lt;br /&gt;
# Shift (L0) Rule: &amp;lt;math&amp;gt;C(n) : \textrm{C}\textrm{&amp;gt;} \; 1^n \to 1^n \; \textrm{C}\textrm{&amp;gt;}&amp;lt;/math&amp;gt;&lt;br /&gt;
#* Proof by induction on n&lt;br /&gt;
#** Base case: []&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\textrm{C}\textrm{&amp;gt;} \; 1^0 \to 1^0 \; \textrm{C}\textrm{&amp;gt;}&amp;lt;/math&amp;gt;&lt;br /&gt;
#** Inductive case: [C1, IH]&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\textrm{C}\textrm{&amp;gt;} \; 1^{n+1} \xrightarrow{C1} 1 \; \textrm{C}\textrm{&amp;gt;} \; 1^n \xrightarrow{IH} 1^{n+1} \; \textrm{C}\textrm{&amp;gt;}&amp;lt;/math&amp;gt;&lt;br /&gt;
# Shift (L0) Rule: &amp;lt;math&amp;gt;E(n) : 1^n \; \textrm{&amp;lt;}\textrm{E} \to \textrm{&amp;lt;}\textrm{E} \; 1^n&amp;lt;/math&amp;gt;&lt;br /&gt;
#* Proof by induction on n&lt;br /&gt;
#** Base case: []&lt;br /&gt;
#** Inductive case: [E1, IH]&lt;br /&gt;
# L1 Rule: &amp;lt;math&amp;gt;A(n) : \textrm{A}\textrm{&amp;gt;} \; 1^n \; 0^\infty \to 1^{2n} \; \textrm{A}\textrm{&amp;gt;} \; 0^\infty&amp;lt;/math&amp;gt;&lt;br /&gt;
#* Proof by induction on n&lt;br /&gt;
#** Base case: []&lt;br /&gt;
#** Inductive case: [A1, C(n), C0, D0, E(n+1), E0, D1, IH]&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{l}&lt;br /&gt;
\\&lt;br /&gt;
\textrm{A}\textrm{&amp;gt;} \; 1^{n+1} \; 0^\infty&lt;br /&gt;
&amp;amp; \xrightarrow{A1} &amp;amp;&lt;br /&gt;
  0 \; \textrm{C}\textrm{&amp;gt;} \; 1^n \; 0^\infty \\&lt;br /&gt;
&amp;amp; \xrightarrow{C(n)} &amp;amp;&lt;br /&gt;
  0 \; 1^n \; \textrm{C}\textrm{&amp;gt;} \; 0^\infty \\&lt;br /&gt;
&amp;amp; \xrightarrow{C0} &amp;amp;&lt;br /&gt;
  0 \; 1^{n+1} \; \textrm{D}\textrm{&amp;gt;} \; 0^\infty \\&lt;br /&gt;
&amp;amp; \xrightarrow{D0} &amp;amp;&lt;br /&gt;
  0 \; 1^{n+1} \; \textrm{&amp;lt;}\textrm{E} \; 0^\infty \\&lt;br /&gt;
&amp;amp; \xrightarrow{E(n+1)} &amp;amp;&lt;br /&gt;
  0 \; \textrm{&amp;lt;}\textrm{E} \; 1^{n+1} \; 0^\infty \\&lt;br /&gt;
&amp;amp; \xrightarrow{E0} &amp;amp;&lt;br /&gt;
  1 \; \textrm{D}\textrm{&amp;gt;} \; 1^{n+1} \; 0^\infty \\&lt;br /&gt;
&amp;amp; \xrightarrow{D1} &amp;amp;&lt;br /&gt;
  1^2 \; \textrm{A}\textrm{&amp;gt;} \; 1^n \; 0^\infty \\&lt;br /&gt;
&amp;amp; \xrightarrow{IH} &amp;amp;&lt;br /&gt;
  1^{2(n+1)} \; \textrm{A}\textrm{&amp;gt;} \; 0^\infty \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
# L2 Rule: &amp;lt;math&amp;gt;0^\infty \; 1^a \; \textrm{A}\textrm{&amp;gt;} \; 0^\infty \to 0^\infty \; 1^{2a+6} \; \textrm{A}\textrm{&amp;gt;} \; 0^\infty&amp;lt;/math&amp;gt;&lt;br /&gt;
#* Proof: [A0, B0, C1, C0, D0, E(a+2), E0, D1, A(a+1)]&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{l}&lt;br /&gt;
\\&lt;br /&gt;
0^\infty \; 1^a \; \textrm{A}\textrm{&amp;gt;} \; 0^\infty&lt;br /&gt;
&amp;amp; \xrightarrow{A0, B0, C1, C0, D0} &amp;amp;&lt;br /&gt;
  0^\infty \; 1^{a+2} \; \textrm{&amp;lt;}\textrm{E} \; 0^\infty \\&lt;br /&gt;
&amp;amp; \xrightarrow{E(a+2)} &amp;amp;&lt;br /&gt;
  0^\infty \; \textrm{&amp;lt;}\textrm{E} \; 1^{a+2} \; 0^\infty \\&lt;br /&gt;
&amp;amp; \xrightarrow{E0,D1} &amp;amp;&lt;br /&gt;
  0^\infty \; 1^2 \; \textrm{A}\textrm{&amp;gt;} \; 1^{a+1} \; 0^\infty \\&lt;br /&gt;
&amp;amp; \xrightarrow{A(a+1)} &amp;amp;&lt;br /&gt;
  0^\infty \; 1^{2a+4} \; \textrm{A}\textrm{&amp;gt;} \; 0^\infty \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can see now that the last rule can be applied repeatedly forever, so if it is ever applied once, the TM will never halt. In fact, in this case the start config is equal to &amp;lt;math&amp;gt;0^\infty \; 1^0 \; \textrm{A}\textrm{&amp;gt;} \; 0^\infty&amp;lt;/math&amp;gt; and thus this TM will never halt.&lt;br /&gt;
&lt;br /&gt;
== Tape Compression ==&lt;br /&gt;
We need some automated way to compress the tape into a tuple of integers, and decompress the tape when needed.&lt;br /&gt;
&lt;br /&gt;
=== Macro Machine ===&lt;br /&gt;
We can divide the tape into blocks of fixed size, and merge adjacent identical blocks into one and record the number of repetitions.&lt;br /&gt;
&lt;br /&gt;
Here is an example of how a half-tape is compressed using macro machine:&amp;lt;pre&amp;gt;&lt;br /&gt;
111110110110101010110110 0^inf&lt;br /&gt;
= 111 110 110 110 101 010 110 110 000^inf (use block size 3)&lt;br /&gt;
= 111 110^3 101 010 110^2 000^inf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Nested Repeater ===&lt;br /&gt;
We can compress the tape by looking for repeaters:&amp;lt;pre&amp;gt;&lt;br /&gt;
101110111 0^inf&lt;br /&gt;
= 1 0 1 1 1 0 1 1 1 0^inf&lt;br /&gt;
= 1 0 1 1 1 0 1 1^2 0^inf (use a a = a^2 for a = 1)&lt;br /&gt;
= 1 0 1 1 1 0 1^3 0^inf (use a a^n = a^(n+1) for a = 1)&lt;br /&gt;
= 1 0 1 1^2 0 1^3 0^inf (use a a = a^2 for a = 1)&lt;br /&gt;
= 1 0 1^3 0 1^3 0^inf (use a a^n = a^(n+1) for a = 1)&lt;br /&gt;
= 1 (0 1^3)^2 0^inf (use a a = a^2 for a = 0 1^3)&lt;br /&gt;
&amp;lt;/pre&amp;gt;Decompression is simple: we only decompress the tape when the head points to a repeater:&amp;lt;pre&amp;gt;&lt;br /&gt;
l X&amp;gt; a^(n+1) r = l X&amp;gt; a a^n r&lt;br /&gt;
l X&amp;gt; a^0 r = l X&amp;gt; r&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Fixed Length Repeater ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1101111101111110 0^inf = 1101 (11)^2 0 (11)^3 0 0^inf (length = 2)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Others ===&lt;br /&gt;
For counters and other complex pattern, we can design some specific methods to represent them.&lt;br /&gt;
&lt;br /&gt;
A typical binary counter can be represented by:&amp;lt;pre&amp;gt;&lt;br /&gt;
definition of C:&lt;br /&gt;
C(d0,d1,dh,1) = dh 0^inf&lt;br /&gt;
C(d0,d1,dh,2n+0) = d0 C(d0,d1,n), n&amp;gt;0&lt;br /&gt;
C(d0,d1,dh,2n+1) = d1 C(d0,d1,n), n&amp;gt;0&lt;br /&gt;
increment rule: l qR QR&amp;gt; C(d0,d1,dh,n) → l &amp;lt;QL qL C(d0,d1,dh,n+1)&lt;br /&gt;
where d0,d1,dh,qL,qR are tape segments, l is half-tape, QL,QR are TM states, n is positive integer.&lt;br /&gt;
&amp;lt;/pre&amp;gt;For [[Bell eats counter|bell eats counters]], when the head points to C, (i.e. l X&amp;gt; C(_,_,_,_)), if X=QL we can decompress tape in l to see whether it&#039;s prefix matches qR, if it matches we can apply the increment rule of the counter, otherwise we decompress C by expanding the definition of C (but not recursively unless the head points to C again) so that we can run the TM further.&lt;br /&gt;
&lt;br /&gt;
For [[Sync bouncer counter|sync bouncer counters]], the counter may overflow, so we can use a different representation of the binary counter:&amp;lt;pre&amp;gt;&lt;br /&gt;
C&#039;(0,0,0) = dh 0^inf&lt;br /&gt;
C&#039;(2a,2b+1,0) = d0 C&#039;(a,b,0)&lt;br /&gt;
C&#039;(2a+1,2b,0) = d1 C&#039;(a,b,0)&lt;br /&gt;
C&#039;(a,b,n) is well formed iff a+b+1=2^n&lt;br /&gt;
increment: l qR QR&amp;gt; C&#039;(a+1,b,n) → l &amp;lt;QL qL C&#039;(a,b+1,n)&lt;br /&gt;
overflow: l qR&#039; QR&#039;&amp;gt; C&#039;(0,b,n) → l &amp;lt;QL&#039; qL&#039; C&#039;(2b+1,0,n+1)&lt;br /&gt;
where a,b,n are natural numbers, l is half-tape, QL,QR are states, and d0,d1,dh,qL,qR are tape segments.&lt;br /&gt;
&amp;lt;/pre&amp;gt;We can also support arithmetic sequence:&amp;lt;pre&amp;gt;&lt;br /&gt;
0 1^2 0 1^3 0 1^4 0 1^5 = ((0 1^(2+1*i)) for i in range(4))&lt;br /&gt;
&amp;lt;/pre&amp;gt;And some simple structural counters that can be described by a single integer:&amp;lt;pre&amp;gt;&lt;br /&gt;
B(1) = dh 0^inf&lt;br /&gt;
B(2n+0) = w^n d0 B(n)&lt;br /&gt;
B(2n+1) = w^n d1 B(n)&lt;br /&gt;
l qR QR&amp;gt; B(n) → l &amp;lt;QL qL B(n+1)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Find and Prove Rules ==&lt;br /&gt;
We need some automated way to find rules and prove/use them.&lt;br /&gt;
&lt;br /&gt;
=== Find New Rule by Generalizing Known Rules ===&lt;br /&gt;
We can prove special rules, and generalize them by interpolation (and maybe also need to generalize their proof).&lt;br /&gt;
&lt;br /&gt;
Example:&amp;lt;pre&amp;gt;&lt;br /&gt;
0^inf A&amp;gt; 0^inf → 0^inf A&amp;gt; 0 0^inf&lt;br /&gt;
0^inf A&amp;gt; 0 0^inf → 0^inf 1 A&amp;gt; 0^inf&lt;br /&gt;
0^inf 1 A&amp;gt; 0^inf → 0^inf 1 A&amp;gt; 0 0^inf&lt;br /&gt;
0^inf 1 A&amp;gt; 0 0^inf → 0^inf 1 1 A&amp;gt; 0^inf&lt;br /&gt;
0^inf 1 1 A&amp;gt; 0^inf → 0^inf 1^2 A&amp;gt; 0^inf&lt;br /&gt;
&lt;br /&gt;
0^inf 1^2 A&amp;gt; 0^inf → 0^inf 1^2 A&amp;gt; 0 0^inf&lt;br /&gt;
0^inf 1^2 A&amp;gt; 0 0^inf → 0^inf 1^2 1 A&amp;gt; 0^inf&lt;br /&gt;
0^inf 1^2 1 A&amp;gt; 0^inf → 0^inf 1^3 A&amp;gt; 0^inf&lt;br /&gt;
&lt;br /&gt;
0^inf 1^3 A&amp;gt; 0^inf → 0^inf 1^3 A&amp;gt; 0 0^inf&lt;br /&gt;
0^inf 1^3 A&amp;gt; 0 0^inf → 0^inf 1^3 1 A&amp;gt; 0^inf&lt;br /&gt;
0^inf 1^3 1 A&amp;gt; 0^inf → 0^inf 1^4 A&amp;gt; 0^inf&lt;br /&gt;
&lt;br /&gt;
interpolation:&lt;br /&gt;
0^inf 1^(2+i) A&amp;gt; 0^inf → 0^inf 1^(2+i) A&amp;gt; 0 0^inf&lt;br /&gt;
0^inf 1^(2+i) A&amp;gt; 0 0^inf → 0^inf 1^(2+i) 1 A&amp;gt; 0^inf&lt;br /&gt;
0^inf 1^(2+i) 1 A&amp;gt; 0^inf → 0^inf 1^(3+i) A&amp;gt; 0^inf&lt;br /&gt;
&lt;br /&gt;
merge:&lt;br /&gt;
0^inf 1^(2+i) A&amp;gt; 0^inf → 0^inf 1^(3+i) A&amp;gt; 0^inf&lt;br /&gt;
&lt;br /&gt;
induction:&lt;br /&gt;
0^inf 1^2 A&amp;gt; 0^inf → 0^inf 1^(2+n) A&amp;gt; 0^inf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Find New Rule by Specializing Known Rules ===&lt;br /&gt;
We can maintain a sequence of used rules, and keep the rules as general as possible, then specialize the rules when needed.&lt;br /&gt;
&lt;br /&gt;
Example:&amp;lt;pre&amp;gt;&lt;br /&gt;
l A&amp;gt; 0^inf → l A&amp;gt; 0 0^inf&lt;br /&gt;
l A&amp;gt; 0 r → l 1 A&amp;gt; r&lt;br /&gt;
l A&amp;gt; 0^inf → l A&amp;gt; 0 0^inf&lt;br /&gt;
l A&amp;gt; 0 r → l 1 A&amp;gt; r&lt;br /&gt;
l 1 1 A&amp;gt; r → l 1^2 A&amp;gt; r&lt;br /&gt;
&lt;br /&gt;
l A&amp;gt; 0^inf → l A&amp;gt; 0 0^inf&lt;br /&gt;
l A&amp;gt; 0 r → l 1 A&amp;gt; r&lt;br /&gt;
l 1^n 1 A&amp;gt; r → l 1^(n+1) A&amp;gt; r&lt;br /&gt;
&lt;br /&gt;
l A&amp;gt; 0^inf → l A&amp;gt; 0 0^inf&lt;br /&gt;
l A&amp;gt; 0 r → l 1 A&amp;gt; r&lt;br /&gt;
l 1^n 1 A&amp;gt; r → l 1^(n+1) A&amp;gt; r&lt;br /&gt;
&lt;br /&gt;
to merge&lt;br /&gt;
l1 A&amp;gt; 0^inf → l1 A&amp;gt; 0 0^inf&lt;br /&gt;
l2 A&amp;gt; 0 r2 → l2 1 A&amp;gt; r2&lt;br /&gt;
we need to solve equation:&lt;br /&gt;
l1 A&amp;gt; 0 0^inf = l2 A&amp;gt; 0 r2&lt;br /&gt;
then we have l1=l2, 0^inf=r2 and substitute them:&lt;br /&gt;
l2 A&amp;gt; 0^inf → l2 A&amp;gt; 0 0^inf&lt;br /&gt;
l2 A&amp;gt; 0 0^inf → l2 1 A&amp;gt; 0^inf&lt;br /&gt;
and then these two rules are ready to be merged as&lt;br /&gt;
l2 A&amp;gt; 0^inf → l2 1 A&amp;gt; 0^inf&lt;br /&gt;
then we can merge&lt;br /&gt;
l2 A&amp;gt; 0^inf → l2 1 A&amp;gt; 0^inf&lt;br /&gt;
l 1^n 1 A&amp;gt; r → l 1^(n+1) A&amp;gt; r&lt;br /&gt;
in a similar way into&lt;br /&gt;
l 1^n A&amp;gt; 0^inf → l 1^(n+1) A&amp;gt; 0^inf&lt;br /&gt;
&lt;br /&gt;
induction:&lt;br /&gt;
l 1^n A&amp;gt; 0^inf → l 1^(n+m) A&amp;gt; 0^inf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;A method for solving equations (similar to unification in type theory):&amp;lt;pre&amp;gt;&lt;br /&gt;
First we use ((X -&amp;gt; A→B) /\ (Y -&amp;gt; C→D)) -&amp;gt; (B=C -&amp;gt; X -&amp;gt; Y -&amp;gt; A→D) to get a rule A→D that has premises B=C,X,Y.&lt;br /&gt;
Then we simplify the rule (B=C -&amp;gt; X -&amp;gt; Y -&amp;gt; A→D) by solving equantions in the premise:&lt;br /&gt;
If (a,b)=(c,d) is in the premise list, we can replace it with a=c, b=d, where (x,y) can be tape segment concatenation (x y), tape segment repeation (x^y) or something similar.&lt;br /&gt;
If a=b is in the premise list, a is variable, we substitute all occurence of a by b in the rule.&lt;br /&gt;
If a*x+b=c*y+d is in the premise list, x,y are natural number variables, a,b,c,d are natural number constants, we can divide a,b,c,d by gcd(a,b,c,d) and then substitute x,y by a&#039;*x&#039;+b&#039;,c&#039;*x&#039;+d&#039; based on some number theory methods.&lt;br /&gt;
For an expression of natural numbers, we can simplify it as a1*x1+a2*x2+...+an*xn+b, where a1,a2,...,an,b are natural number constants.&lt;br /&gt;
We can remove a=a from the premise list.&lt;br /&gt;
&lt;br /&gt;
If the premise list is not empty after using these methods repeatly, we just leave it as part of the rule.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Recursive Record-Breaking Analysis ===&lt;br /&gt;
We can run a Turing machine on a tape segment until it leaves the tape segment.&lt;br /&gt;
&lt;br /&gt;
In this process, every time the Turing machine visits a new position, we recursively consider when the Turing machine will leave the positions it has already visited (i.e. visit the next new position or leave the current tape segment).&lt;br /&gt;
&lt;br /&gt;
We can use memoize search in this process for acceleration, and regard the process of leaving a tape segment as a rule. Then the rule sequence (or rule dependency graph) may be generalized to new induction rules.&lt;br /&gt;
[[Category:Deciders]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Consistent_Collatz&amp;diff=4386</id>
		<title>Consistent Collatz</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Consistent_Collatz&amp;diff=4386"/>
		<updated>2025-10-07T23:21:13Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: 0_o&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A &#039;&#039;&#039;consistent Collatz&#039;&#039;&#039; sequence is a [[Collatz-like]] sequence of integers which can be defined by a recurrence relation of the following form:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;mx_{n+1} = rx_n + J[x_n\ {\operatorname{mod}}\ m]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the sequence itself is &amp;lt;math&amp;gt;x_0, x_1, \ldots&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; are positive integers&amp;lt;!-- does negative r work too?--&amp;gt;, and &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt; is a map from integers modulo &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; to (possibly negative) integers (with the values chosen to ensure that all &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; are integers). The sequence is entirely defined by &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;J&amp;lt;/math&amp;gt;, and the value of its first element &amp;lt;math&amp;gt;x_0&amp;lt;/math&amp;gt;. The recurrence relation is a special case of a Collatz function (e.g. as seen in [[wikipedia:Collatz conjecture#Undecidable generalizations]]) in which all the multipliers are the same (i.e. the same value of &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is used regardless of the value of &amp;lt;math&amp;gt;x_n\ {\operatorname{mod}}\ m&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
Many small [[cryptids]] work by calculating the elements of a consistent Collatz sequence modulo &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;, and deciding whether or not to halt based on the remainders. For example, [[Hydra]] calculates the consistent Collatz sequence with &amp;lt;math&amp;gt;m=2&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;r=3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;J=\{0 \mapsto 0, 1 \mapsto -1\}&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;x_0=3&amp;lt;/math&amp;gt;, halting only if the sequence has contained more than twice as many even elements as odd elements. &amp;lt;math&amp;gt;m=2, r=3&amp;lt;/math&amp;gt; seems to be particularly common among small cryptids, due to creating the simplest consistent Collatz sequences that have nontrivial behaviour; however, other values have been observed, such as [[Bigfoot]]&#039;s &amp;lt;math&amp;gt;m=81, r=256&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Efficiently calculating consistent Collatz sequences ==&lt;br /&gt;
&lt;br /&gt;
For any given Collatz sequence, it is possible to calculate its sequence of remainders &amp;lt;math&amp;gt;x_n\ {\operatorname{mod}}\ m&amp;lt;/math&amp;gt; in amortized [[wikipedia:quasilinear time|quasilinear time]]. This can be accomplished via the use of two helper sequences:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;w_n = x_n\ {\operatorname{mod}}\ m^{f(n)}&amp;lt;/math&amp;gt;, except &amp;lt;math&amp;gt;w_0 = x_0&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;j_n = m^{f(n)}x_n - r^{f(n)}x_{n-f(n)}&amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;j_0&amp;lt;/math&amp;gt; undefined (the algorithm never uses it)&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;f(n)&amp;lt;/math&amp;gt; is the largest power of 2 that divides into &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Time complexity ===&lt;br /&gt;
&lt;br /&gt;
The algorithm works by calculating &amp;lt;math&amp;gt;j_n&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;w_n&amp;lt;/math&amp;gt; for each &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; in turn, with the only operations used being additions, subtractions, and multiplications of numbers whose number of digits is proportional to &amp;lt;math&amp;gt;f(n)&amp;lt;/math&amp;gt;; division and modulo by powers of &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;; and calculation of &amp;lt;math&amp;gt;r^t&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;t \leq f(n)&amp;lt;/math&amp;gt;. Because the values of &amp;lt;math&amp;gt;r^t&amp;lt;/math&amp;gt; can be memoized, and it is possible to trivialise the division and modulus operations by storing the numbers in base &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;, this means that the only slow operations are additions and subtractions taking &amp;lt;math&amp;gt;O(f(n))&amp;lt;/math&amp;gt; time, and multiplications taking &amp;lt;math&amp;gt;O(f(n) \log f(n) \log \log f(n))&amp;lt;/math&amp;gt; time (and there are &amp;lt;math&amp;gt;O(\log f(n))&amp;lt;/math&amp;gt; such operations performed), so the calculation of each &amp;lt;math&amp;gt;w_n, j_n&amp;lt;/math&amp;gt; pair takes time quasilinear in &amp;lt;math&amp;gt;f(n)&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;\Sigma_{t=1}^n{f(t)}=O(n \log n)&amp;lt;/math&amp;gt;: as such, the calculation of the entire sequences &amp;lt;math&amp;gt;w_0, \ldots, w_n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;j_0, \ldots, j_n&amp;lt;/math&amp;gt; takes time quasilinear in &amp;lt;math&amp;gt;n \log n&amp;lt;/math&amp;gt;, thus quasilinear in &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Details of the algorithm ===&lt;br /&gt;
&lt;br /&gt;
The algorithm itself is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;j_n = m^{f(n)-1} J[w_{n-1}\ {\operatorname{mod}}\ m] + \Sigma_{e=1}^{\log_2 f(n)}\left(m^{f(n)-2^e}r^{2^{e-1}}j_{n-2^{e-1}}\right)&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;w&#039;_n = j_n + r^{f(n)} w_{n-f(n)} \mod m^{2f(n)}&amp;lt;/math&amp;gt; (i.e. all the calculations are done modulo &amp;lt;math&amp;gt;m^{2f(n)}&amp;lt;/math&amp;gt;, saving time in cases where &amp;lt;math&amp;gt;w_{n-f(n)}&amp;lt;/math&amp;gt; happens to be much larger than &amp;lt;math&amp;gt;m^{2f(n)}&amp;lt;/math&amp;gt;)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;w_n = w&#039;_n \div m^{f(n)}&amp;lt;/math&amp;gt; (which should always be an integer).&lt;br /&gt;
&lt;br /&gt;
(If &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is odd, then &amp;lt;math&amp;gt;f(n) = 1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\log_2 f(n) = 0&amp;lt;/math&amp;gt;, and the sum in the calculation of &amp;lt;math&amp;gt;j_n&amp;lt;/math&amp;gt; is a degenerate sum with no elements.)&lt;br /&gt;
&lt;br /&gt;
=== Sketch proof of correctness ===&lt;br /&gt;
&lt;br /&gt;
The proof that the algorithm is correct starts with the definition &amp;lt;math&amp;gt;j_n = m^{f(n)}x_n - r^{f(n)}x_{n-f(n)}&amp;lt;/math&amp;gt;, adds a degenerate sum (that sums to zero) to produce the following expression:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;j_n = m^{f(n)}x_n + \Sigma_{e=1}^{\log_2 f(n)}\left(-m^{f(n)-2^{e-1}}r^{2^{e-1}}x_{n-2^{e-1}}+m^{f(n)-2^{e-1}}r^{2^{e-1}}x_{n-2^{e-1}}\right) - r^{f(n)}x_{n-f(n)}&amp;lt;/math&amp;gt; (with each element of the sum being of the form &amp;lt;math&amp;gt;-q+q&amp;lt;/math&amp;gt; and thus 0)&lt;br /&gt;
&lt;br /&gt;
and then rebrackets by grouping the term before the sum with the first half of the first element of the sum, the second half of the first element of the sum with the first half of the second element of the sum, etc., and finally the second half of the last element of the sum with the term after the sum. From there, the proof is mostly just a matter of expanding definitions.&lt;br /&gt;
&lt;br /&gt;
=== Possible tricks to optimize the implementation ===&lt;br /&gt;
&lt;br /&gt;
Once the algorithm produces a value of &amp;lt;math&amp;gt;j_n&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;w_n&amp;lt;/math&amp;gt;, it happens that it will never again read a value &amp;lt;math&amp;gt;j_{n&#039;}&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;w_{n&#039;}&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;f(n)=f(n&#039;)&amp;lt;/math&amp;gt;. As such, it is possible to save memory by storing only one value of &amp;lt;math&amp;gt;j_n&amp;lt;/math&amp;gt; and one value of &amp;lt;math&amp;gt;w_n&amp;lt;/math&amp;gt; for each &amp;lt;math&amp;gt;f(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
It is probably faster to switch to an alternative implementation (e.g. simple repeated multiplication) when the &amp;lt;math&amp;gt;f(n)&amp;lt;/math&amp;gt; values are small, because at that point the numbers are small enough to fit into a machine register; this does not improve the asymptotic behaviour of the implementation but is likely to speed it up by a reasonably high constant factor.&lt;br /&gt;
&lt;br /&gt;
Every &amp;lt;math&amp;gt;w&#039;_n&amp;lt;/math&amp;gt; is necessarily a multiple of &amp;lt;math&amp;gt;m^{f(n)}&amp;lt;/math&amp;gt;. It seems like that might provide some sort of shortcut to calculate it faster, although the details are currently unclear.&lt;br /&gt;
&lt;br /&gt;
=== Proof-of-concept implementation ===&lt;br /&gt;
&lt;br /&gt;
Here&#039;s a proof-of-concept implementation, using Python 3 and gmpy2 (configured to calculate [[Hydra]], but it could easily be adapted for other consistent Collatz sequences with &amp;lt;math&amp;gt;m=2&amp;lt;/math&amp;gt;):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python3&amp;quot;&amp;gt;&lt;br /&gt;
import gmpy2&lt;br /&gt;
import time&lt;br /&gt;
&lt;br /&gt;
# The Rules of Hydra:&lt;br /&gt;
# if x_n = 2y + 0, then x_{n+1} = 3y + 0, i.e. 2x_{n+1} = 3x_n + 0&lt;br /&gt;
# if x_n = 2y + 1, then x_{n+1} = 3y + 1, i.e. 2x_{n+1} = 3x_n - 1&lt;br /&gt;
m = 2        # modulus; denominator of the ratio between successive elements&lt;br /&gt;
r = 3        # numerator of the ratio between successive elements&lt;br /&gt;
J = [0, -1]  # J[x_n % m] is the difference between m*x_{n+1} and r*x_n&lt;br /&gt;
x_0 = 3      # first term of the sequence&lt;br /&gt;
&lt;br /&gt;
def f(n):&lt;br /&gt;
    &amp;quot;&amp;quot;&amp;quot;The largest power of 2 that divides into the argument&amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
    return n &amp;amp; ~(n - 1)&lt;br /&gt;
&lt;br /&gt;
global mod_m_exp&lt;br /&gt;
if m == 2:&lt;br /&gt;
    mod_m_exp = lambda v,e: gmpy2.f_mod_2exp(v, e)&lt;br /&gt;
else:&lt;br /&gt;
    mod_m_exp = lambda v,e: gmpy2.f_mod(v, gmpy2.pow(m, e))&lt;br /&gt;
&lt;br /&gt;
global div_m_exp&lt;br /&gt;
if m == 2:&lt;br /&gt;
    div_m_exp = lambda v,e: gmpy2.f_div_2exp(v, e)&lt;br /&gt;
else:&lt;br /&gt;
    div_m_exp = lambda v,e: gmpy2.f_div(v, gmpy2.pow(m, e))&lt;br /&gt;
&lt;br /&gt;
global mul_m_exp&lt;br /&gt;
if m == 2:&lt;br /&gt;
    mul_m_exp = lambda v,e: gmpy2.mpz(v) &amp;lt;&amp;lt; e&lt;br /&gt;
else:&lt;br /&gt;
    mul_m_exp = lambda v,e: gmpy2.mul(v, gmpy2.pow(m, e))&lt;br /&gt;
&lt;br /&gt;
r_exp_cache = {1: gmpy2.mpz(r)}&lt;br /&gt;
def r_exp(e):&lt;br /&gt;
    &amp;quot;&amp;quot;&amp;quot;Returns r raised to the power of e. e must be a power of 2.&amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
    global r_exp_cache&lt;br /&gt;
    if not e in r_exp_cache:&lt;br /&gt;
        r_exp_cache[e] = gmpy2.square(r_exp(e/2))&lt;br /&gt;
    return r_exp_cache[e]&lt;br /&gt;
&lt;br /&gt;
# The bulk of the calculation is to calculate w_n and j_n for each n.&lt;br /&gt;
# The definitions are:&lt;br /&gt;
# w_n = x_n mod m**f(n)&lt;br /&gt;
# j_n = m**f(n) * x_n - r**f(n) * x_{n-f(n)}&lt;br /&gt;
# The output from the program is the sequence of x_n mod m.&lt;br /&gt;
# This can be calculated by taking the values of w_n mod m.&lt;br /&gt;
w = {0: x_0}  # most recently seen w for each f value&lt;br /&gt;
j = {}        # most recently seen j for each f value&lt;br /&gt;
&lt;br /&gt;
modulus_count = {0: 0, 1: 0}&lt;br /&gt;
&lt;br /&gt;
n = 0&lt;br /&gt;
perf_counter_timestamp = time.perf_counter_ns()&lt;br /&gt;
while True:&lt;br /&gt;
    last_f = f(n)&lt;br /&gt;
    last_x_mod_m = mod_m_exp(w[last_f], 1)&lt;br /&gt;
    # print(last_x_mod_m, end=&amp;quot;&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
    modulus_count[last_x_mod_m] += 1&lt;br /&gt;
    if n % 1000000 == 0:&lt;br /&gt;
        last_timestamp = perf_counter_timestamp&lt;br /&gt;
        perf_counter_timestamp = time.perf_counter_ns()&lt;br /&gt;
        print(&amp;quot;Reached n = &amp;quot;, n, &amp;quot;; modulus counts: &amp;quot;, modulus_count,&lt;br /&gt;
              &amp;quot;; time for last 1000000 elements = &amp;quot;,&lt;br /&gt;
              (perf_counter_timestamp - last_timestamp) // 1000000,&lt;br /&gt;
              &amp;quot; ms&amp;quot;, sep=&amp;quot;&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
    n = n + 1&lt;br /&gt;
    cur_f = f(n)&lt;br /&gt;
&lt;br /&gt;
    # j can be a sum of multiple terms; J[last_x_mod_m] is always present&lt;br /&gt;
    # but if f &amp;gt; 1 there are other terms too&lt;br /&gt;
    m_shift = cur_f - 1&lt;br /&gt;
    r_shift = 1&lt;br /&gt;
    new_j = mul_m_exp(J[last_x_mod_m], m_shift)&lt;br /&gt;
    while m_shift &amp;gt;= r_shift:&lt;br /&gt;
        m_shift -= r_shift&lt;br /&gt;
        new_j += mul_m_exp(j[r_shift] * r_exp(r_shift), m_shift)&lt;br /&gt;
        r_shift *= 2&lt;br /&gt;
    j[cur_f] = new_j&lt;br /&gt;
&lt;br /&gt;
    # w can be calculated directly from the new j and the appropriate past w&lt;br /&gt;
    wrap = lambda v: mod_m_exp(v, cur_f * 2)&lt;br /&gt;
    past_w = w[f(n - f(n))]&lt;br /&gt;
    new_w = wrap(wrap(new_j) + wrap(wrap(r_exp(cur_f)) * wrap(past_w)))&lt;br /&gt;
    assert(mod_m_exp(new_w, cur_f) == 0)&lt;br /&gt;
    new_w = div_m_exp(new_w, cur_f)&lt;br /&gt;
    w[cur_f] = new_w&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implementation is probably not suitable for serious use due to having poor constant factors: a faster implementation would use an alternative algorithm for low &amp;lt;math&amp;gt;f(n)&amp;lt;/math&amp;gt; values. It is also intened only for &amp;lt;math&amp;gt;m=2&amp;lt;/math&amp;gt;, because the complexity result is dependent on modulus by powers of &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; being fast regardless of the size of the dividend, but gmpy2 is only able to store numbers in binary and that operation is quick only if the modulus is a power of the base. As such, a full implementation of efficient consistent Collatz calculation would probably involve writing a new arbitrarily-large-integers library which is able to store numbers in arbitrary bases.&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Hydra_function&amp;diff=4385</id>
		<title>Hydra function</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Hydra_function&amp;diff=4385"/>
		<updated>2025-10-07T23:17:32Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: not done…&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category:Functions]]&lt;br /&gt;
[[File:Hydra Spiral.png|thumb|185px|A spiral-like figure that gives the first few terms of the Hydra sequences with initial values 2, 5, 8, 11, 14, and 17.]]&lt;br /&gt;
The &#039;&#039;&#039;Hydra function&#039;&#039;&#039; is a [[Collatz-like]] function defined as:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\textstyle H(n)\equiv n+\big\lfloor\frac{1}{2}n\big\rfloor=\Big\lfloor\frac{3}{2}n\Big\rfloor=\begin{cases}&lt;br /&gt;
\frac{3n}{2}&amp;amp;\text{if }n\equiv0\pmod{2},\\&lt;br /&gt;
\frac{3n-1}{2}&amp;amp;\text{if }n\equiv1\pmod{2}.\\&lt;br /&gt;
\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
It is named as such because of its connection to the unsolved halting problems for the [[Cryptids]] [[Hydra]] and [[Antihydra]]. Due to its simplicity, simulations for both of these [[Turing machines]] utilize this function instead of what can initially be proven.&lt;br /&gt;
== Relationship to Hydra and Antihydra problems==&lt;br /&gt;
Using the Hydra function, we can obtain simplified rules for Hydra and Antihydra:&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Hydra !! Antihydra&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|Let &amp;lt;math&amp;gt;C_H(a,b):=0^\infty\;\textrm{&amp;lt;}\textrm{A}\;2\;0^{3(a-2)}\;3^b\;2\;0^\infty&amp;lt;/math&amp;gt;:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|lll|}\hline&lt;br /&gt;
0^\infty\;\textrm{A}\textrm{&amp;gt;}\;0^\infty&amp;amp;\xrightarrow{20}&amp;amp;C_H(3,0),\\&lt;br /&gt;
C_H(2a,0)&amp;amp;\xrightarrow{54a^2-48a-2}&amp;amp;0^\infty\;3^{9a-8}\;1\;\textrm{A}\textrm{&amp;gt;}\;2\;0^\infty,\\&lt;br /&gt;
C_H(2a,b+1)&amp;amp;\xrightarrow{54a^2-39a-5}&amp;amp;C_H(3a,b),\\&lt;br /&gt;
C_H(2a+1,b)&amp;amp;\xrightarrow{4b+54a^2-3a+4}&amp;amp;C_H(3a+1,b+2).\\\hline&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
|Let &amp;lt;math&amp;gt;A_H(a,b):=0^\infty\;1^a\;0\;1^{b-4}\;\textrm{E}\textrm{&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|lll|}\hline&lt;br /&gt;
0^\infty\;\textrm{A}\textrm{&amp;gt;}\;0^\infty&amp;amp;\xrightarrow{11}&amp;amp;A_H(0,8),\\&lt;br /&gt;
A_H(a,2b)&amp;amp; \xrightarrow{2a+3b^2-1}&amp;amp; A_H(a+2,3b),\\&lt;br /&gt;
A_H(0,2b+1)&amp;amp;\xrightarrow{3b^2-3b-7}&amp;amp; 0^\infty\;\textrm{&amp;lt;}\textrm{F}\;110\;1^{3b-6}\;0^\infty,\\&lt;br /&gt;
A_H(a+1,2b+1)&amp;amp;\xrightarrow{3b^2-7}&amp;amp; A_H(a,3b+1).\\\hline&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot;&amp;gt;&#039;&#039;&#039;Proof&#039;&#039;&#039;&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
Recall the high-level rules for Hydra and Antihydra:&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Hydra !! Antihydra&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|Let &amp;lt;math&amp;gt;C(a,b):=0^\infty\;\textrm{&amp;lt;}\textrm{A}\;2\;0^a\;3^b\;2\;0^\infty&amp;lt;/math&amp;gt;:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|lll|}\hline&lt;br /&gt;
0^\infty\;\textrm{A}\textrm{&amp;gt;}\;0^\infty&amp;amp;\xrightarrow{20}&amp;amp;C(3,0),\\&lt;br /&gt;
C(2a,0)&amp;amp;\xrightarrow{6a^2+20a+4}&amp;amp;0^\infty\;3^{3a+1}\;1\;\textrm{A}\textrm{&amp;gt;}\;2\;0^\infty,\\&lt;br /&gt;
C(2a,b+1)&amp;amp;\xrightarrow{6a^2+23a+10}&amp;amp;C(3a+3,b),\\&lt;br /&gt;
C(2a+1,b)&amp;amp;\xrightarrow{4b+6a^2+23a+26}&amp;amp;C(3a+3,b+2).\\\hline&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
|Let &amp;lt;math&amp;gt;A(a,b):=0^\infty\;1^a\;0\;1^b\;\textrm{E}\textrm{&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|lll|}\hline&lt;br /&gt;
0^\infty\;\textrm{A}\textrm{&amp;gt;}\;0^\infty&amp;amp;\xrightarrow{11}&amp;amp;A(0,4),\\&lt;br /&gt;
A(a,2b)&amp;amp; \xrightarrow{2a+3b^2+12b+11}&amp;amp; A(a+2,3b+2),\\&lt;br /&gt;
A(0,2b+1)&amp;amp;\xrightarrow{3b^2+9b-1}&amp;amp; 0^\infty\;\textrm{&amp;lt;}\textrm{F}\;110\;1^{3b}\;0^\infty,\\&lt;br /&gt;
A(a+1,2b+1)&amp;amp;\xrightarrow{3b^2+12b+5}&amp;amp; A(a,3b+3).\\\hline&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
Already, both machines appear to be very similar. They have one parameter that increases exponentially with growth factor &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{3}{2}&amp;lt;/math&amp;gt; and another that takes a pseudo-random walk. Below, the exponentially increasing variables are described by integer sequences:&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Hydra !! Antihydra&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;a_0=3,a_{n+1}=\begin{cases}\frac{3a_n+6}{2}&amp;amp;\text{if }a_n\equiv0\pmod{2}\\\frac{3a_n+3}{2}&amp;amp;\text{if }a_n\equiv1\pmod{2}\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
|&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;a_0=4,a_{n+1}=\begin{cases}\frac{3a_n+4}{2}&amp;amp;\text{if }a_n\equiv0\pmod{2}\\\frac{3a_n+3}{2}&amp;amp;\text{if }a_n\equiv1\pmod{2}\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
This will make demonstrating the transformation easier. Now we will define a new integer sequence based on the old one and discover the recursive rules for that sequence. This new sequence is &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_n=\frac{1}{3}a_n+2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b_n=a_n+4&amp;lt;/math&amp;gt; for Hydra and Antihydra respectively. We start by using &amp;lt;math&amp;gt;b_{n+1}&amp;lt;/math&amp;gt; instead and substituting &amp;lt;math&amp;gt;a_{n+1}&amp;lt;/math&amp;gt; for its recursive formula. By doing so, we get:&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Hydra !! Antihydra&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;b_0=3,b_{n+1}=\begin{cases}\frac{a_n+6}{2}&amp;amp;\text{if }a_n\equiv0\pmod{2}\\\frac{a_n+5}{2}&amp;amp;\text{if }a_n\equiv1\pmod{2}\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
|&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;b_0=8,b_{n+1}=\begin{cases}\frac{3a_n+12}{2}&amp;amp;\text{if }a_n\equiv0\pmod{2}\\\frac{3a_n+11}{2}&amp;amp;\text{if }a_n\equiv1\pmod{2}\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
After that, we can substitute &amp;lt;math&amp;gt;a_n&amp;lt;/math&amp;gt; for its solution in terms of &amp;lt;math&amp;gt;b_n&amp;lt;/math&amp;gt;. What results is the following:&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Hydra !! Antihydra&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;b_0=3,b_{n+1}=\begin{cases}\frac{3(b_n-2)+6}{2}&amp;amp;\text{if }3(b_n-2)\equiv0\pmod{2}\\\frac{3(b_n-2)+5}{2}&amp;amp;\text{if }3(b_n-2)\equiv1\pmod{2}\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
|&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;b_0=8,b_{n+1}=\begin{cases}\frac{3(b_n-4)+12}{2}&amp;amp;\text{if }b_n-4\equiv0\pmod{2}\\\frac{3(b_n-4)+11}{2}&amp;amp;\text{if }b_n-4\equiv1\pmod{2}\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
The &amp;lt;math&amp;gt;\text{if}&amp;lt;/math&amp;gt; statements amount to checking if &amp;lt;math&amp;gt;b_n&amp;lt;/math&amp;gt; is even or odd. After simplifying, we are done:&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Hydra !! Antihydra&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;b_0=3,b_{n+1}=\begin{cases}\frac{3b_n}{2}&amp;amp;\text{if }b_n\equiv0\pmod{2}\\\frac{3b_n-1}{2}&amp;amp;\text{if }b_n\equiv1\pmod{2}\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
|&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;b_0=8,b_{n+1}=\begin{cases}\frac{3b_n}{2}&amp;amp;\text{if }b_n\equiv0\pmod{2}\\\frac{3b_n-1}{2}&amp;amp;\text{if }b_n\equiv1\pmod{2}\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
Now that we have demonstrated a strong similarity in the behaviour of both Turing machines, we can return to using the high-level rules. Doing that while considering the step counts yields the final result.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
Under these rules, the halting problem for Hydra is about whether repeatedly applying the function &amp;lt;math&amp;gt;H(n)&amp;lt;/math&amp;gt;, starting with &amp;lt;math&amp;gt;n=3&amp;lt;/math&amp;gt;, will eventually generate more even terms than twice the number of odd terms. Similarly, Antihydra halts if and only if repeatedly applying &amp;lt;math&amp;gt;H(n)&amp;lt;/math&amp;gt;, starting with &amp;lt;math&amp;gt;n=8&amp;lt;/math&amp;gt;, will eventually generate more odd terms than twice the number of even terms.&lt;br /&gt;
&lt;br /&gt;
=== Coding the Hydra and Antihydra problems using the Hydra function ===&lt;br /&gt;
Paired with the corresponding even/odd criterion as loop halting condition (implemented as a counter variable) and initial Hydra function value, the Hydra function definition can be used to write computer programs that simulate the abstracted behavior of the Hydra and Antihydra Turing machines. The following Python program is a Hydra simulator:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
# &#039;a&#039; and &#039;b&#039; fulfill the same purpose as in the Hydra rules:&lt;br /&gt;
# The current hydra function value&lt;br /&gt;
a = 3&lt;br /&gt;
# The even/odd condition counter&lt;br /&gt;
b = 0&lt;br /&gt;
# As long as Hydra has not halted, &#039;b&#039; remains greater than -1.&lt;br /&gt;
while b != -1:&lt;br /&gt;
    # If &#039;a&#039; is even, decrement &#039;b&#039;, otherwise increase &#039;b&#039; by 2.&lt;br /&gt;
    if a % 2 == 0:&lt;br /&gt;
        b -= 1&lt;br /&gt;
    else:&lt;br /&gt;
        b += 2&lt;br /&gt;
    # This performs one step of the Hydra function H(a) = a + floor(a/2).&lt;br /&gt;
    # Note that integer division by 2 is equivalent to one bit shift to the right (a &amp;gt;&amp;gt; 1)&lt;br /&gt;
    a += a//2&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Replacing &amp;lt;code&amp;gt;a = 3&amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;a = 8&amp;lt;/code&amp;gt; and swapping &amp;lt;code&amp;gt;b -= 1&amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;b += 2&amp;lt;/code&amp;gt; turns this program into an Antihydra simulator.&lt;br /&gt;
&lt;br /&gt;
Determining whether these programs halt or not (and if so, after how many loop iterations) would resolve these open problems.&lt;br /&gt;
==Properties==&lt;br /&gt;
The Hydra function can be rewritten as follows:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{l}&lt;br /&gt;
H(2n)&amp;amp;=&amp;amp;3n,\\&lt;br /&gt;
H(2n+1)&amp;amp;=&amp;amp;3n+1.\\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
Now assume that for some positive integer &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; and every odd integer &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;H^s(2^st)=3^st&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;H^s(2^st+1)=3^st+1&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;H^i(n)&amp;lt;/math&amp;gt; is function iteration. Notice that we can write &amp;lt;math&amp;gt;2^{s+1}t=2\cdot2^st&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;2^{s+1}t+1=2\cdot2^st+1&amp;lt;/math&amp;gt;, so if we apply &amp;lt;math&amp;gt;H&amp;lt;/math&amp;gt; to these numbers, we get &amp;lt;math&amp;gt;H(2\cdot2^st)=3\cdot 2^st&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;H(2\cdot2^st+1)=3\cdot2^st+1&amp;lt;/math&amp;gt;. Now, if we apply &amp;lt;math&amp;gt;H&amp;lt;/math&amp;gt; to these numbers &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; times, we get &amp;lt;math&amp;gt;H^{s+1}\big(2^{s+1}t\big)=H^s(2^s\cdot3t)=3^{s+1}t&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;H^{s+1}\big(2^{s+1}t+1\big)=H^s(2^s\cdot3t+1)=3^{s+1}t+1&amp;lt;/math&amp;gt;. Therefore, by mathematical induction we have proved the following formulas:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{l}&lt;br /&gt;
H^s(2^st)&amp;amp;=&amp;amp;3^st,\\&lt;br /&gt;
H^s(2^st+1)&amp;amp;=&amp;amp;3^st+1.\\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
This optimization can be directly applied to the high-level rules for Hydra and Antihydra, producing this result:&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Hydra !! Antihydra&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|Let &amp;lt;math&amp;gt;C_H(a,b):=0^\infty\;\textrm{&amp;lt;}\textrm{A}\;2\;0^{3(a-2)}\;3^b\;2\;0^\infty&amp;lt;/math&amp;gt;:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|lll|}\hline&lt;br /&gt;
C_H(2^st,b+s)&amp;amp;\xrightarrow{f_1(s,t)}&amp;amp;C_H(3^st,b),\\&lt;br /&gt;
C_H(2^st+1,b)&amp;amp;\xrightarrow{f_2(s,t,b)}&amp;amp;C_H(3^st+1,b+2s),\\\hline&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f_1(s,t)=\frac{3t(3^s-2^s)(18(3^s+2^s)t-65)}{5}-5s&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f_2(s,t,b)=(b+s)4s+\frac{3t(3^s-2^s)(18(3^s+2^s)t-5)}{5}&amp;lt;/math&amp;gt;.&lt;br /&gt;
|Let &amp;lt;math&amp;gt;A_H(a,b):=0^\infty\;1^a\;0\;1^{b-4}\;\textrm{E}\textrm{&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|lll|}\hline&lt;br /&gt;
A_H(a,2^st)&amp;amp; \xrightarrow{f_3(s,t,a)}&amp;amp; A_H(a+2s,3^st),\\&lt;br /&gt;
A_H(a+s,2^st+1)&amp;amp;\xrightarrow{f_4(s,t)}&amp;amp; A_H(a,3^st+1),\\\hline&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f_3(s,t,a)=(2a-3+2s)s+\frac{3t^2(9^s-4^s)}{5}&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f_4(s,t)=\frac{3t^2(9^s-4^s)}{5}-7s&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
== Visualizations ==&lt;br /&gt;
The four images below depict the first 1000 values of four Hydra sequences with different initial values. Each row of pixels shows a number in binary on the right and its parity on the left (blue for even, red for odd):&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; heights=&amp;quot;250&amp;quot;&amp;gt;&lt;br /&gt;
File:HydraFunction-StartingValue2.png|Starting value 2. There are 492 even numbers and 508 odd numbers.&lt;br /&gt;
File:HydraFunction-StartingValue5.png|Starting value 5. There are 497 even numbers and 503 odd numbers.&lt;br /&gt;
File:Antihydra increasing value.png|Starting value 8. There are 499 even numbers and 501 odd numbers.&lt;br /&gt;
File:HydraFunction-StartingValue11.png|Starting value 11. There are 481 even numbers and 519 odd numbers.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Piecewise_Affine_Function&amp;diff=4384</id>
		<title>Piecewise Affine Function</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Piecewise_Affine_Function&amp;diff=4384"/>
		<updated>2025-10-07T23:12:26Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: section swap&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;blockquote&amp;gt;Note: This article is currently in flux as we investigate previous literature on the topic shared by @savask: https://discord.com/channels/960643023006490684/1239205785913790465/1422997913558323392&amp;lt;/blockquote&amp;gt;&#039;&#039;&#039;Linear-Inequality Affine Transformation Automata (LIATA)&#039;&#039;&#039; are a model for computation based upon applying affine transformations to vectors based on cases defined by linear inequalities. They are a generalization of the rules for [[BMO1]] and were proven to be Turing complete.&lt;br /&gt;
&lt;br /&gt;
== Formal Definition ==&lt;br /&gt;
A &#039;&#039;n&#039;&#039;-dimension, &#039;&#039;k&#039;&#039;-case LIATA is a piecewise defined partial function &amp;lt;math&amp;gt;f: \Z^n \to \Z^n&amp;lt;/math&amp;gt;:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;f(\vec{x}) = \begin{cases}&lt;br /&gt;
  f_0(\vec{x}) &amp;amp; \text{if } C_0(\vec{x}) \\&lt;br /&gt;
  f_1(\vec{x}) &amp;amp; \text{if } C_1(\vec{x}) \\&lt;br /&gt;
  &amp;amp; \vdots \\&lt;br /&gt;
  f_{k-1}(\vec{x}) &amp;amp; \text{if } C_{k-1}(\vec{x}) \\&lt;br /&gt;
\end{cases}&amp;lt;/math&amp;gt;Where each &amp;lt;math&amp;gt;f_i: \Z^n \to \Z^n&amp;lt;/math&amp;gt; is an affine function and each &amp;lt;math&amp;gt;C_i: \Z^n \to \{T,F\}&amp;lt;/math&amp;gt; is a &amp;quot;linear inequality condition&amp;quot; (defined below) such that for all &amp;lt;math&amp;gt;\vec{x}&amp;lt;/math&amp;gt; at most one condition &amp;lt;math&amp;gt;C_i(\vec{x})&amp;lt;/math&amp;gt; applies. If none of the conditions apply to &amp;lt;math&amp;gt;\vec{x}&amp;lt;/math&amp;gt;, we say that it halts on that configuration.&lt;br /&gt;
&lt;br /&gt;
Let a &#039;&#039;&#039;linear inequality term&#039;&#039;&#039; be any equation of the form &amp;lt;math&amp;gt;g(\vec{x}) \sim c&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;g: \Z^n \to \Z&amp;lt;/math&amp;gt; is a linear function and ~ is replaced by any (in)equality relation (=,&amp;lt;,≤,&amp;gt;,≥). Then let a &#039;&#039;&#039;linear inequality condition&#039;&#039;&#039; be any combination of linear inequality terms using logical AND, OR and NOT operations.&lt;br /&gt;
&lt;br /&gt;
So, for example, the following are all linear inequality conditions:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;a&amp;lt;b&amp;lt;/math&amp;gt; represented formally as &amp;lt;math&amp;gt;a-b &amp;lt; 0&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;3a \le b &amp;lt; 4a&amp;lt;/math&amp;gt; represented formally as &amp;lt;math&amp;gt;(b-3a \ge 0) \and (4a-b &amp;gt; 0)&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a = 2&amp;lt;/math&amp;gt; (note that we allow equalities as well)&lt;br /&gt;
&lt;br /&gt;
Given a LIATA &#039;&#039;f&#039;&#039;, we say that it halts in &#039;&#039;k&#039;&#039; steps starting from configuration &amp;lt;math&amp;gt;\vec{x}&amp;lt;/math&amp;gt; iff &amp;lt;math&amp;gt;f^k(\vec{x})&amp;lt;/math&amp;gt; is undefined.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
An example of a LIATA are the rules for BMO1:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;f(a,b) = \begin{cases}&lt;br /&gt;
  (a-b, 4b+2) &amp;amp; \text{if } a &amp;gt; b \\&lt;br /&gt;
  (2a+1, b-a) &amp;amp; \text{if } a &amp;lt; b &lt;br /&gt;
\end{cases}&amp;lt;/math&amp;gt;where &amp;lt;math&amp;gt;f(n,n)&amp;lt;/math&amp;gt; is undefined. BMO1 halts iff there exists k such that &amp;lt;math&amp;gt;f^k(1,2)&amp;lt;/math&amp;gt; is undefined (in other words &amp;lt;math&amp;gt;f^{k-1}(1,2) = (n,n)&amp;lt;/math&amp;gt; for some n).&lt;br /&gt;
&lt;br /&gt;
This is a 2-dimension, 2-case LIATA. The 2 dimensions are the parameters &#039;&#039;a,b&#039;&#039; and the two cases are the &amp;lt;math&amp;gt;a&amp;lt;b&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;a&amp;gt;b&amp;lt;/math&amp;gt; rows. For each case the parameters are transformed via an affine transformation.&lt;br /&gt;
&lt;br /&gt;
== Turing Complete ==&lt;br /&gt;
LIATA are Turing complete. This has been proven by implementing Minsky machines as LIATA:&lt;br /&gt;
* @Bard&#039;s proved that 3-dim LIATA are Turing complete: [https://discord.com/channels/960643023006490684/1239205785913790465/1420457986564030641 Discord link]&lt;br /&gt;
* @star&#039;s proved that 2-dim LIATA are Turing complete: [https://discord.com/channels/960643023006490684/1239205785913790465/1421271424588451915 Discord link]&lt;br /&gt;
* In progress: Shawn Ligocki is working on a proof that 2-case LIATA are Turing complete: [https://discord.com/channels/960643023006490684/1239205785913790465/1422772752980639866 Discord link]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=1RB0RA_1LC1LF_1RD0LB_1RA1LE_1RZ0LC_1RG1LD_0RG0RF&amp;diff=4383</id>
		<title>1RB0RA 1LC1LF 1RD0LB 1RA1LE 1RZ0LC 1RG1LD 0RG0RF</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=1RB0RA_1LC1LF_1RD0LB_1RA1LE_1RZ0LC_1RG1LD_0RG0RF&amp;diff=4383"/>
		<updated>2025-10-07T23:11:06Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: (&amp;#039;◡&amp;#039;)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{machine|1RB0RA_1LC1LF_1RD0LB_1RA1LE_1RZ0LC_1RG1LD_0RG0RF}}&lt;br /&gt;
{{TM|1RB0RA_1LC1LF_1RD0LB_1RA1LE_1RZ0LC_1RG1LD_0RG0RF|halt}} is the current [[BB(7)]] [[champion]], running for over &amp;lt;math&amp;gt;2 \uparrow^{11} 2 \uparrow^{11} 3&amp;lt;/math&amp;gt; steps before it halts. It was discovered by Pavel Kropitz on 10 May 2025 ([https://discord.com/channels/960643023006490684/1369339127652159509/1370678203395604562 Discord link]) and analyzed by Shawn Ligocki (here) on 13 May 2025.&lt;br /&gt;
&lt;br /&gt;
== Analysis by Shawn Ligocki ==&lt;br /&gt;
Consider general configurations matching the regex:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;0^\infty \; 11 \; (1 \; (01)^*)^* \; 0011100 \; \textrm{A}\textrm{&amp;gt;} \; 0^\infty&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Low level rules ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
              01 1 01^n 0011100 A&amp;gt; 00   --&amp;gt;                 1 01^n+2 0011100 A&amp;gt;&lt;br /&gt;
           01^3 11 01^n 0011100 A&amp;gt; 0^6  --&amp;gt;            1 01^n+5 1 01 0011100 A&amp;gt;&lt;br /&gt;
01^3 (1 01)^k+1 11 01^n 0011100 A&amp;gt; 0^6  --&amp;gt;  1 01^n+6 (1 01)^k 11 01 0011100 A&amp;gt;&lt;br /&gt;
 011 (1 01)^k   11 01^n 0011100 A&amp;gt; 0^2  --&amp;gt;  1 Z&amp;gt; 111 01^n+1 00 101^k+2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mid level rules ===&lt;br /&gt;
Let&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
B(a; b, c, ..., z) = 0^\infty \; 111 \; (01)^{3z+1} \; 1 \; \cdots \; 1 (01)^{3c+1} \; 1 \; (01)^{3b+1} \; 1 \; (01)^0 \; 1 \; (01)^{3a+1} \; 0011100 \; \textrm{A}\textrm{&amp;gt;} \; 0^\infty&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and let &amp;lt;code&amp;gt;B(a; [x]*k, y, ...)&amp;lt;/code&amp;gt; = &amp;lt;math&amp;gt;B(a; \underbrace{x, \cdots, x}_k, y, ...)&amp;lt;/math&amp;gt; (In other words, &amp;lt;code&amp;gt;[x]*k&amp;lt;/code&amp;gt; represents k repeats of the value x in a config).&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
B(a; b+1, ...) -&amp;gt; B(2a+4; b, ...)&lt;br /&gt;
B(a; [0]*k, 0, n+1, ...) -&amp;gt; B(0; [0]*k, a+2, n, ...)&lt;br /&gt;
B(a; [0]*k) -&amp;gt; Halt(3a + 2k + 9)&lt;br /&gt;
&lt;br /&gt;
Start at step 8178: B(2, [1]*12)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== High level rule ===&lt;br /&gt;
Let&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{l}&lt;br /&gt;
g_0(x)     &amp;amp; = &amp;amp; 2x + 4 \\&lt;br /&gt;
g_{k+1}(x) &amp;amp; = &amp;amp; g_k^{x+2}(0) \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
B(a; \underbrace{0, \cdots, 0}_k, n, ...) \to B(g_k^n(a); \underbrace{0, \cdots, 0}_k, 0, ...)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Bound ===&lt;br /&gt;
Let&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{l}&lt;br /&gt;
a_0 &amp;amp; = &amp;amp; 2 \\&lt;br /&gt;
a_{k+1} &amp;amp; = &amp;amp; g_k(a_k) \\&lt;br /&gt;
\end{array}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
B(a_0; \underbrace{1, \cdots, 1}_k)&lt;br /&gt;
    \to B(a_k, \underbrace{0, \cdots, 0}_k)&lt;br /&gt;
    \to \text{Halt}(3 a_k + 2 k + 9)&lt;br /&gt;
&amp;lt;/math&amp;gt;and&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\text{Start} \to B(a_0; \underbrace{1, \cdots, 1}_{12})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and so this TM halts with a sigma score of &amp;lt;math&amp;gt; \sigma = 3 a_{12} + 33 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that &amp;lt;math&amp;gt;g_k(x) = (2 \uparrow^k (x+4)) - 4&amp;lt;/math&amp;gt; and so for &amp;lt;math&amp;gt;k \ge 2&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;a_{k+1}+4&amp;gt;2\uparrow^k 2 \uparrow^k 3&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and so this TM halts with sigma score &amp;lt;math&amp;gt;\sigma &amp;gt; 2 \uparrow^{11} 2 \uparrow^{11} 3&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This bound is pretty tight: &amp;lt;math&amp;gt;\sigma &amp;lt; 2 \uparrow^{11} 2 \uparrow^{11} 4 = 2 \uparrow^{12} 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
[[Category:BB(7)]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Shift_rule&amp;diff=4382</id>
		<title>Shift rule</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Shift_rule&amp;diff=4382"/>
		<updated>2025-10-07T23:07:34Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: ╎|&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A &#039;&#039;&#039;shift rule&#039;&#039;&#039; (also called a &#039;&#039;&#039;chain rule&#039;&#039;&#039;) is a finite sequence of transitions which may be repeated an arbitrary number of times to &amp;quot;jump&amp;quot; over an entire repeated block of symbols on a compressed tape.&lt;br /&gt;
&lt;br /&gt;
A simple canonical example is that if we have a [[Turing machine]] with the transition &amp;lt;math&amp;gt;(\textrm{S}, 1) \to (0, R, \textrm{S})&amp;lt;/math&amp;gt; then using [[directed head notation]]:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
  \vphantom{\int}\textrm{S}\textrm{&amp;gt;}\;1^n \xrightarrow{n} 0^n\;\textrm{S}\textrm{&amp;gt;}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
In other words, if the machine is in state &amp;lt;math&amp;gt;\textrm{S}&amp;lt;/math&amp;gt; and the head is reading the leftmost of a sequence of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; ones, then &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; steps later it will have moved to the right of this entire sequence of ones, converting them all to zeros.&lt;br /&gt;
&lt;br /&gt;
To give a precise definition, suppose that there are words &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;r&#039;&amp;lt;/math&amp;gt; in the alphabet of the Turing machine in question,&lt;br /&gt;
and assume that for some state &amp;lt;math&amp;gt;\textrm{S}&amp;lt;/math&amp;gt; the machine transitions from &amp;lt;math&amp;gt;t \; \textrm{S}\textrm{&amp;gt;} \; r&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;r&#039; t \; \textrm{S}\textrm{&amp;gt;}&amp;lt;/math&amp;gt;. Then we have a &#039;&#039;right&#039;&#039; shift rule&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
  \displaystyle\vphantom{\int} t \; \textrm{S}\textrm{&amp;gt;} \; r \to r&#039;\;t\;\textrm{S}\textrm{&amp;gt;}.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
Similarly, if the machine transitions from &amp;lt;math&amp;gt; r \; \textrm{&amp;lt;}\textrm{S} \; t&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;\textrm{&amp;lt;}\textrm{S} \; t r&#039;&amp;lt;/math&amp;gt;, then we have a &#039;&#039;left&#039;&#039; shift rule&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
  \vphantom{\int}r\;\textrm{&amp;lt;}\textrm{S}\;t\to\textrm{&amp;lt;}\textrm{S}\;t\;r&#039;.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== General Shift Rules ==&lt;br /&gt;
Shift rules can jump over larger blocks. For example [[Skelet 1|Skelet #1]] ({{TM|1RB1RD_1LC0RC_1RA1LD_0RE0LB_---1RC}}) exhibits the following transitions:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
  \displaystyle\vphantom{\int} 011 \; \textrm{&amp;lt;}\textrm{C} &amp;amp; \xrightarrow{3} &amp;amp; \textrm{&amp;lt;}\textrm{C} \; 101 \\&lt;br /&gt;
  \textrm{A}\textrm{&amp;gt;} \; 110 110 &amp;amp; \xrightarrow{10} &amp;amp; 011 011 \;\textrm{A}\textrm{&amp;gt;}&lt;br /&gt;
\end{array}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
Each of these can be repeated an arbitrary number of times, producing the general shift rules:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\begin{array}{rcl}&lt;br /&gt;
  \displaystyle\vphantom{\int}011^n \; \textrm{&amp;lt;}\textrm{C}       &amp;amp; \xrightarrow{3n} &amp;amp; \textrm{&amp;lt;}\textrm{C} \; 101^n \\&lt;br /&gt;
  \textrm{A}\textrm{&amp;gt;} \; {110 110}^n &amp;amp; \xrightarrow{10n} &amp;amp; {011 011}^n \;\textrm{A}\textrm{&amp;gt;} \\&lt;br /&gt;
\end{array}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
Shift rules can also depend upon additional &amp;quot;local context&amp;quot;. For example, Skelet #1 also exhibits this transition:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
  \vphantom{\int} 01 \; \textrm{&amp;lt;}\textrm{C} \; 1 \xrightarrow{6} \textrm{&amp;lt;}\textrm{C} \; 1 \; 01&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
and since the resulting config has the same &amp;quot;context&amp;quot; (a 1 to the right of the head), this can be repeated as well to produce the shift rule:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
\vphantom{\int} 01^n \; \textrm{&amp;lt;}\textrm{C} \; 1 \xrightarrow{6n} \textrm{&amp;lt;}\textrm{C} \; 1 \; 01^n.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Inductive Rules ==&lt;br /&gt;
Shift rules can be seen as the simplest example of [[Inductive Proof System|inductive rules]]. Specifically, they are Level 0 Inductive rules which only use the inductive hypothesis once: Tape rewrite rules that can be proven using induction, where each step in the proof is either a basic Turing machine transition or an inductive application of the rule being proven that does not use any other previously proven rules).&lt;br /&gt;
&lt;br /&gt;
== Simulation Acceleration ==&lt;br /&gt;
One of the main uses of shift rules is to [[Accelerated Simulator|accelerate the simulation]] of Turing machines. For example, consider the simple [[bouncer]] {{TM|1RB1LA_1LA1RB}} using the shift rules:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{rcl}&lt;br /&gt;
  \displaystyle\vphantom{\int}1^n \; \textrm{&amp;lt;}\textrm{A} &amp;amp; \xrightarrow{n} &amp;amp; \textrm{&amp;lt;}\textrm{A} \; 1^n \\&lt;br /&gt;
  \textrm{B}\textrm{&amp;gt;} \; 1^n &amp;amp; \xrightarrow{n} &amp;amp; 1^n \; \textrm{B}\textrm{&amp;gt;} \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can accelerate the simulation like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{ll}&lt;br /&gt;
  \text{Start}{:}&amp;amp;0^\infty \; \textrm{&amp;lt;}\textrm{A} \; 0^\infty \\&lt;br /&gt;
  \text{Step 1}{:}&amp;amp;0^\infty \; 1 \; \textrm{B}\textrm{&amp;gt;} \; 0^\infty \\&lt;br /&gt;
  \text{Step 2}{:}&amp;amp;0^\infty \; 1 \; \textrm{&amp;lt;}\textrm{A} \; 1 \; 0^\infty \\&lt;br /&gt;
  \text{Step 3}{:}&amp;amp;0^\infty \; \textrm{&amp;lt;}\textrm{A} \; 1^2 \; 0^\infty \\&lt;br /&gt;
  \qquad\qquad\qquad\vdots \\&lt;br /&gt;
  \text{Step }2n^2+n{:}&amp;amp;0^\infty \; \textrm{&amp;lt;}\textrm{A} \; 1^{2n} \; 0^\infty \\&lt;br /&gt;
  \text{Step }2n^2+n+1{:}&amp;amp;0^\infty \; 1 \; \textrm{B}\textrm{&amp;gt;} \; 1^{2n} \; 0^\infty \\&lt;br /&gt;
  \text{Step }2n^2+3n+1{:}&amp;amp;0^\infty \; 1^{2n+1} \; \textrm{B}\textrm{&amp;gt;} \; 0^\infty \\&lt;br /&gt;
  \text{Step }2n^2+3n+2{:}&amp;amp;0^\infty \; 1^{2n+1} \; \textrm{&amp;lt;}\textrm{A} \; 1 \; 0^\infty \\&lt;br /&gt;
  \text{Step }2n^2+5n+3{:}&amp;amp;0^\infty \; \textrm{&amp;lt;}\textrm{A} \; 1^{2n+2} \; 0^\infty \\&lt;br /&gt;
  \qquad\qquad\qquad\vdots \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
In this case, they allow one to use &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; simulator steps to simulate &amp;lt;math&amp;gt;O(n^2)&amp;lt;/math&amp;gt; base steps, which is the best-case speedup using only shift rules. More general [[Inductive Proof System|inductive rules]] that can further accelerate a Turing machine&#039;s simulation may build on top of shift rules.&lt;br /&gt;
&lt;br /&gt;
== Moving across an infinite line of 0s ==&lt;br /&gt;
Any Turing machine that has at least one of the two following types of shift rules:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;&lt;br /&gt;
  \displaystyle\vphantom{\int}t\;\textrm{S}\textrm{&amp;gt;} \; 0^n \to r&#039;\;t\;\textrm{S}\textrm{&amp;gt;}\qquad\text{or}\qquad \displaystyle\vphantom{\int}0^n\;\textrm{&amp;lt;}\textrm{S}\;t\to \textrm{&amp;lt;}\textrm{S}\;t\;r&#039;,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
and which eventually reaches the configuration &amp;lt;math&amp;gt;t\;\textrm{S}\textrm{&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt; (for the first rule) or &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;}\textrm{S}\;t&amp;lt;/math&amp;gt; (for the second rule) is non-halting, becoming a [[translated cycler]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Analysis Techniques]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Collatz-like&amp;diff=4381</id>
		<title>Collatz-like</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Collatz-like&amp;diff=4381"/>
		<updated>2025-10-07T23:00:36Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: :D&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A &#039;&#039;&#039;Collatz-like function&#039;&#039;&#039; is a partial function defined piecewise depending on the remainder of an input modulo some number. The canonical example is the original Collatz function:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{l}&lt;br /&gt;
  c(2k)   &amp;amp; = &amp;amp;  k \\&lt;br /&gt;
  c(2k+1) &amp;amp; = &amp;amp; 3k+2 \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;Collatz-like problem&#039;&#039;&#039; is a question about the behavior of iterating a Collatz-like function. Collatz-like problems are famously difficult.&lt;br /&gt;
&lt;br /&gt;
Many [[Busy Beaver Champions]] have &#039;&#039;&#039;Collatz-like behavior&#039;&#039;&#039;, meaning that their behavior can be concisely described via the iterated values of a Collatz-like function.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
=== 5-state busy beaver winner ===&lt;br /&gt;
Consider the [[5-state busy beaver winner]] and the generalized configuration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;M(n) = 0^\infty \; \textrm{&amp;lt;}\text{A} \; 1^n \; 0^\infty&amp;lt;/math&amp;gt;Pascal Michel showed that:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{lcl}&lt;br /&gt;
  0^\infty \; \textrm{&amp;lt;}\textrm{A} \; 0^\infty &amp;amp; = &amp;amp; M(0) \\&lt;br /&gt;
  M(3k)   &amp;amp; \xrightarrow{5k^2+19k+15} &amp;amp; M(5k+6) \\&lt;br /&gt;
  M(3k+1) &amp;amp; \xrightarrow{5k^2+25k+27} &amp;amp; M(5k+9) \\&lt;br /&gt;
  M(3k+2) &amp;amp; \xrightarrow{6k+12} &amp;amp; 0^\infty\;1\;\textrm{Z}\textrm{&amp;gt;}\;01\;{(001)}^{k+1}\;1\;0^\infty  \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Starting on a blank tape &amp;lt;math&amp;gt;M(0)&amp;lt;/math&amp;gt;, these rules iterate 15 times before reaching the halt config.&amp;lt;ref&amp;gt;[https://bbchallenge.org/~pascal.michel/beh#tm52a Pascal Michel&#039;s Analysis of the BB(5, 2) Champion]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Hydra ===&lt;br /&gt;
Consider [[Hydra]] and the generalized configuration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;C(a, b) = 0^\infty\;\textrm{&amp;lt;}\textrm{A}\;2\;0^{3(a-2)} \; 3^b \; 2 \; 0^\infty&amp;lt;/math&amp;gt;&lt;br /&gt;
Daniel Yuan showed that:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{l}&lt;br /&gt;
  \\&lt;br /&gt;
  0^\infty \; \textrm{A}\textrm{&amp;gt;} \; 0^\infty &amp;amp; &amp;amp; \xrightarrow{20} &amp;amp; C(3, 0) \\&lt;br /&gt;
  C(2n,   &amp;amp; 0)   &amp;amp; \to &amp;amp; \text{Halt}(9n-6) \\&lt;br /&gt;
  C(2n,   &amp;amp; b+1) &amp;amp; \to &amp;amp; C(3n,b) \\&lt;br /&gt;
  C(2n+1, &amp;amp; b)   &amp;amp; \to &amp;amp; C(3n+1,b+2) \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;\text{Halt}(n)&amp;lt;/math&amp;gt; is a halting configuration with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; non-zero symbols on the tape.&lt;br /&gt;
&lt;br /&gt;
Starting from &amp;lt;math&amp;gt;C(3, 0)&amp;lt;/math&amp;gt;, this simulates a pseudo-random walk along the &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; parameter, increasing it by 2 every time &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; is odd, decreasing by 1 every time it&#039;s even. Deciding whether or not Hydra halts requires determining whether through the process of applying the Collatz-like function&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{l}&lt;br /&gt;
  H(2n)   &amp;amp; = &amp;amp; 3n &amp;amp;\text{(even transition)} \\&lt;br /&gt;
  H(2n+1) &amp;amp; = &amp;amp; 3n+1&amp;amp;\text{(odd transition)} \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
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.&amp;lt;ref&amp;gt;Shawn Ligocki. [https://www.sligocki.com/2024/05/10/bb-2-5-is-hard.html BB(2, 5) is Hard (Hydra)]. 10 May 2024.&amp;lt;/ref&amp;gt; The first few transitions are displayed below:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{l}&lt;br /&gt;
 \vphantom{\frac{\frac{0}{.}}{.}}3 \xrightarrow{O} 4 \xrightarrow{E} 6\xrightarrow{E} 9 \xrightarrow{O} 13 \xrightarrow{O} 19 \xrightarrow{O} 28 \xrightarrow{E} 42 \xrightarrow{E} 63\xrightarrow{O} \cdots \\&lt;br /&gt;
\end{array}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
=== Exponential Collatz ===&lt;br /&gt;
Consider the machine {{TM|1RB0LD_1RC0RF_1LC1LA_0LE1RZ_1LF0RB_0RC0RE|halt}}, discovered by Pavel Kropitz in May 2022, and the general configuration:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;K(n):=0^\infty\;1\;0^n\;11\;0^5\;\textrm{C}\textrm{&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;Shawn Ligocki showed that:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{l}&lt;br /&gt;
  \\&lt;br /&gt;
  0^\infty\;\textrm{A}\textrm{&amp;gt;}\;0^\infty&amp;amp;\xrightarrow{45}&amp;amp;K(5) \\&lt;br /&gt;
  K(4k)   &amp;amp; \to &amp;amp; \operatorname{Halt}\Bigl(\frac{3^{k+3} - 11}{2}\Bigr) \\&lt;br /&gt;
  K(4k+1) &amp;amp; \to &amp;amp; K\Bigl(\frac{3^{k+3} - 11}{2}\Bigr) \\&lt;br /&gt;
  K(4k+2) &amp;amp; \to &amp;amp; K\Bigl(\frac{3^{k+3} - 11}{2}\Bigr) \\&lt;br /&gt;
  K(4k+3) &amp;amp; \to &amp;amp; K\Bigl(\frac{3^{k+3} +  1}{2}\Bigr) \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Demonstrating Collatz-like behavior with exponential piecewise component functions.&lt;br /&gt;
&lt;br /&gt;
Starting from config &amp;lt;math&amp;gt;K(5)&amp;lt;/math&amp;gt;, these rules iterate 15 times before reaching the halt config leaving over &amp;lt;math&amp;gt;10 \uparrow\uparrow 15&amp;lt;/math&amp;gt; non-zero symbols on the tape.&amp;lt;ref&amp;gt;Shawn Ligocki. [https://www.sligocki.com/2022/06/21/bb-6-2-t15.html BB(6, 2) &amp;gt; 10↑↑15]. 21 Jun 2022.&amp;lt;/ref&amp;gt;&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
[[Category:Zoology]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=1RB1LD_1RC1RB_1LC1LA_0RC0RD&amp;diff=4380</id>
		<title>1RB1LD 1RC1RB 1LC1LA 0RC0RD</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=1RB1LD_1RC1RB_1LC1LA_0RC0RD&amp;diff=4380"/>
		<updated>2025-10-07T22:52:22Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: ??&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{machine|1RB1LD_1RC1RB_1LC1LA_0RC0RD}}&lt;br /&gt;
{{TM|1RB1LD_1RC1RB_1LC1LA_0RC0RD}} is the current [[Blanking Busy Beaver]] BLB(4,2) and [[Beeping Busy Beaver]] BBB(4,2) champion, creating a blank tape after 32,779,477 steps and [[Quasihalt|quasihalting]] after 32,779,478 steps at which point it becomes a [[translated cycler]] with period 1. It was discovered and reported by Nick Drozd in 2021.&amp;lt;ref&amp;gt;Nick Drozd. [https://nickdrozd.github.io/2021/07/11/self-cleaning-turing-machine.html A New Record in Self-Cleaning Turing Machines]. 2021.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Analysis by [[User:sligocki|Shawn Ligocki]] ==&lt;br /&gt;
Let &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;D(a, b):= 0^\infty\;1^a\;0^b\;\textrm{D}\textrm{&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;then:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{lc}&lt;br /&gt;
  D(a+3, &amp;amp; b) &amp;amp; \to &amp;amp; D(a, b+5) \\&lt;br /&gt;
  D(0, &amp;amp; b) &amp;amp; \to &amp;amp; \text{Blank} \\&lt;br /&gt;
  D(1, &amp;amp; b) &amp;amp; \to &amp;amp; D(b+2, 4) \\&lt;br /&gt;
  D(2, &amp;amp; b) &amp;amp; \to &amp;amp; D(b+3, 4) \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;let &amp;lt;math&amp;gt;D(a):= D(a, 4)&amp;lt;/math&amp;gt;, then we can simplify to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{lc}&lt;br /&gt;
  D(3k  ) &amp;amp; \to &amp;amp; \text{Blank} \\&lt;br /&gt;
  D(3k+1) &amp;amp; \to &amp;amp; D(5k+6) \\&lt;br /&gt;
  D(3k+2) &amp;amp; \to &amp;amp; D(5k+7) \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;Starting from &amp;lt;math&amp;gt;D(2)&amp;lt;/math&amp;gt; (at step 19) we get the trajectory:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{l}&lt;br /&gt;
D(2) &lt;br /&gt;
    &amp;amp; \to &amp;amp; D(7) &amp;amp; \to &amp;amp; D(16) &amp;amp; \to &amp;amp; D(31) &amp;amp; \to &amp;amp; D(56) &amp;amp; \to &amp;amp; D(97) \\&lt;br /&gt;
    &amp;amp; \to &amp;amp; D(166) &amp;amp; \to &amp;amp; D(281) &amp;amp; \to &amp;amp; D(472) &amp;amp; \to &amp;amp; D(791) &amp;amp; \to &amp;amp; D(1322) \\&lt;br /&gt;
    &amp;amp; \to &amp;amp; D(2207) &amp;amp; \to &amp;amp; D(3682) &amp;amp; \to &amp;amp; D(6141) &amp;amp; \to &amp;amp; \text{Blank} \\&lt;br /&gt;
\end{array} &amp;lt;/math&amp;gt;which has the remarkable luck of applying this [[Collatz-like]] map 14 times before reaching the blanking config (expected # of applications before halting is 3).&lt;br /&gt;
&lt;br /&gt;
See also, previous analysis in 2021: https://www.sligocki.com/2021/07/17/bb-collatz.html&lt;br /&gt;
&lt;br /&gt;
== Relation to other machines ==&lt;br /&gt;
&lt;br /&gt;
The map and trajectory are equivalent to that of the [[BB(5) champion]]. For all &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;f(k)&amp;lt;/math&amp;gt; be the number such that &amp;lt;math&amp;gt;D(k)\to D(f(k))&amp;lt;/math&amp;gt;, or &amp;lt;math&amp;gt;\text{HALT}&amp;lt;/math&amp;gt; if &amp;lt;math&amp;gt;D(k)\to\text{Blank}&amp;lt;/math&amp;gt;, and let &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; be the map simulated by the BB(5) champion. Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{lc}&lt;br /&gt;
  g(2(3k)+2) &amp;amp; = &amp;amp; g(6k+2) &amp;amp; = &amp;amp; \text{HALT} &amp;amp; = &amp;amp; f(3k) \\&lt;br /&gt;
  g(2(3k+1)+2) &amp;amp; = &amp;amp; g(6k+4) &amp;amp; = &amp;amp; 10k+14 &amp;amp; = &amp;amp; 2f(3k+1)+2 \\&lt;br /&gt;
  g(2(3k+2)+2) &amp;amp; = &amp;amp; g(6k+6) &amp;amp; = &amp;amp; 10k+16 &amp;amp; = &amp;amp; 2f(3k+2)+2 \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So the size of this machine&#039;s BLB output is tied to the size of the BB(5) champion&#039;s output.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Translated_cycler&amp;diff=4379</id>
		<title>Translated cycler</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Translated_cycler&amp;diff=4379"/>
		<updated>2025-10-07T22:48:28Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Translated_cycler_44394115_annotated.svg|right|thumb|Example &amp;quot;Translated cycler&amp;quot;: 45-step space-time diagram of bbchallenge&#039;s machine {{TM|1RB0RE_0LC1RC_0RD1LA_1LE---_1LB1RC}}. The same bounded pattern is being translated to the right forever. The text annotations illustrate the main idea for recognising &amp;quot;Translated Cyclers&amp;quot;: find two configurations that break a record (i.e. visit a memory cell that was never visited before) in the same state (here state D) such that the content of the memory tape at distance L from the record positions is the same in both record configurations. Distance L is defined as being the maximum distance to record position 1 that was visited between the configuration of record 1 and record 2.]]&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;translated cycler&#039;&#039;&#039; (also known as a &#039;&#039;&#039;partial recurrent&#039;&#039;&#039; or &#039;&#039;&#039;Lin recurrent&#039;&#039;&#039; TM) is a non-halting [[Turing machine]] which eventually exhibits a traveling cyclic behavior. Specifically, a TM has ented a translated cycle once it begins repeating a fixed sequence of transition rules in such a way that it will continue repeating them forever. It is, by far, the most common type of non-halting behavior. For example, 95% of all infinite [[BB(6)]] TMs are translated cyclers (which have cycled at least once within the first 1000 steps) and this number is relatively consistent across other BB &amp;quot;domains&amp;quot; (Say BB(5), BB(3,3), etc.).&lt;br /&gt;
&lt;br /&gt;
See [https://github.com/bbchallenge/bbchallenge-proofs/blob/build-latex-pdf/deciders/correctness-deciders.pdf Section 3] of bbchallenge&#039;s deciders write-up for a formal presentation of translated cyclers.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
Translated cycling behavior was first described by Shen Lin in his proof of [[BB(3)]] where he called it &amp;quot;partial recurrence&amp;quot;.&amp;lt;ref&amp;gt;Lin, Shen; Radó, Tibor (April 1965). &amp;quot;Computer Studies of Turing Machine Problems&amp;quot;. &#039;&#039;Journal of the ACM&#039;&#039;. &#039;&#039;&#039;12&#039;&#039;&#039; (2): 196–212. &amp;lt;nowiki&amp;gt;https://doi.org/10.1145/321264.321270&amp;lt;/nowiki&amp;gt;&amp;lt;/ref&amp;gt; He describes an algorithm for detecting it which appears to be the first documented example of a [[decider]]. This behavior has been given many names over the years. For example, Nick Drozd calls this Lin recurrence in honor of Shen Lin.&amp;lt;ref&amp;gt;Nick Drozd. 2021. [https://nickdrozd.github.io/2021/02/24/lin-recurrence-and-lins-algorithm.html Lin Recurrence and Lin&#039;s Algorithm]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Record breaking ==&lt;br /&gt;
One way to detect translated cycling is by analyzing [[record breaking]] configurations. This is the algorithm used by [[bbchallenge]]. A Turing machine is a translated cycler if it has two configurations that break a record (i.e. visit a memory cell that was never visited before) in the same state such that the content of the memory tape at distance L from the record positions is the same in both record configurations. Distance L is defined as being the maximum distance to record position 1 that was visited between the configuration of record 1 and record 2.&lt;br /&gt;
&lt;br /&gt;
Here are the properties of the translated cycler shown in the figure:&lt;br /&gt;
&lt;br /&gt;
* L = 2. After the translated cycler reaches record 1, the translated cycler moves at most L = 2 symbols to the left.&lt;br /&gt;
* The &#039;&#039;&#039;cycle period&#039;&#039;&#039; is 10 steps. This is the number of steps from record 1 to record 2.&lt;br /&gt;
* The &#039;&#039;&#039;cycle offset&#039;&#039;&#039; is 2 symbols to the right. In other words, after each cycle, the TM moves 2 places to the right.&lt;br /&gt;
* The &#039;&#039;&#039;cycle start time&#039;&#039;&#039; is 6 steps. This is the position of record 1. The cycle start time of a translated cycler can also be called its &#039;&#039;&#039;preperiod&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Translated cyclers are close to [[Cycler|Cyclers]] in the sense that they are only repeating a pattern but there is added complexity as they are able to translate the pattern in space at the same time, hence the decider for Cyclers cannot directly apply here.&lt;br /&gt;
&lt;br /&gt;
== Infinite shift rule ==&lt;br /&gt;
A translated cycle can be seen as an infinite [[shift rule]]. For example, consider the TM {{TM|1RB0RE_0LC1RC_0RD1LA_1LE---_1LB1RC|non-halt}} in the image at the right. It performs the following [[transition rule]]:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{l}&lt;br /&gt;
\\&lt;br /&gt;
10\;\textrm{D}\textrm{&amp;gt;}\;00\xrightarrow{10}00\;10\;\textrm{D}\textrm{&amp;gt;} \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which can be repeated to form the shift rule:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{l}&lt;br /&gt;
\\&lt;br /&gt;
10\;\textrm{D}\textrm{&amp;gt;}\;{00}^n\xrightarrow{10n}{00}^n\;10\;\textrm{D}\textrm{&amp;gt;} \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Furthermore, on step 6, this TM is in config&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;0^\infty\;1\;10\;\textrm{D}\textrm{&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore, we can see that for all &amp;lt;math&amp;gt;n \ge 0&amp;lt;/math&amp;gt; we can apply the shift rule and so this TM can never halt.&lt;br /&gt;
&lt;br /&gt;
==Related Functions==&lt;br /&gt;
&lt;br /&gt;
* Busy Preperiodic Beaver ([[BBS]](n,m)): The longest possible preperiod of a cycler or translated cycler with n states and m symbols.&lt;br /&gt;
* Busy Periodic Beaver ([[BBP]](n,m)): The longest possible period of a cycler or translated cycler with n states and m symbols.&lt;br /&gt;
&lt;br /&gt;
== Notable translated cyclers ==&lt;br /&gt;
&lt;br /&gt;
* [[Skelet 1]] is a translated cycler that has a period of 8,468,569,863 steps, an offset of 107,917 symbols to the right, and a start time of about &amp;lt;math&amp;gt;5.42 \times 10^{51}&amp;lt;/math&amp;gt;.&lt;br /&gt;
* {{TM|1RB1LD_1RC1RB_1LC1LA_0RC0RD}} is the current [[Beeping Busy Beaver]] (4,2) and [[Blanking Busy Beaver]] (4,2) champion. It has a preperiod of 32,779,478 steps, a period of 1 step and a cycle offset of 1 symbol to the left. Its tape configuration in record &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;}\textrm{C}\;1^{k} 0^\infty\;&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[non-halting Turing machine]]&lt;br /&gt;
&lt;br /&gt;
== Sources ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Zoology]]&lt;br /&gt;
[[Category:Deciders]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Translated_cycler&amp;diff=4378</id>
		<title>Translated cycler</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Translated_cycler&amp;diff=4378"/>
		<updated>2025-10-07T22:48:12Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Translated_cycler_44394115_annotated.svg|right|thumb|Example &amp;quot;Translated cycler&amp;quot;: 45-step space-time diagram of bbchallenge&#039;s machine {{TM|1RB0RE_0LC1RC_0RD1LA_1LE---_1LB1RC}}. The same bounded pattern is being translated to the right forever. The text annotations illustrate the main idea for recognising &amp;quot;Translated Cyclers&amp;quot;: find two configurations that break a record (i.e. visit a memory cell that was never visited before) in the same state (here state D) such that the content of the memory tape at distance L from the record positions is the same in both record configurations. Distance L is defined as being the maximum distance to record position 1 that was visited between the configuration of record 1 and record 2.]]&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;translated cycler&#039;&#039;&#039; (also known as a &#039;&#039;&#039;partial recurrent&#039;&#039;&#039; or &#039;&#039;&#039;Lin recurrent&#039;&#039;&#039; TM) is a non-halting [[Turing machine]] which eventually exhibits a traveling cyclic behavior. Specifically, a TM has ented a translated cycle once it begins repeating a fixed sequence of transition rules in such a way that it will continue repeating them forever. It is, by far, the most common type of non-halting behavior. For example, 95% of all infinite [[BB(6)]] TMs are translated cyclers (which have cycled at least once within the first 1000 steps) and this number is relatively consistent across other BB &amp;quot;domains&amp;quot; (Say BB(5), BB(3,3), etc.).&lt;br /&gt;
&lt;br /&gt;
See [https://github.com/bbchallenge/bbchallenge-proofs/blob/build-latex-pdf/deciders/correctness-deciders.pdf Section 3] of bbchallenge&#039;s deciders write-up for a formal presentation of translated cyclers.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
Translated cycling behavior was first described by Shen Lin in his proof of [[BB(3)]] where he called it &amp;quot;partial recurrence&amp;quot;.&amp;lt;ref&amp;gt;Lin, Shen; Radó, Tibor (April 1965). &amp;quot;Computer Studies of Turing Machine Problems&amp;quot;. &#039;&#039;Journal of the ACM&#039;&#039;. &#039;&#039;&#039;12&#039;&#039;&#039; (2): 196–212. &amp;lt;nowiki&amp;gt;https://doi.org/10.1145/321264.321270&amp;lt;/nowiki&amp;gt;&amp;lt;/ref&amp;gt; He describes an algorithm for detecting it which appears to be the first documented example of a [[decider]]. This behavior has been given many names over the years. For example, Nick Drozd calls this Lin recurrence in honor of Shen Lin.&amp;lt;ref&amp;gt;Nick Drozd. 2021. [https://nickdrozd.github.io/2021/02/24/lin-recurrence-and-lins-algorithm.html Lin Recurrence and Lin&#039;s Algorithm]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Record breaking ==&lt;br /&gt;
One way to detect translated cycling is by analyzing [[record breaking]] configurations. This is the algorithm used by [[bbchallenge]]. A Turing machine is a translated cycler if it has two configurations that break a record (i.e. visit a memory cell that was never visited before) in the same state such that the content of the memory tape at distance L from the record positions is the same in both record configurations. Distance L is defined as being the maximum distance to record position 1 that was visited between the configuration of record 1 and record 2.&lt;br /&gt;
&lt;br /&gt;
Here are the properties of the translated cycler shown in the figure:&lt;br /&gt;
&lt;br /&gt;
* L = 2. After the translated cycler reaches record 1, the translated cycler moves at most L = 2 symbols to the left.&lt;br /&gt;
* The &#039;&#039;&#039;cycle period&#039;&#039;&#039; is 10 steps. This is the number of steps from record 1 to record 2.&lt;br /&gt;
* The &#039;&#039;&#039;cycle offset&#039;&#039;&#039; is 2 symbols to the right. In other words, after each cycle, the TM moves 2 places to the right.&lt;br /&gt;
* The &#039;&#039;&#039;cycle start time&#039;&#039;&#039; is 6 steps. This is the position of record 1. The cycle start time of a translated cycler can also be called its &#039;&#039;&#039;preperiod&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Translated cyclers are close to [[Cycler|Cyclers]] in the sense that they are only repeating a pattern but there is added complexity as they are able to translate the pattern in space at the same time, hence the decider for Cyclers cannot directly apply here.&lt;br /&gt;
&lt;br /&gt;
== Infinite shift rule ==&lt;br /&gt;
A translated cycle can be seen as an infinite [[shift rule]]. For example, consider the TM {{TM|1RB0RE_0LC1RC_0RD1LA_1LE---_1LB1RC|non-halt}} in the image at the right. It performs the following [[transition rule]]:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{l}&lt;br /&gt;
\\&lt;br /&gt;
10\;\textrm{D}\textrm{&amp;gt;}\;00\xrightarrow{10}00\;10\;\textrm{D}\textrm{&amp;gt;} \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which can be repeated to form the shift rule:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{l}&lt;br /&gt;
\\&lt;br /&gt;
10\;\textrm{D}\textrm{&amp;gt;}\;{00}^n\xrightarrow{10n}{00}^n\;10\;\textrm{D}\textrm{&amp;gt;} \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Furthermore, on step 6, this TM is in config&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;0^\infty\;1\;10\;\textrm{D}\textrm{&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore, we can see that for all &amp;lt;math&amp;gt;n \ge 0&amp;lt;/math&amp;gt; we can apply the shift rule and so this TM can never halt.&lt;br /&gt;
&lt;br /&gt;
==Related Functions==&lt;br /&gt;
&lt;br /&gt;
* Busy Preperiodic Beaver ([[BBS]](n,m)): The longest possible preperiod of a cycler or translated cycler with n states and m symbols.&lt;br /&gt;
* Busy Periodic Beaver ([[BBP]](n,m)): The longest possible period of a cycler or translated cycler with n states and m symbols.&lt;br /&gt;
&lt;br /&gt;
== Notable translated cyclers ==&lt;br /&gt;
&lt;br /&gt;
* [[Skelet 1]] is a translated cycler that has a period of 8,468,569,863 steps, an offset of 107,917 symbols to the right, and a start time of about &amp;lt;math&amp;gt;5.42 \times 10^{51}&amp;lt;/math&amp;gt;.&lt;br /&gt;
* {{TM|1RB1LD_1RC1RB_1LC1LA_0RC0RD}} is the current [[Beeping Busy Beaver]] (4,2) and [[Blanking Busy Beaver]] (4,2) champion. It has a preperiod of 32,779,478 steps, a period of 1 step and a cycle offset of 1 symbol to the left. Its tape configuration in record &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;}\textrm{C} 1^{k} 0^\infty\;&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[non-halting Turing machine]]&lt;br /&gt;
&lt;br /&gt;
== Sources ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Zoology]]&lt;br /&gt;
[[Category:Deciders]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Translated_cycler&amp;diff=4377</id>
		<title>Translated cycler</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Translated_cycler&amp;diff=4377"/>
		<updated>2025-10-07T22:47:53Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: :O&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Translated_cycler_44394115_annotated.svg|right|thumb|Example &amp;quot;Translated cycler&amp;quot;: 45-step space-time diagram of bbchallenge&#039;s machine {{TM|1RB0RE_0LC1RC_0RD1LA_1LE---_1LB1RC}}. The same bounded pattern is being translated to the right forever. The text annotations illustrate the main idea for recognising &amp;quot;Translated Cyclers&amp;quot;: find two configurations that break a record (i.e. visit a memory cell that was never visited before) in the same state (here state D) such that the content of the memory tape at distance L from the record positions is the same in both record configurations. Distance L is defined as being the maximum distance to record position 1 that was visited between the configuration of record 1 and record 2.]]&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;translated cycler&#039;&#039;&#039; (also known as a &#039;&#039;&#039;partial recurrent&#039;&#039;&#039; or &#039;&#039;&#039;Lin recurrent&#039;&#039;&#039; TM) is a non-halting [[Turing machine]] which eventually exhibits a traveling cyclic behavior. Specifically, a TM has ented a translated cycle once it begins repeating a fixed sequence of transition rules in such a way that it will continue repeating them forever. It is, by far, the most common type of non-halting behavior. For example, 95% of all infinite [[BB(6)]] TMs are translated cyclers (which have cycled at least once within the first 1000 steps) and this number is relatively consistent across other BB &amp;quot;domains&amp;quot; (Say BB(5), BB(3,3), etc.).&lt;br /&gt;
&lt;br /&gt;
See [https://github.com/bbchallenge/bbchallenge-proofs/blob/build-latex-pdf/deciders/correctness-deciders.pdf Section 3] of bbchallenge&#039;s deciders write-up for a formal presentation of translated cyclers.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
Translated cycling behavior was first described by Shen Lin in his proof of [[BB(3)]] where he called it &amp;quot;partial recurrence&amp;quot;.&amp;lt;ref&amp;gt;Lin, Shen; Radó, Tibor (April 1965). &amp;quot;Computer Studies of Turing Machine Problems&amp;quot;. &#039;&#039;Journal of the ACM&#039;&#039;. &#039;&#039;&#039;12&#039;&#039;&#039; (2): 196–212. &amp;lt;nowiki&amp;gt;https://doi.org/10.1145/321264.321270&amp;lt;/nowiki&amp;gt;&amp;lt;/ref&amp;gt; He describes an algorithm for detecting it which appears to be the first documented example of a [[decider]]. This behavior has been given many names over the years. For example, Nick Drozd calls this Lin recurrence in honor of Shen Lin.&amp;lt;ref&amp;gt;Nick Drozd. 2021. [https://nickdrozd.github.io/2021/02/24/lin-recurrence-and-lins-algorithm.html Lin Recurrence and Lin&#039;s Algorithm]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Record breaking ==&lt;br /&gt;
One way to detect translated cycling is by analyzing [[record breaking]] configurations. This is the algorithm used by [[bbchallenge]]. A Turing machine is a translated cycler if it has two configurations that break a record (i.e. visit a memory cell that was never visited before) in the same state such that the content of the memory tape at distance L from the record positions is the same in both record configurations. Distance L is defined as being the maximum distance to record position 1 that was visited between the configuration of record 1 and record 2.&lt;br /&gt;
&lt;br /&gt;
Here are the properties of the translated cycler shown in the figure:&lt;br /&gt;
&lt;br /&gt;
* L = 2. After the translated cycler reaches record 1, the translated cycler moves at most L = 2 symbols to the left.&lt;br /&gt;
* The &#039;&#039;&#039;cycle period&#039;&#039;&#039; is 10 steps. This is the number of steps from record 1 to record 2.&lt;br /&gt;
* The &#039;&#039;&#039;cycle offset&#039;&#039;&#039; is 2 symbols to the right. In other words, after each cycle, the TM moves 2 places to the right.&lt;br /&gt;
* The &#039;&#039;&#039;cycle start time&#039;&#039;&#039; is 6 steps. This is the position of record 1. The cycle start time of a translated cycler can also be called its &#039;&#039;&#039;preperiod&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Translated cyclers are close to [[Cycler|Cyclers]] in the sense that they are only repeating a pattern but there is added complexity as they are able to translate the pattern in space at the same time, hence the decider for Cyclers cannot directly apply here.&lt;br /&gt;
&lt;br /&gt;
== Infinite shift rule ==&lt;br /&gt;
A translated cycle can be seen as an infinite [[shift rule]]. For example, consider the TM {{TM|1RB0RE_0LC1RC_0RD1LA_1LE---_1LB1RC|non-halt}} in the image at the right. It performs the following [[transition rule]]:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{l}&lt;br /&gt;
\\&lt;br /&gt;
10\;\textrm{D}\textrm{&amp;gt;}\;00\xrightarrow{10}00\;10\;\textrm{D}\textrm{&amp;gt;} \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which can be repeated to form the shift rule:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{l}&lt;br /&gt;
\\&lt;br /&gt;
10\;\textrm{D}\textrm{&amp;gt;}\;{00}^n\xrightarrow{10n}{00}^n\;10\;\textrm{D}\textrm{&amp;gt;} \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Furthermore, on step 6, this TM is in config&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;0^\infty\;1\;10\;\textrm{D}\textrm{&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore, we can see that for all &amp;lt;math&amp;gt;n \ge 0&amp;lt;/math&amp;gt; we can apply the shift rule and so this TM can never halt.&lt;br /&gt;
&lt;br /&gt;
==Related Functions==&lt;br /&gt;
&lt;br /&gt;
* Busy Preperiodic Beaver ([[BBS]](n,m)): The longest possible preperiod of a cycler or translated cycler with n states and m symbols.&lt;br /&gt;
* Busy Periodic Beaver ([[BBP]](n,m)): The longest possible period of a cycler or translated cycler with n states and m symbols.&lt;br /&gt;
&lt;br /&gt;
== Notable translated cyclers ==&lt;br /&gt;
&lt;br /&gt;
* [[Skelet 1]] is a translated cycler that has a period of 8,468,569,863 steps, an offset of 107,917 symbols to the right, and a start time of about &amp;lt;math&amp;gt;5.42 \times 10^{51}&amp;lt;/math&amp;gt;.&lt;br /&gt;
* {{TM|1RB1LD_1RC1RB_1LC1LA_0RC0RD}} is the current [[Beeping Busy Beaver]] (4,2) and [[Blanking Busy Beaver]] (4,2) champion. It has a preperiod of 32,779,478 steps, a period of 1 step and a cycle offset of 1 symbol to the left. Its tape configuration in record &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;C} 1^{k} 0^\infty\;&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[non-halting Turing machine]]&lt;br /&gt;
&lt;br /&gt;
== Sources ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Zoology]]&lt;br /&gt;
[[Category:Deciders]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Busy_Beaver_Functions&amp;diff=4376</id>
		<title>Busy Beaver Functions</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Busy_Beaver_Functions&amp;diff=4376"/>
		<updated>2025-10-07T22:44:41Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: !&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Busy Beaver Game is the search for [[Turing machine|Turing machines]] which maximize various &#039;&#039;&#039;Busy Beaver Functions&#039;&#039;&#039;. All Busy Beaver functions are non-computable. There are several, related functions with different authors referring to one or the other as &amp;quot;the Busy Beaver function&amp;quot;. Therefore, it is recommended that you use a more specific designation when referring to one specific Busy Beaver function.&lt;br /&gt;
&lt;br /&gt;
The two most commonly used Busy Beaver functions are:&lt;br /&gt;
&lt;br /&gt;
* The Maximum Shift function &amp;lt;math&amp;gt;S(n, m)&amp;lt;/math&amp;gt; which is the most commonly used Busy Beaver function by [[Bbchallenge.org|bbchallenge]] and is generally called &amp;lt;math&amp;gt;BB(n, m)&amp;lt;/math&amp;gt; here.&lt;br /&gt;
* The Maximum Score function &amp;lt;math&amp;gt;\Sigma(n, m)&amp;lt;/math&amp;gt; which is Tibor Radó&#039;s original Busy Beaver function.&lt;br /&gt;
where &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; denotes the number of states and &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; the number of symbols.&lt;br /&gt;
&lt;br /&gt;
== Max Shift Function S(n, m) ==&lt;br /&gt;
The Maximum Shift or Maximum Step function is the largest number of steps (or shifts) that any Turing machine (of a certain size, and starting with a blank tape) takes before halting. It was introduced by Tibor Radó in his seminal Busy Beaver paper.&amp;lt;ref&amp;gt;Tibor Radó (May 1962). &amp;quot;[https://computation4cognitivescientists.weebly.com/uploads/6/2/8/3/6283774/rado-on_non-computable_functions.pdf On non-computable functions]&amp;quot; (PDF). &#039;&#039;Bell System Technical Journal&#039;&#039;. &#039;&#039;&#039;41&#039;&#039;&#039; (3): 877–884. https://doi.org/10.1002%2Fj.1538-7305.1962.tb00480.x&amp;lt;/ref&amp;gt; He used the notation &amp;lt;math&amp;gt;S(n)&amp;lt;/math&amp;gt; to define it for Turing machines with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; states and 2 symbols. This was later extended to &amp;lt;math&amp;gt;S(n, m)&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; states and &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; symbols. Notably, the halting transition counts as a step, so the TM with rule &amp;lt;code&amp;gt;A0 -&amp;gt; 1RZ&amp;lt;/code&amp;gt; halts in 1 step.&lt;br /&gt;
&lt;br /&gt;
Ben-Amram calls this the &amp;lt;math&amp;gt;time(n)&amp;lt;/math&amp;gt; function.&amp;lt;ref name=&amp;quot;:0&amp;quot;&amp;gt;Ben-Amram A.M., Julstrom B.A. and Zwick U. (1996). [http://dx.doi.org/10.1007/BF01192693 A note on busy beavers and other creatures]. &#039;&#039;Mathematical Systems Theory&#039;&#039; &#039;&#039;&#039;29&#039;&#039;&#039; (4), July-August 1996, 375-386.&amp;lt;/ref&amp;gt; Harland calls it the &amp;quot;frantic frog&amp;quot; function &amp;lt;math&amp;gt;ff(n)&amp;lt;/math&amp;gt;.&amp;lt;ref name=&amp;quot;:1&amp;quot;&amp;gt;James Harland. [https://dl.acm.org/doi/pdf/10.5555/1151785.1151794 The Busy Beaver, the Placid Platypus and other Crazy Creatures]. 2006.&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
In his 2020 [[Busy Beaver Frontier]] survey, Scott Aaronson used the notation &amp;lt;math&amp;gt;BB(n, m)&amp;lt;/math&amp;gt; for the Max Shift function and referred to it as &amp;quot;the&amp;quot; Busy Beaver function.&amp;lt;ref name=&amp;quot;:2&amp;quot;&amp;gt;Scott Aaronson. [https://scottaaronson.blog/?p=4916 The Busy Beaver Frontier]. 2020.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Max Score Function Σ(n, m) ==&lt;br /&gt;
The Maximum Score function is the largest number of ones (or non-zero symbols in general) left on the tape by any halting Turing machine (of a certain size, and starting with a blank tape) at the moment it halts. It was also introduced by Tibor Radó in his seminal paper. He called it the &amp;quot;score&amp;quot; of the Turing machine. He used the notation &amp;lt;math&amp;gt;\Sigma(n)&amp;lt;/math&amp;gt; to define it for Turing machines with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; states and 2 symbols. This was later extended to &amp;lt;math&amp;gt;\Sigma(n, m)&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; states and &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; symbols.&lt;br /&gt;
&lt;br /&gt;
Ben-Amram calls this the &amp;lt;math&amp;gt;ones(n)&amp;lt;/math&amp;gt; function.&amp;lt;ref name=&amp;quot;:0&amp;quot; /&amp;gt; Harland calls it the &amp;quot;busy beaver&amp;quot; function &amp;lt;math&amp;gt;bb(n)&amp;lt;/math&amp;gt;.&amp;lt;ref name=&amp;quot;:1&amp;quot; /&amp;gt; Before Aaronson&#039;s survey, this was the function that most people called &amp;quot;the&amp;quot; Busy Beaver function.&lt;br /&gt;
&lt;br /&gt;
== Other Busy Beaver functions ==&lt;br /&gt;
In addition to the above functions, there are a couple of others that have appeared in the literature:&lt;br /&gt;
&lt;br /&gt;
* [[Maximum Space Function|Maximum space]]: Ben-Amram calls this &amp;lt;math&amp;gt;space(n)&amp;lt;/math&amp;gt;&amp;lt;ref name=&amp;quot;:0&amp;quot; /&amp;gt;, bbchallenge calls it &amp;lt;code&amp;gt;BB_SPACE(n)&amp;lt;/code&amp;gt; or &amp;lt;math&amp;gt;BB_{space}(n)&amp;lt;/math&amp;gt;. This is the total number of tape cells read before halting. According to Ben-Amram, it includes the starting cell, but not necessarily the cell the halting transition moves to.&amp;lt;ref name=&amp;quot;:0&amp;quot; /&amp;gt;&lt;br /&gt;
* [[Maximum Consecutive Ones Function|Maximum consecutive ones]]: Ben-Amram calls this &amp;lt;math&amp;gt;num(n)&amp;lt;/math&amp;gt;.&amp;lt;ref name=&amp;quot;:0&amp;quot; /&amp;gt; A TM only qualifies if it halts with all ones consecutive on tape.&lt;br /&gt;
* &amp;lt;math&amp;gt;N_e&amp;lt;/math&amp;gt; function: Radó formulated the number of halting machines in terms of the set of all valid busy beaver entries &amp;lt;math&amp;gt;M,s&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; is the Turing machine, and &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; is the exact number of steps the halting Turing machine took. The set of all halting &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-card machines is denoted &amp;lt;math&amp;gt;E_n&amp;lt;/math&amp;gt;, and the cardinality of this set is denoted &amp;lt;math&amp;gt;N_e(n)&amp;lt;/math&amp;gt; The number of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-card Turing machines that halt after exactly or not more than s steps are respectively denoted &amp;lt;math&amp;gt;N(s,n)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;G(s,n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [[Blanking Busy Beaver]]: &amp;lt;math&amp;gt;BLB(n,m)&amp;lt;/math&amp;gt; is the largest amount of steps done by any Turing machine with n states and m symbols before blanking the tape.&lt;br /&gt;
* [[Beeping Busy Beaver|Beeping busy beaver]]: &amp;lt;math&amp;gt;BBB(n,m)&amp;lt;/math&amp;gt; is the largest amount of steps done by any Turing machine with &#039;&#039;n&#039;&#039; states and &#039;&#039;m&#039;&#039; symbols before [[Quasihalt|quasihalting]].&lt;br /&gt;
* [[BBP|Busy periodic beaver]]: &amp;lt;math&amp;gt;BBP(n,m)&amp;lt;/math&amp;gt; is the longest period of any cycler or [[translated cycler]] with &#039;&#039;n&#039;&#039; states and &#039;&#039;m&#039;&#039; symbols.&lt;br /&gt;
* [[BBS|Busy preperiodic beaver]]: &amp;lt;math&amp;gt;BBS(n,m)&amp;lt;/math&amp;gt; is the longest preperiod of any cycler or [[translated cycler]] with &#039;&#039;n&#039;&#039; states and &#039;&#039;m&#039;&#039; symbols.&lt;br /&gt;
* Higher order busy beaver functions:&lt;br /&gt;
*BB&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;(n) (busy beaver for L programs): People have also studied variants with a 2-dimensional tape, or where the tape head is allowed to stay still in addition to moving left or right, etc. More broadly, given any programming language L, whose programs consist of bit-strings, one can define a Busy Beaver function for L-programs:BB&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;(n) := max&amp;lt;sub&amp;gt;P∈L∩{0,1}&amp;lt;/sub&amp;gt;&amp;lt;sup&amp;gt;≤n&amp;lt;/sup&amp;gt;&amp;lt;sub&amp;gt;: s(P)&amp;lt;∞&amp;lt;/sub&amp;gt;s(P) where s(P) is the number of steps taken by P on a blank input. Alternatively, some people define a “Busy Beaver function for L-programs” using Kolmogorov complexity. That is, they let BB’&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;(n) be the largest integer m such that K&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt; (m) ≤ n, where K&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt;(m) is the length of the shortest L-program whose output is m on a blank input.&amp;lt;ref name=&amp;quot;:3&amp;quot;&amp;gt;[https://www.scottaaronson.com/papers/bb.pdf Scott Aaronson - The Busy Beaver frontier]&amp;lt;/ref&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;R(n)&amp;lt;/math&amp;gt; (The runtime spectrum function): &amp;lt;math&amp;gt;T(n)&amp;lt;/math&amp;gt; is the set of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-state Turing machines, and &amp;lt;math&amp;gt;s(M)&amp;lt;/math&amp;gt; is the running time of machine &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; on an all-0 input tape. Let &amp;lt;math&amp;gt;R(n)&amp;lt;/math&amp;gt; be the spectrum of possible runtimes of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-state machines on the all-0 input&amp;lt;math&amp;gt; R(n) := \lbrace k \in \natnums : s(M) = k\text{ for some }M \in T(n) \rbrace&amp;lt;/math&amp;gt;.&amp;lt;ref name=&amp;quot;:3&amp;quot; /&amp;gt;&lt;br /&gt;
*[[Instruction-Limited Busy Beaver]] Function: &amp;lt;math&amp;gt; BBi(n)&amp;lt;/math&amp;gt; is the longest runtime for all halting n-instruction (allowing any states and symbols) TMs when started on a blank tape.&lt;br /&gt;
*[[Reversible Turing Machine|Reversible Busy Beaver]] Function: &amp;lt;math&amp;gt; BB_{rev}(n,m)&amp;lt;/math&amp;gt; is the longest runtime for all halting reversible n-states m-symbols TMs.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
[[category:Functions]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Skelet_17&amp;diff=4375</id>
		<title>Skelet 17</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Skelet_17&amp;diff=4375"/>
		<updated>2025-10-07T22:41:48Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: :/&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{machine|1LB---_0RC1LE_0RD1RC_1LA1RB_0LB0LA}}{{Stub}}&lt;br /&gt;
{{TM|1RB---_0LC1RE_0LD1LC_1RA1LB_0RB0RA}}, called &#039;&#039;&#039;Skelet #17&#039;&#039;&#039;, was one of [[Skelet&#039;s 43 holdouts]] and one of the last holdouts in [[BB(5)]]. &lt;br /&gt;
&lt;br /&gt;
The first step towards its resolution was made by savask, who showed the connection to [[wikipedia:Gray_code|Gray Code]]: https://docs.bbchallenge.org/other/skelet17_savasks_analysis.pdf &lt;br /&gt;
&lt;br /&gt;
Building upon this work, Chris Xu produced a full proof of its non-halting that can be found here: https://chrisxudoesmath.com/papers/skelet17.pdf &lt;br /&gt;
&lt;br /&gt;
Adapting the above, a formal proof of its non-halting by mxdys can be found here: https://github.com/ccz181078/Coq-BB5/blob/main/CoqBB5/Skelet17.md&lt;br /&gt;
&lt;br /&gt;
== TM Behavior ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable floatright&amp;quot; style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
! rowspan=&amp;quot;2&amp;quot;|&lt;br /&gt;
|-&lt;br /&gt;
! 5 !! 4 !! 3 !! 2 !! 1 !! 0 !! value !! length !! &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
    | 0 || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || 0  || 3  || +1&lt;br /&gt;
|-&lt;br /&gt;
    | 1 || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || 1  || 3  || +1&lt;br /&gt;
|-&lt;br /&gt;
    | 1* || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#F22&amp;quot;|{{mono|-1}} || 2  || 3  || +1&lt;br /&gt;
|-&lt;br /&gt;
    | 2 || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || 1  || 2  || -1&lt;br /&gt;
|-&lt;br /&gt;
    | 3 || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || 0  || 2  || -1&lt;br /&gt;
|-&lt;br /&gt;
    | 3* || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || 0  || 2  || -1&lt;br /&gt;
|-&lt;br /&gt;
    | 4 || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|3}} || 0  || 3  || +1&lt;br /&gt;
|-&lt;br /&gt;
    | 5 || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || 1  || 3  || +1&lt;br /&gt;
|-&lt;br /&gt;
    | 6 || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || 2  || 3  || +1&lt;br /&gt;
|-&lt;br /&gt;
    | 7 || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || 3  || 3  || +1&lt;br /&gt;
|-&lt;br /&gt;
    | 7* || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || 0  || 4  || -1&lt;br /&gt;
|-&lt;br /&gt;
    | 7** || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#F22&amp;quot;|{{mono|-1}} || 7  || 6  || -1&lt;br /&gt;
|-&lt;br /&gt;
    | 8 || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || 3  || 5  || +1&lt;br /&gt;
|-&lt;br /&gt;
    | 9 || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || 4  || 5  || +1&lt;br /&gt;
|-&lt;br /&gt;
    | 10 || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|3}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || 5  || 5  || +1&lt;br /&gt;
|-&lt;br /&gt;
    | 10* || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|3}} || style=&amp;quot;background:#F22&amp;quot;|{{mono|-1}} || 6  || 5  || +1&lt;br /&gt;
|-&lt;br /&gt;
    | 11 || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|3}} || 3  || 4  || -1&lt;br /&gt;
|-&lt;br /&gt;
    | 12 || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|3}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || 2  || 4  || -1&lt;br /&gt;
|-&lt;br /&gt;
    | 13 || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|3}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || 1  || 4  || -1&lt;br /&gt;
|-&lt;br /&gt;
    | 14 || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|4}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || 0  || 4  || -1&lt;br /&gt;
|-&lt;br /&gt;
    | 14* || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|4}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || 7  || 5  || +1&lt;br /&gt;
|-&lt;br /&gt;
    | 14** || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|4}} || style=&amp;quot;background:#F22&amp;quot;|{{mono|-1}} || 7  || 6  || -1&lt;br /&gt;
|-&lt;br /&gt;
    | 15 || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|4}} || 3  || 5  || +1&lt;br /&gt;
|-&lt;br /&gt;
    | 16 || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|3}} || 4  || 5  || +1&lt;br /&gt;
|-&lt;br /&gt;
    | 17 || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|3}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || 5  || 5  || +1&lt;br /&gt;
|-&lt;br /&gt;
    | 18 || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|3}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || 6  || 5  || +1&lt;br /&gt;
|-&lt;br /&gt;
    | 19 || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|4}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || 7  || 5  || +1&lt;br /&gt;
|-&lt;br /&gt;
    | 19* || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|4}} || style=&amp;quot;background:#F22&amp;quot;|{{mono|-1}} || 8  || 5  || +1&lt;br /&gt;
|-&lt;br /&gt;
    | 20 || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|4}} || 4  || 4  || -1&lt;br /&gt;
|-&lt;br /&gt;
    | 21 || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|3}} || 3  || 4  || -1&lt;br /&gt;
|-&lt;br /&gt;
    | 22 || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|3}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || 2  || 4  || -1&lt;br /&gt;
|-&lt;br /&gt;
    | 23 || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|3}} || style=&amp;quot;background:#DDD&amp;quot;|{{mono|1}} || 1  || 4  || -1&lt;br /&gt;
|-&lt;br /&gt;
    | 24 || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#111&amp;quot;|{{mono|-}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|2}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|4}} || style=&amp;quot;background:#0FF&amp;quot;|{{mono|0}} || 0  || 4  || -1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It can be shown that when the machine head is at the right end of the tape, the complete tape configuration is of the following form (using [[Directed head notation]]):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;0^\infty\;10^{n_1}\;1\;10^{n_2}\;\dots\;1\;10^{n_k}\;\textrm{B}\textrm{&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;n_i&amp;lt;/math&amp;gt; represents a non-negative integer. Essentially, Skelet 17 builds &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;-length lists of non-negative numbers delimited with individual cells imprinted with a 1.&lt;br /&gt;
&lt;br /&gt;
The most common transformation (frequency tends to 1 as the number of steps increases) occuring between such configurations is described by Increment rule, similar to the Lucal form of Gray Code: the value at the last index is decremented and the value to the left of the rightmost index with odd value is incremented.&lt;br /&gt;
&lt;br /&gt;
It is useful to consider the following &#039;&#039;state variables&#039;&#039;: &lt;br /&gt;
&lt;br /&gt;
* Gray Code value (denoted by &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;): the integer that is obtained by calculating the parity of each number (except the last) in the list, considering the result as a Gray Code bitstring corresponding to some integer and &amp;quot;recovering&amp;quot; this integer.&lt;br /&gt;
* Increment value (denoted by &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt;): the parity of the entire sequence, mapped to &amp;lt;math&amp;gt;\{-1, 1\}&amp;lt;/math&amp;gt;. Dirung Increment steps, Skelet 17 counts forwards when &amp;lt;math&amp;gt;\sigma = +1&amp;lt;/math&amp;gt; or backwards if &amp;lt;math&amp;gt;\sigma = -1&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Length of the sequence (including leading zeros).&lt;br /&gt;
&lt;br /&gt;
When started on a blank tape, the machine visits configurations of the form &amp;lt;math&amp;gt;(0, 2, 4, ..., 2^{2k+2}, 0)&amp;lt;/math&amp;gt; infinitely often (the step numbers where it occurs approximately equal power of 16: 14, 251, 4088, 65537, 1048646, 16777607, 268437188, etc).&lt;br /&gt;
&lt;br /&gt;
=== Analysis by bisimulation ===&lt;br /&gt;
&lt;br /&gt;
Chris Xu found it useful to divide some tape transformations into two phases, one of them is &amp;quot;virtual&amp;quot; or &amp;quot;invisible&amp;quot;, as it does not actually occur on the tape. Indeed, the intermediate step involves negative numbers (the last number being decremented to -1 from 0), which of course cannot correspond to the &amp;lt;math&amp;gt;10^{a_i}&amp;lt;/math&amp;gt; written on the tape.&lt;br /&gt;
&lt;br /&gt;
Such skipped intermediate steps are denoted by asterisks in the table to preserve the &amp;quot;real&amp;quot; step counts (e.g. steps 7* and 7**).&lt;br /&gt;
[[Category:BB(5)]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=0RB1LD_1LC1RB_1LD1RE_1LA1LE_1LZ0RC&amp;diff=4374</id>
		<title>0RB1LD 1LC1RB 1LD1RE 1LA1LE 1LZ0RC</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=0RB1LD_1LC1RB_1LD1RE_1LA1LE_1LZ0RC&amp;diff=4374"/>
		<updated>2025-10-07T22:39:00Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: :(&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{machine|0RB1LD_1LC1RB_1LD1RE_1LA1LE_1LZ0RC}}&lt;br /&gt;
{{TM|0RB1LD_1LC1RB_1LD1RE_1LA1LE_1LZ0RC|halt}} is the [[Busy Beaver Functions|num(5)]] champion (the [[BB(5)|five-state, two-symbol]] TM which halts leaving the most consecutive ones on the tape) according to Andrés Sancho.&amp;lt;ref&amp;gt;[https://discord.com/channels/960643023006490684/1242208042460647575/1337655697348886558 Discord message] by Andrés Sancho on 8 Feb 2025&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;https://github.com/MatterAndy/BB5-contiguous-1s&amp;lt;/ref&amp;gt; It halts after 15590 steps with 165 consecutive ones on the tape.&lt;br /&gt;
&lt;br /&gt;
It is tied for the num(5) championship with {{TM|1RB1LA_1RC1LE_1RD1RE_0LA1RC_1RZ0LB|halt}} which is the [[TNF-1RB]] version of the same TM (The [[permutation]] of this TM starting at state B).&lt;br /&gt;
&lt;br /&gt;
== Analysis ==&lt;br /&gt;
Let &amp;lt;math&amp;gt;A(a):=0^\infty\;1^a\;\textrm{&amp;lt;}\textrm{A}\;11\;0^\infty&amp;lt;/math&amp;gt;. Then,&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{lll}A(3a)&amp;amp;\to&amp;amp;A(4a+2)\\A(3a+1)&amp;amp;\to&amp;amp;A(4a+4)\\A(3a+2)&amp;amp;\to&amp;amp;0^\infty\;\textrm{&amp;lt;}\textrm{Z}\;1^{4a+5}\;0^\infty\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
== Trajectory ==&lt;br /&gt;
This Turing machine starts with &amp;lt;math&amp;gt;A(3)&amp;lt;/math&amp;gt; after 13 steps and halts after 10 rule applications:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;A(3)\to A(6)\to A(10)\to A(16)\to A(24)\to A(34)\to A(48)\to A(66)\to A(90)\to A(122)\to 0^\infty\;\textrm{&amp;lt;}\textrm{Z}\;1^{165}\;0^\infty&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
[[Category:BB(5)]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=1RB0LD_1RC0RF_1LC1LA_0LE1RZ_1LF0RB_0RC0RE&amp;diff=4373</id>
		<title>1RB0LD 1RC0RF 1LC1LA 0LE1RZ 1LF0RB 0RC0RE</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=1RB0LD_1RC0RF_1LC1LA_0LE1RZ_1LF0RB_0RC0RE&amp;diff=4373"/>
		<updated>2025-10-07T22:18:19Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: &amp;gt;:(&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{machine|1RB0LD_1RC0RF_1LC1LA_0LE1RZ_1LF0RB_0RC0RE}}{{Stub}}&lt;br /&gt;
{{TM|1RB0LD_1RC0RF_1LC1LA_0LE1RZ_1LF0RB_0RC0RE|halt}} is a former [[BB(6)]] champion. It was discovered by Pavel Kropitz on 30 May 2022. This TM runs for over 10 ↑↑ 15 steps. An improved bound for this TMs runtime was achieved by Shawn Ligocki, using an extended version of tetration: &amp;lt;math&amp;gt;10 \uparrow\uparrow 15.60463 &amp;lt; \mathrm{Score} &amp;lt; \mathrm{Runtime} &amp;lt; 10 \uparrow\uparrow 15.60466&amp;lt;/math&amp;gt;.&amp;lt;ref&amp;gt;S. Ligocki, &amp;quot;[https://www.sligocki.com/2022/06/25/ext-up-notation.html Extending Up-arrow Notation]&amp;quot;. Blog Post, 2022. Accessed 15 August 2025.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;S. Ligocki, &amp;quot;[https://www.sligocki.com/2022/06/21/bb-6-2-t15.html BB(6, 2) &amp;gt; 10↑↑15]&amp;quot;. Blog post, 2022. Accessed 20 June 2024.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It simulates the following Collatz-like rules, starting at &amp;lt;math&amp;gt;C(5)&amp;lt;/math&amp;gt;, on tape configurations &amp;lt;math&amp;gt;C(n):= 0^\infty\; 1\; 0^n\; 11\; 0^5\; \textrm{C}\textrm{&amp;gt;}\; 0^\infty&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{l}&lt;br /&gt;
  C(4k)   &amp;amp; \to &amp;amp; \operatorname{Halt}\Bigl(\frac{3^{k+3} - 11}{2}\Bigr) \\&lt;br /&gt;
  C(4k+1) &amp;amp; \to &amp;amp; C\Bigl(\frac{3^{k+3} - 11}{2}\Bigr) \\&lt;br /&gt;
  C(4k+2) &amp;amp; \to &amp;amp; C\Bigl(\frac{3^{k+3} - 11}{2}\Bigr) \\&lt;br /&gt;
  C(4k+3) &amp;amp; \to &amp;amp; C\Bigl(\frac{3^{k+3} + 1}{2}\Bigr) \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:BB(6)]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Hydra&amp;diff=4372</id>
		<title>Hydra</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Hydra&amp;diff=4372"/>
		<updated>2025-10-07T22:14:02Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: :(&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{machine|1RB3RB---3LA1RA_2LA3RA4LB0LB0LA}}{{unsolved|Does Hydra run forever?}}&lt;br /&gt;
{{TM|1RB3RB---3LA1RA_2LA3RA4LB0LB0LA|undecided}}, called &#039;&#039;&#039;Hydra&#039;&#039;&#039;, is a [[BB(2,5)]] [[Cryptid]]. Its high-level rules were first reported [https://discord.com/channels/960643023006490684/1084047886494470185/1231110668288135208 on Discord] by Daniel Yuan on 20 April 2024, who also gave Hydra said name. Later on, a 6-state, 2-symbol [[Turing machine]] was discovered and named [[Antihydra]] for having similar behaviour to Hydra, making the study of this machine important to the study of that one.&lt;br /&gt;
&lt;br /&gt;
Hydra is known to not generate Sturmian words&amp;lt;ref&amp;gt;Dubickas A. On Integer Sequences Generated by Linear Maps. &#039;&#039;Glasgow Mathematical Journal&#039;&#039;. 2009; 51(2): 243-252. doi:[https://doi.org/10.1017/S0017089508004655 10.1017/S0017089508004655]&amp;lt;/ref&amp;gt; (Corollary 4).&lt;br /&gt;
&amp;lt;div style=&amp;quot;width: fit-content; text-align: center; margin-left: auto; margin-right: auto;&amp;quot;&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin-left: auto; margin-right: auto;&amp;quot;&lt;br /&gt;
! !!0!!1!!2!!3!!4&lt;br /&gt;
|-&lt;br /&gt;
!A&lt;br /&gt;
|1RB&lt;br /&gt;
|3RB&lt;br /&gt;
| ---&lt;br /&gt;
|3LA&lt;br /&gt;
|1RA&lt;br /&gt;
|-&lt;br /&gt;
!B&lt;br /&gt;
|2LA&lt;br /&gt;
|3RA&lt;br /&gt;
|4LB&lt;br /&gt;
|0LB&lt;br /&gt;
|0LA&lt;br /&gt;
|}&lt;br /&gt;
The transition table of Hydra.&amp;lt;/div&amp;gt;&lt;br /&gt;
== Analysis ==&lt;br /&gt;
Let &amp;lt;math&amp;gt;C(a,b):=0^\infty\;\textrm{&amp;lt;}\textrm{A}\;2\;0^a\;3^b\;2\;0^\infty&amp;lt;/math&amp;gt;. Then,&amp;lt;ref&amp;gt;S. Ligocki, &amp;quot;[https://www.sligocki.com/2024/05/10/bb-2-5-is-hard.html BB(2, 5) is Hard (Hydra)] (2024). Accessed 22 July 2024.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|lll|}\hline&lt;br /&gt;
C(2a,0)&amp;amp;\xrightarrow{6a^2+20a+4}&amp;amp;0^\infty\;3^{3a+1}\;1\;\textrm{A}\textrm{&amp;gt;}\;2\;0^\infty,\\&lt;br /&gt;
C(2a,b+1)&amp;amp;\xrightarrow{6a^2+23a+10}&amp;amp;C(3a+3,b),\\&lt;br /&gt;
C(2a+1,b)&amp;amp;\xrightarrow{4b+6a^2+23a+26}&amp;amp;C(3a+3,b+2).\\\hline&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot;&amp;gt;&#039;&#039;&#039;Proof&#039;&#039;&#039;&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
Consider the partial configuration &amp;lt;math&amp;gt;P(m,n):=0^\infty\;3^m\;\textrm{A}\textrm{&amp;gt;}\;02\;0^n&amp;lt;/math&amp;gt;. After 14 steps this configuration becomes &lt;br /&gt;
&amp;lt;math&amp;gt;0^\infty\;3^{m+3}\;\textrm{&amp;lt;}\textrm{A}\;2\;0^{n-2}&amp;lt;/math&amp;gt;. We note the following shift rule:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|c|}\hline3^s\;\textrm{&amp;lt;}\textrm{A}\xrightarrow{s}\textrm{&amp;lt;}\textrm{A}\;3^s\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
Using this shift rule, we get &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;}\textrm{A}\;3^{m+3}\;2\;0^{n-2}&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;m+3&amp;lt;/math&amp;gt; steps. From here, we can observe that &amp;lt;math&amp;gt;\textrm{A}\textrm{&amp;gt;}\;0\;3^s&amp;lt;/math&amp;gt; turns into &amp;lt;math&amp;gt;3\;\textrm{A}\textrm{&amp;gt;}\;0\;3^{s-1}&amp;lt;/math&amp;gt; in three steps if &amp;lt;math&amp;gt;s\ge 1&amp;lt;/math&amp;gt;. By repeating this process, we acquire this transition rule:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|c|}\hline\textrm{A}\textrm{&amp;gt;}\;0\;3^s\xrightarrow{3s}3^s\;\textrm{A}\textrm{&amp;gt;}\;0\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
With this rule, it takes &amp;lt;math&amp;gt;3m+9&amp;lt;/math&amp;gt; steps to reach the configuration &amp;lt;math&amp;gt;0^\infty\;3^{m+3}\;\textrm{A}\textrm{&amp;gt;}\;02\;0^{n-2}&amp;lt;/math&amp;gt;, which is the same configuration as &amp;lt;math&amp;gt;P(m+3,n-2)&amp;lt;/math&amp;gt;. To summarize:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|c|}\hline P(m,n)\xrightarrow{4m+26}P(m+3,n-2)\text{ if }n\ge 2.\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
With &amp;lt;math&amp;gt;C(a,b)&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;P(0,a)&amp;lt;/math&amp;gt;. As a result, we can apply this rule &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\big\lfloor\frac{1}{2}a\big\rfloor&amp;lt;/math&amp;gt; times, which creates two possible scenarios:&lt;br /&gt;
#If &amp;lt;math&amp;gt;a\equiv0\ (\operatorname{mod}2)&amp;lt;/math&amp;gt;, then in &amp;lt;math&amp;gt;\sum_{i=0}^{(a/2)-1}(4\times 3i+26)=\textstyle\frac{3}{2}a^2+10a&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P\Big(\frac{3}{2}a,0\Big)&amp;lt;/math&amp;gt;. The matching complete configuration is &amp;lt;math&amp;gt;0^\infty\;3^{(3/2)a}\;\textrm{A}\textrm{&amp;gt;}\;02\;3^b\;2\;0^\infty&amp;lt;/math&amp;gt;, which in four steps becomes &amp;lt;math&amp;gt;0^\infty\;3^{(3/2)a+1}\;1\;\textrm{A}\textrm{&amp;gt;}\;3^b\;2\;0^\infty.&amp;lt;/math&amp;gt; If &amp;lt;math&amp;gt;b=0&amp;lt;/math&amp;gt; then we have reached the undefined &amp;lt;code&amp;gt;A2&amp;lt;/code&amp;gt; transition in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{3}{2}a^2+10a+4&amp;lt;/math&amp;gt; steps total. Otherwise, continuing for three steps gives us &amp;lt;math&amp;gt;0^\infty\;3^{(3/2)+2}\;\textrm{&amp;lt;}\textrm{B}\;0\;3^{b-1}\;2\;0^\infty&amp;lt;/math&amp;gt;. Another shift rule is required here:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|c|}\hline3^s\;\textrm{&amp;lt;}\textrm{B}\xrightarrow{s}\textrm{&amp;lt;}\textrm{B}\;0^s\\\hline\end{array}&amp;lt;/math&amp;gt;This means the configuration becomes &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;}\textrm{B}\;0^{(3/2)a+3}\;3^{b-1}\;2\;0^\infty&amp;lt;/math&amp;gt; in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{3}{2}a+2&amp;lt;/math&amp;gt; steps, and &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;}\textrm{A}\;2\;0^{(3/2)a+3}\;3^{b-1}\;2\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(\frac{3}{2}a+3,b-1\Big)&amp;lt;/math&amp;gt;, one step later. This gives a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{3}{2}a^2+\frac{23}{2}a+10&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;a\equiv1\ (\operatorname{mod}2)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{3}{2}a^2+7a-\frac{17}{2}&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P\Big(\frac{3a-3}{2},1\Big)&amp;lt;/math&amp;gt;. The matching complete configuration is &amp;lt;math&amp;gt;0^\infty\;3^{(3a-3)/2}\;\textrm{A}\textrm{&amp;gt;}\;020\;3^b\;2\;0^\infty&amp;lt;/math&amp;gt;, which in four steps becomes &amp;lt;math&amp;gt;0^\infty\;3^{(3a-1)/2}\;1\;\textrm{A}\textrm{&amp;gt;}\;0\;3^b\;2\;0^\infty&amp;lt;/math&amp;gt;, and then &amp;lt;math&amp;gt;0^\infty\;3^{(3a-1)/2}\;1\;3^b\;\textrm{A}\textrm{&amp;gt;}\;02\;0^\infty&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;3b&amp;lt;/math&amp;gt; steps. After 14 steps, we see the configuration &amp;lt;math&amp;gt;0^\infty\;3^{(3a-1)/2}\;1\;3^{b+3}\;\textrm{&amp;lt;}\textrm{A}\;2\;0^\infty&amp;lt;/math&amp;gt;, which turns into &amp;lt;math&amp;gt;0^\infty\;3^{(3a-1)/2}\;1\;\textrm{&amp;lt;}\textrm{A}\;3^{b+3}\;2\;0^\infty&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;b+3&amp;lt;/math&amp;gt; steps. In two steps we get &amp;lt;math&amp;gt;0^\infty\;3^{(3a+1)/2}\;\textrm{&amp;lt;}\textrm{B}\;0\;3^{b+2}\;2\;0^\infty&amp;lt;/math&amp;gt;, followed by &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;}\textrm{B}\;0^{(3a+3)/2}\;3^{b+2}\;2\;0^\infty&amp;lt;/math&amp;gt; after &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{3a+1}{2}&amp;lt;/math&amp;gt; more steps. We conclude with &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;}\textrm{A}\;2\;0^{(3a+3)/2}\;3^{b+2}\;2\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(\frac{3a+3}{2},b+2\Big)&amp;lt;/math&amp;gt;, one step later. This gives a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;4b+\frac{3}{2}a^2+\frac{17}{2}a+16&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
The information above can be summarized as&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;C(a,b)\rightarrow\begin{cases}0^\infty\;3^{(3/2)a+1}\;1\;\textrm{A}\textrm{&amp;gt;}\;2\;0^\infty&amp;amp;\text{if }a\equiv0\pmod{2}\text{ and }b=0,\\C\Big(\frac{3}{2}a+3,b-1\Big)&amp;amp;\text{if }a\equiv0\pmod{2}\text{ and }b&amp;gt;0,\\C\Big(\frac{3a+3}{2},b+2\Big)&amp;amp;\text{if }a\equiv1\pmod2.\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
Substituting &amp;lt;math&amp;gt;a\leftarrow 2a&amp;lt;/math&amp;gt; for the first two cases and &amp;lt;math&amp;gt;a\leftarrow 2a+1&amp;lt;/math&amp;gt; for the third yields the final result.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
In effect, the halting problem for Hydra is about whether repeatedly applying the function &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f(n)=3\big\lfloor\frac{n}{2}\big\rfloor+3&amp;lt;/math&amp;gt; will at some point produce more even values of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; than twice the number of odd values.&lt;br /&gt;
&lt;br /&gt;
An alternative version of these rules exists that makes the connection to Antihydra more apparent by using the function &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;H(n)=\Big\lfloor\frac{3}{2}n\Big\rfloor&amp;lt;/math&amp;gt;, or the [[Hydra function]].&amp;lt;ref&amp;gt;S. Ligocki, &amp;quot;[https://www.sligocki.com/2024/07/06/bb-6-2-is-hard.html BB(6) is Hard (Antihydra)]&amp;quot; (2024). Accessed 22 July 2024.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Trajectory ==&lt;br /&gt;
It takes 20 steps to reach the configuration &amp;lt;math&amp;gt;C(3,0)&amp;lt;/math&amp;gt;, and from there, the [[Collatz-like]] rules are repeatedly applied. Simulating Hydra has shown that after 4000000 rule steps, we have &amp;lt;math&amp;gt;b=2005373&amp;lt;/math&amp;gt;. Here are the first few:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|c|}\hline C(3,0)\xrightarrow{55}C(6,2)\xrightarrow{133}C(12,1)\xrightarrow{364}C(21,0)\xrightarrow{856}C(33,2)\xrightarrow{1938}C(51,4)\xrightarrow{4367}C(78,6)\rightarrow\cdots\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
The heuristic argument that suggests Antihydra is a [[probviously]] non-halting machine can be applied here. This means that if &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; is to be thought of as moving randomly, then the probability of Hydra halting is &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;{\Big(\frac{\sqrt{5}-1}{2}\Big)}^{2005374}\approx 4.168\times 10^{-419099}&amp;lt;/math&amp;gt;.&lt;br /&gt;
== Code ==&lt;br /&gt;
&lt;br /&gt;
Fast Hydra/[[Antihydra]] simulation code by Greg Kuperberg (who said it could be made faster using FLINT):&amp;lt;syntaxhighlight lang=&amp;quot;python2&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
# Python script to demonstrate almost linear time hydra simulation&lt;br /&gt;
# using fast multiplication. &lt;br /&gt;
# by Greg Kuperberg&lt;br /&gt;
&lt;br /&gt;
import time&lt;br /&gt;
from gmpy2 import mpz,bit_mask&lt;br /&gt;
&lt;br /&gt;
# Straight computation of t steps of hydra&lt;br /&gt;
def simple(n,t):&lt;br /&gt;
    for s in range(t): n += n&amp;gt;&amp;gt;1&lt;br /&gt;
    return n&lt;br /&gt;
&lt;br /&gt;
# Accelerated computation of 2**e steps of hydra&lt;br /&gt;
def hydra(n,e):&lt;br /&gt;
    if e &amp;lt; 9: return simple(n,1&amp;lt;&amp;lt;e)&lt;br /&gt;
    t = 1&amp;lt;&amp;lt;(e-1)&lt;br /&gt;
    (p3t,m) = (mpz(3)**t,bit_mask(t))&lt;br /&gt;
    n = p3t*(n&amp;gt;&amp;gt;t) + hydra(n&amp;amp;m,e-1)&lt;br /&gt;
    return p3t*(n&amp;gt;&amp;gt;t) + hydra(n&amp;amp;m,e-1)&lt;br /&gt;
&lt;br /&gt;
def elapsed():&lt;br /&gt;
    (last,elapsed.mark) = (elapsed.mark,time.process_time())&lt;br /&gt;
    return elapsed.mark-last&lt;br /&gt;
elapsed.mark = 0&lt;br /&gt;
&lt;br /&gt;
(n,e) = (mpz(3),25)&lt;br /&gt;
&lt;br /&gt;
elapsed()&lt;br /&gt;
print(&#039;hydra:  steps=%d hash=%016x time=%.6fs&#039;&lt;br /&gt;
    % (1&amp;lt;&amp;lt;e,hash(hydra(n,e)),elapsed()))&lt;br /&gt;
&lt;br /&gt;
# Quadratic time algorithm for comparison&lt;br /&gt;
# print(&#039;simple: steps=%d hash=%016x time=%.6fs&#039;&lt;br /&gt;
#     % (1&amp;lt;&amp;lt;e,hash(simple(n,1&amp;lt;&amp;lt;e)),elapsed()))&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
[[Category:BB(2,5)]][[Category:Cryptids]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Bigfoot&amp;diff=4371</id>
		<title>Bigfoot</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Bigfoot&amp;diff=4371"/>
		<updated>2025-10-07T22:07:22Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: :(&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{machine|1RB2RA1LC_2LC1RB2RB_---2LA1LA}}{{unsolved|Does Bigfoot run forever?}}&lt;br /&gt;
&#039;&#039;&#039;Bigfoot&#039;&#039;&#039; ({{TM|1RB2RA1LC_2LC1RB2RB_---2LA1LA}}) is a [[BB(3,3)]] [[Cryptids|Cryptid]]. Its low-level behaviour was first shared [https://discord.com/channels/960643023006490684/1084047886494470185/1163168233445130270 over Discord] by savask on 14 Oct 2023, and within two days, Shawn Ligocki described the high-level rules shown below, whose attributes inspired the [[Turing machine|Turing machine&#039;s]] name.&amp;lt;ref name=&amp;quot;b&amp;quot;&amp;gt;S. Ligocki, &amp;quot;[https://www.sligocki.com/2023/10/16/bb-3-3-is-hard.html BB(3, 3) is Hard (Bigfoot)] (2024). Accessed 22 July 2024.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;width: fit-content; text-align: center; margin-left: auto; margin-right: auto;&amp;quot;&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin-left: auto; margin-right: auto;&amp;quot;&lt;br /&gt;
! !!0!!1!!2&lt;br /&gt;
|-&lt;br /&gt;
!A&lt;br /&gt;
|1RB&lt;br /&gt;
|2RA&lt;br /&gt;
|1LC&lt;br /&gt;
|-&lt;br /&gt;
!B&lt;br /&gt;
|2LC&lt;br /&gt;
|1RB&lt;br /&gt;
|2RB&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
!C&lt;br /&gt;
| ---&lt;br /&gt;
|2LA&lt;br /&gt;
|1LA&lt;br /&gt;
|}&lt;br /&gt;
The transition table of Bigfoot.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In May of 2024, Iijil [https://github.com/sligocki/sligocki.github.io/issues/8#issuecomment-2140887228 compiled] Bigfoot into a 7-state 2-symbol machine {{TM|0RB1RB_1LC0RA_1RE1LF_1LF1RE_0RD1RD_1LG0LG_---1LB}}.&lt;br /&gt;
&lt;br /&gt;
== Analysis ==&lt;br /&gt;
Let &amp;lt;math&amp;gt;A(a,b,c):=0^\infty\;12^a\;1^{2b}\;\textrm{&amp;lt;}\textrm{A}\;1^{2c}\;0^\infty&amp;lt;/math&amp;gt;. Then,&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l l l|}\hline A(a,6b,c)&amp;amp;\xrightarrow{4a+(2b+1)48b+(12b+1)2c+13}&amp;amp;A(a,8b+c-1,2),\\A(a,6b+1,c)&amp;amp;\xrightarrow{4a+(6b+5)16b+(4b+1)6c+29}&amp;amp;A(a+1,8b+c-1,3),\\A(0,6b+2,c)&amp;amp;\xrightarrow{(b+1)96b+(3b+1)8c+18}&amp;amp;0^\infty\;\textrm{&amp;lt;}\textrm{C}\;1^{16b+2c+5}\;2\;0^\infty,\\A(a,6b+2,c)&amp;amp;\xrightarrow{4a+(2b+3)48b+(12b+7)2c+51}&amp;amp;A(a-1,8b+c+3,2)\text{ if }a\ge1,\\A(a,6b+3,c)&amp;amp;\xrightarrow{4a+(6b+7)16b+(12b+5)2c+91}&amp;amp;A(a,8b+c+1,5),\\A(a,6b+4,c)&amp;amp;\xrightarrow{4a+(2b+3)48b+(12b+7)2c+63}&amp;amp;A(a+1,8b+c+3,2),\\A(a,6b+5,c)&amp;amp;\xrightarrow{4a+(6b+11)16b+(4b+3)6c+103}&amp;amp;A(a,8b+c+5,3).\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot;&amp;gt;&#039;&#039;&#039;Proof&#039;&#039;&#039;&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
For now, we will work with the slightly different configuration &amp;lt;math&amp;gt;A&#039;(a,b,c):=0^\infty\;12^a\;1^b\;\textrm{&amp;lt;}\textrm{A}\;1^c\;0^\infty&amp;lt;/math&amp;gt;. Consider the partial configuration &amp;lt;math&amp;gt;P(m,n):=1^m\;\textrm{&amp;lt;}\textrm{A}\;1^n\;0^\infty&amp;lt;/math&amp;gt;. We first require the following shift rule:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline\textrm{A}\textrm{&amp;gt;}\;1^s\xrightarrow{s}2^s\;\textrm{A}\textrm{&amp;gt;}\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
Using this shift rule, we get &amp;lt;math&amp;gt;1^{m-1}\;2^{n+1}\;\textrm{A}\textrm{&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt; after &amp;lt;math&amp;gt;n+1&amp;lt;/math&amp;gt; steps, followed by &amp;lt;math&amp;gt;1^{m-1}\;2^n\;\textrm{&amp;lt;}\textrm{C}\;122\;0^\infty&amp;lt;/math&amp;gt; four steps later. Observing that &amp;lt;math&amp;gt;22\;\textrm{&amp;lt;}\textrm{C}&amp;lt;/math&amp;gt; becomes &amp;lt;math&amp;gt;\textrm{&amp;lt;}\textrm{C}\;11&amp;lt;/math&amp;gt; in two steps leads to another shift rule:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline2^{2s}\;\textrm{&amp;lt;}\textrm{C}\xrightarrow{2s}\textrm{&amp;lt;}\textrm{C}\;1^{2s}\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
From here, there are two different scenarios depending on if &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is even or odd, given below as histories of transitions that use the aforementioned shift rules:&lt;br /&gt;
#If &amp;lt;math&amp;gt;n\equiv0\ (\operatorname{mod}2)&amp;lt;/math&amp;gt;, then what follows is:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline 1^{m-1}\;2^n\;\textrm{&amp;lt;}\textrm{C}\;122\;0^\infty \xrightarrow{n} 1^{m-1}\;\textrm{&amp;lt;}\textrm{C}\;1^{n+1}\;22\;0^\infty\xrightarrow{4}1^{m-3}\;\textrm{&amp;lt;}\textrm{A}\;1^{n+3}\;22\;0^\infty\xrightarrow{n+4}\\&lt;br /&gt;
1^{m-4}\;2^{n+4}\;\textrm{A}\textrm{&amp;gt;}\;22\;0^\infty\xrightarrow{1}1^{m-4}\;2^{n+4}\;\textrm{&amp;lt;}\textrm{C}\;12\;0^\infty\xrightarrow{n+4}1^{m-4}\;\textrm{&amp;lt;}\textrm{C}\;1^{n+5}\;2\;0^\infty\xrightarrow{4}\\1^{m-6}\;\textrm{&amp;lt;}\textrm{A}\;1^{n+7}\;2\;0^\infty\xrightarrow{n+8}1^{m-7}\;2^{n+8}\;\textrm{A}\textrm{&amp;gt;}\;2\;0^\infty\xrightarrow{1}1^{m-7}\;2^{n+8}\;\textrm{&amp;lt;}\textrm{C}\;1\;0^\infty\xrightarrow{n+8}\\1^{m-7}\;\textrm{&amp;lt;}\textrm{C}\;1^{n+9}\;0^\infty\xrightarrow{4}1^{m-9}\;\textrm{&amp;lt;}\textrm{A}\;1^{n+11}\;0^\infty\\\hline\end{array}&amp;lt;/math&amp;gt;Therefore, we have&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline P(m,n)\xrightarrow{6n+43}P(m-9,n+11)\text{ if }m\ge9\text{ and }n\equiv0\ (\operatorname{mod}2).\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
# If &amp;lt;math&amp;gt;n\equiv1\ (\operatorname{mod}2)&amp;lt;/math&amp;gt;, then what follows is:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline 1^{m-1}\;2^n\;\textrm{&amp;lt;}\textrm{C}\;122\;0^\infty \xrightarrow{n-1} 1^{m-1}\;2\;\textrm{&amp;lt;}\textrm{C}\;1^n\;22\;0^\infty \xrightarrow{1}1^{m-1}\;\textrm{&amp;lt;}\textrm{A}\;1^{n+1}\;22\;0^\infty \xrightarrow{n+2}\\ 1^{m-2}\;2^{n+2}\;\textrm{A}\textrm{&amp;gt;}\;22\;0^\infty \xrightarrow{1} 1^{m-2}\;2^{n+2}\;\textrm{&amp;lt;}\textrm{C}\;12\;0^\infty \xrightarrow{n+1}1^{m-2}\;2\;\textrm{&amp;lt;}\textrm{C}\;1^{n+2}\;2\;0^\infty \xrightarrow{1}\\ 1^{m-2}\;\textrm{&amp;lt;}\textrm{A}\;1^{n+3}\;2\;0^\infty \xrightarrow{n+4} 1^{m-3}\;2^{n+4}\;\textrm{A}\textrm{&amp;gt;}\;2\;0^\infty\xrightarrow{1}1^{m-3}\;2^{n+4}\;\textrm{&amp;lt;}\textrm{C}\;1\;0^\infty\xrightarrow{n+3}\\1^{m-3}\;2\;\textrm{&amp;lt;}\textrm{C}\;1^{n+4}\;0^\infty\xrightarrow{1}1^{m-3}\;\textrm{&amp;lt;}\textrm{A}\;1^{n+5}\;0^\infty\\\hline\end{array}&amp;lt;/math&amp;gt;Therefore, we have&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline P(m,n)\xrightarrow{6n+19}P(m-3,n+5)\text{ if }m\ge3\text{ and }n\equiv1\ (\operatorname{mod}2).\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
From this we know that Bigfoot&#039;s behaviour depends on the value of &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; modulo 12, and with &amp;lt;math&amp;gt;A&#039;(a,b,c)&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;P(b,c)&amp;lt;/math&amp;gt;. The following shift rules will be useful:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|l|l|}\hline12^s\;\textrm{&amp;lt;}\textrm{A}\xrightarrow{2s}\textrm{&amp;lt;}\textrm{A}\;21^s&amp;amp;\textrm{B}\textrm{&amp;gt;}\;1^s\xrightarrow{s}1^s\;\textrm{B}\textrm{&amp;gt;}&amp;amp;\textrm{B}\textrm{&amp;gt;}\;2^s\xrightarrow{s}2^s\;\textrm{B}\textrm{&amp;gt;}\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
Only even values of &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; are relevant, so there remain six possible scenarios:&lt;br /&gt;
#If &amp;lt;math&amp;gt;b\equiv0\ (\operatorname{mod}12)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;{\displaystyle\sum_{i=0}^{b/12-1}}(6(16i+c)+43+6(16i+11+c)+19)={\displaystyle\sum_{i=0}^{b/12-1}}4(48i+3c+32)=\frac{2}{3}b^2+\frac{8}{3}b+bc&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P\Big(0,16\times\frac{b}{12}+c\Big)&amp;lt;/math&amp;gt;, or &amp;lt;math&amp;gt;0^\infty\;12^a\;\textrm{&amp;lt;}\textrm{A}\;1^{4b/3+c}\;0^\infty&amp;lt;/math&amp;gt; when considering the complete configuration. What follows is:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline0^\infty\;12^a\;\textrm{&amp;lt;}\textrm{A}\;1^{4b/3+c}\;0^\infty\xrightarrow{2a}0^\infty\;\textrm{&amp;lt;}\textrm{A}\;21^a\;1^{4b/3+c}\;0^\infty\xrightarrow{1}0^\infty\;1\;\textrm{B}\textrm{&amp;gt;}\;21^a\;1^{4b/3+c}\;0^\infty\xrightarrow{2a+4b/3+c}\\0^\infty\;12^a\;1^{4b/3+c+1}\;\textrm{B}\textrm{&amp;gt;}\;0^\infty\xrightarrow{12}0^\infty\;12^a\;1^{4b/3+c-2}\;\textrm{&amp;lt;}\textrm{A}\;1^4\;0^\infty\\\hline\end{array}&amp;lt;/math&amp;gt;This means that if &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b+c\ge2&amp;lt;/math&amp;gt;, then we will reach &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;A&#039;\Big(a,\frac{4}{3}b+c-2,4\Big)&amp;lt;/math&amp;gt; in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;4a+\frac{2}{3}b^2+4b+bc+c+13&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;b\equiv2\ (\operatorname{mod}12)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;{\displaystyle\sum_{i=0}^{(b-2)/12-1}}4(48i+3c+32)=\frac{2}{3}b^2+bc-2c-\frac{8}{3}&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P\Big(2,\frac{4(b-2)}{3}+c\Big)&amp;lt;/math&amp;gt;, or &amp;lt;math&amp;gt;0^\infty\;12^a\;11\;\textrm{&amp;lt;}\textrm{A}\;1^{(4b-2)/3+c}\;0^\infty&amp;lt;/math&amp;gt;. What follows is:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline0^\infty\;12^a\;11\;\textrm{&amp;lt;}\textrm{A}\;1^{4(b-2)/3+c}\;0^\infty\xrightarrow{4(b-2)/3+c+1}0^\infty\;12^a\;1\;2^{4(b-2)/3+c+1}\;\textrm{A}\textrm{&amp;gt;}\;0^\infty\xrightarrow{4}\\0^\infty\;12^a\;1\;2^{4(b-2)/3+c}\;\textrm{&amp;lt;}\textrm{C}\;122\;0^\infty\xrightarrow{4(b-2)/3+c}0^\infty\;12^a\;1\;\textrm{&amp;lt;}\textrm{C}\;1^{4(b-2)/3+c+1}\;22\;0^\infty\xrightarrow{1}\\0^\infty\;12^a\;\textrm{&amp;lt;}\textrm{A}\;2\;1^{4(b-2)/3+c+1}\;22\;0^\infty\xrightarrow{2a}0^\infty\;\textrm{&amp;lt;}\textrm{A}\;21^a\;2\;1^{4(b-2)/3+c+1}\;22\;0^\infty\xrightarrow{1}\\0^\infty\;1\;\textrm{B}\textrm{&amp;gt;}\;21^a\;2\;1^{4(b-2)/3+c+1}\;22\;0^\infty\xrightarrow{4(b-2)/3+2a+c+4}0^\infty\;12^{a+1}\;1^{4(b-2)/3+c+1}\;22\;\textrm{B}\textrm{&amp;gt;}\;0^\infty\xrightarrow{18}\\0^\infty\;12^{a+1}\;1^{4(b-2)/3+c-2}\;\textrm{&amp;lt;}\textrm{A}\;1^6\;0^\infty\\\hline\end{array}&amp;lt;/math&amp;gt;This means that if &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4(b-2)}{3}+c\ge 2&amp;lt;/math&amp;gt;, then we will reach &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;A&#039;\Big(a+1,\frac{4b-14}{3}+c,6\Big)&amp;lt;/math&amp;gt; in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;4a+\frac{2}{3}b^2+4b+bc+c+\frac{55}{3}&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;b\equiv4\ (\operatorname{mod}12)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;gt;\frac{2}{3}b^2-\frac{8}{3}b+bc-4c&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P\Big(4,\frac{4(b-4)}{3}+c\Big)&amp;lt;/math&amp;gt;, or &amp;lt;math&amp;gt;0^\infty\;12^a\;1111\;\textrm{&amp;lt;}\textrm{A}\;1^{4(b-4)/3+c}\;0^\infty&amp;lt;/math&amp;gt;. What follows is:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline0^\infty\;12^a\;1111\;\textrm{&amp;lt;}\textrm{A}\;1^{4(b-4)/3+c}\;0^\infty\xrightarrow{(8b-14)/3+2c}0^\infty\;12^a\;11\;\textrm{&amp;lt;}\textrm{A}\;2\;1^{4(b-4)/3+c+1}\;22\;0^\infty\xrightarrow{3}\\0^\infty\;12^a\;1\;\textrm{&amp;lt;}\textrm{A}\;1^{4(b-4)/3+c+3}\;22\;0^\infty\xrightarrow{4(b-4)/3+c+4}0^\infty\;12^a\;2^{4(b-4)/3+c+4}\;\textrm{A}\textrm{&amp;gt;}\;22\;0^\infty\xrightarrow{1}\\0^\infty\;12^a\;2^{4(b-4)/3+c+4}\;\textrm{&amp;lt;}\textrm{C}\;12\;0^\infty\xrightarrow{4(b-4)/3+c+4}0^\infty\;12^a\;\textrm{&amp;lt;}\textrm{C}\;1^{4(b-4)/3+c+5}\;2\;0^\infty\xrightarrow{1}\\0^\infty\;12^{a-1}\;1\;\textrm{&amp;lt;}\textrm{A}\;1^{4(b-4)/3+c+6}\;2\;0^\infty\xrightarrow{4(b-4)/3+c+7}0^\infty\;12^{a-1}\;2^{4(b-4)/3+c+7}\;\textrm{A}\textrm{&amp;gt;}\;2\;0^\infty\xrightarrow{1}\\0^\infty\;12^{a-1}\;2^{4(b-4)/3+c+7}\;\textrm{&amp;lt;}\textrm{C}\;1\;0^\infty\xrightarrow{4(b-4)/3+c+6}0^\infty\;12^{a-1}\;2\;\textrm{&amp;lt;}\textrm{C}\;1^{4(b-4)/3+c+7}\;0^\infty\xrightarrow{1}\\0^\infty\;12^{a-1}\;\textrm{&amp;lt;}\textrm{A}\;1^{4(b-4)/3+c+8}\;0^\infty\xrightarrow{2(a-1)}0^\infty\;\textrm{&amp;lt;}\textrm{A}\;21^{a-1}\;1^{4(b-4)/3+c+8}\;0^\infty\xrightarrow{1}\\0^\infty\;1\;\textrm{B}\textrm{&amp;gt;}\;21^{a-1}\;1^{4(b-4)/3+c+8}\;0^\infty\xrightarrow{2a+4(b-4)/3+c+6}0^\infty\;12^{a-1}\;1^{4(b-4)/3+c+9}\;\textrm{B}\textrm{&amp;gt;}\;0^\infty\xrightarrow{12}\\0^\infty\;12^{a-1}\;1^{4(b-4)/3+c+6}\;\textrm{&amp;lt;}\textrm{A}\;1^4\;0^\infty\\\hline\end{array}&amp;lt;/math&amp;gt;This means that if &amp;lt;math&amp;gt;a=0&amp;lt;/math&amp;gt;, then Bigfoot will reach the undefined &amp;lt;code&amp;gt;C0&amp;lt;/code&amp;gt; transition with the configuration &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;}\textrm{C}\;1^{(4b-1)/3+c}\;2\;0^\infty&amp;lt;/math&amp;gt; in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{2}{3}b^2+\frac{8}{3}b+bc-\frac{10}{3}&amp;lt;/math&amp;gt; steps. Otherwise, it will proceed to reach &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;A&#039;\Big(a-1,\frac{4b+2}{3}+c,4\Big)&amp;lt;/math&amp;gt; in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;4a+\frac{2}{3}b^2+\frac{20}{3}b+bc+3c+\frac{41}{3}&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;b\equiv6\ (\operatorname{mod}12)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{2}{3}b^2-\frac{16}{3}b+bc-6c+8&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P\Big(6,\frac{4(b-6)}{3}+c\Big)&amp;lt;/math&amp;gt;, or &amp;lt;math&amp;gt;0^\infty\;12^a\;111111\;\textrm{&amp;lt;}\textrm{A}\;1^{4(b-6)/3+c}\;0^\infty&amp;lt;/math&amp;gt;. What follows is:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline0^\infty\;12^a\;111111\;\textrm{&amp;lt;}\textrm{A}\;1^{4(b-6)/3+c}\;0^\infty\xrightarrow{16b/3+4c-14}0^\infty\;12^a\;11\;\textrm{&amp;lt;}\textrm{C}\;1^{4(b-6)/3+c+5}\;2\;0^\infty\xrightarrow{4}\\0^\infty\;12^a\;\textrm{&amp;lt;}\textrm{A}\;1^{4(b-6)/3+c+7}\;2\;0^\infty\xrightarrow{2a}0^\infty\;\textrm{&amp;lt;}\textrm{A}\;21^a\;1^{4(b-6)/3+c+7}\;2\;0^\infty\xrightarrow{1}\\0^\infty\;1\;\textrm{B}\textrm{&amp;gt;}\;21^a\;1^{4(b-6)/3+c+7}\;2\;0^\infty\xrightarrow{2a+4(b-6)/3+c+8}0^\infty\;12^a\;1^{4(b-6)/3+c+8}\;2\;\textrm{B}\textrm{&amp;gt;}\;0^\infty\xrightarrow{60}\\0^\infty\;12^a\;1^{4(b-6)/3+c+2}\;\textrm{&amp;lt;}\textrm{A}\;1^{10}\;0^\infty\\\hline\end{array}&amp;lt;/math&amp;gt;This means that we will reach &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;A&#039;\Big(a,\frac{4}{3}b+c-6,10\Big)&amp;lt;/math&amp;gt; in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;4a+\frac{2}{3}b^2+\frac{4}{3}b+bc-c+59&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;b\equiv8\ (\operatorname{mod}12)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;gt;\frac{2}{3}b^2-8b+bc-8c+\frac{64}{3}&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P\Big(8,\frac{4(b-8)}{3}+c\Big)&amp;lt;/math&amp;gt;, or &amp;lt;math&amp;gt;0^\infty\;12^a\;1^8\;\textrm{&amp;lt;}\textrm{A}\;1^{4(b-8)/3+c}\;0^\infty&amp;lt;/math&amp;gt;. What follows is:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline0^\infty\;12^a\;1^8\;\textrm{&amp;lt;}\textrm{A}\;1^{4(b-8)/3+c}\;0^\infty\xrightarrow{(16b-62)/3+4c}0^\infty\;12^a\;11\;\textrm{&amp;lt;}\textrm{A}\;1^{4(b-8)/3+c+7}\;2\;0^\infty\xrightarrow{4(b-8)/3+c+8}\\0^\infty\;12^a\;1\;2^{4(b-8)/3+c+8}\;\textrm{A}\textrm{&amp;gt;}\;2\;0^\infty\xrightarrow{1}0^\infty\;12^a\;1\;2^{4(b-8)/3+c+8}\;\textrm{&amp;lt;}\textrm{C}\;1\;0^\infty\xrightarrow{4(b-8)/3+c+8}\\0^\infty\;12^a\;1\;\textrm{&amp;lt;}\textrm{C}\;1^{4(b-8)/3+c+9}\;0^\infty\xrightarrow{1}0^\infty\;12^a\;\textrm{&amp;lt;}\textrm{A}\;2\;1^{4(b-8)/3+c+9}\;0^\infty\xrightarrow{2a}\\0^\infty\;\textrm{&amp;lt;}\textrm{A}\;21^a\;2\;1^{4(b-8)/3+c+9}\;0^\infty\xrightarrow{1}0^\infty\;1\;\textrm{B}\textrm{&amp;gt;}\;21^a\;2\;1^{4(b-8)/3+c+9}\;0^\infty\xrightarrow{2a+4(b-8)/3+c+10}\\0^\infty\;12^{a+1}\;1^{4(b-8)/3+c+9}\;\textrm{B}\textrm{&amp;gt;}\;0^\infty\xrightarrow{12}0^\infty\;12^{a+1}\;1^{4(b-8)/3+c+6}\;\textrm{&amp;lt;}\textrm{A}\;1^4\;0^\infty\\\hline\end{array}&amp;lt;/math&amp;gt;This means that we will reach &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;A&#039;\Big(a+1,\frac{4b-14}{3}+c,4\Big)&amp;lt;/math&amp;gt; in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;4a+\frac{2}{3}b^2+\frac{4}{3}b+bc-c+\frac{29}{3}&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;b\equiv10\ (\operatorname{mod}12)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{2}{3}b^2-\frac{32}{3}b+bc-10c+40&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P\Big(10,\frac{4(b-10)}{3}+c\Big)&amp;lt;/math&amp;gt;, or &amp;lt;math&amp;gt;0^\infty\;12^a\;1^{10}\;\textrm{&amp;lt;}\textrm{A}\;1^{4(b-10)/3+c}\;0^\infty&amp;lt;/math&amp;gt;. What follows is:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline0^\infty\;12^a\;1^{10}\;\textrm{&amp;lt;}\textrm{A}\;1^{4(b-  10)/3+c}\;0^\infty\xrightarrow{8b+6c-37}0^\infty\;12^a\;1\;\textrm{&amp;lt;}\textrm{A}\;1^{4(b-  10)/3+c+11}\;0^\infty\xrightarrow{4(b-  10)/3+c+12}\\0^\infty\;12^a\;2^{4(b-  10)/3+c+12}\;\textrm{A}\textrm{&amp;gt;}\;0^\infty\xrightarrow{4}0^\infty\;12^a\;2^{4(b-10)/3+c+11}\;\textrm{&amp;lt;}\textrm{C}\;122\;0^\infty\xrightarrow{4(b-10)/3+c+10}\\0^\infty\;12^a\;2\;\textrm{&amp;lt;}\textrm{C}\;1^{4(b-  10)/3+c+11}\;22\;0^\infty\xrightarrow{1}0^\infty\;12^a\;\textrm{&amp;lt;}\textrm{A}\;1^{4(b-10)/3+c+12}\;22\;0^\infty\xrightarrow{2a}\\0^\infty\;\textrm{&amp;lt;}\textrm{A}\;12^a\;1^{4(b-10)/3+c+12}\;22\;0^\infty\xrightarrow{1}0^\infty\;1\;\textrm{B}\textrm{&amp;gt;}\;12^a\;1^{4(b-10)/3+c+12}\;22\;0^\infty\xrightarrow{2a+4(b-10)/3+c+14}\\0^\infty\;12^a\;1^{4(b-10)/3+c+13}\;22\;\textrm{B}\textrm{&amp;gt;}\;0^\infty\xrightarrow{18}0^\infty\;12^a\;1^{4(b-10)/3+c+10}\;\textrm{&amp;lt;}\textrm{A}\;1^6\;0^\infty\\\hline\end{array}&amp;lt;/math&amp;gt;This means that we will reach &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;A&#039;\Big(a,\frac{4b-10}{3}+c,6\Big)&amp;lt;/math&amp;gt; in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;4a+\frac{2}{3}b^2+\frac{4}{3}b+bc-c+23&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
The information above can be summarized as&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;A&#039;(a,b,c)\rightarrow\begin{cases}A&#039;\Big(a,\frac{4}{3}b+c-2,4\Big)&amp;amp;\text{if }b\equiv0\pmod{12}\text{ and }\frac{4}{3}b+c\ge2,\\A&#039;\Big(a+1,\frac{4b-14}{3}+c,6\Big)&amp;amp;\text{if }b\equiv2\pmod{12}\text{ and }\frac{4(b-2)}{3}+c\ge2,\\0^\infty\;\textrm{&amp;lt;}\textrm{C}\;1^{(4b-1)/3+c}\;2\;0^\infty&amp;amp;\text{if }b\equiv4\pmod{12}\text{ and }a=0,\\A&#039;\Big(a-1,\frac{4b+2}{3}+c,4\Big)&amp;amp;\text{if }b\equiv4\pmod{12}\text{ and }a&amp;gt;0,\\A&#039;\Big(a,\frac{4}{3}b+c-6,10\Big)&amp;amp;\text{if }b\equiv6\pmod{12},\\A&#039;\Big(a+1,\frac{4b-14}{3}+c,4\Big)&amp;amp;\text{if }b\equiv8\pmod{12},\\A&#039;\Big(a,\frac{4b-10}{3}+c,6\Big)&amp;amp;\text{if }b\equiv10\pmod{12}.\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
Using the definitions of &amp;lt;math&amp;gt;A&#039;&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; to transform these rules produces this:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;A(a,b,c)\rightarrow\begin{cases}A\Big(a,\frac{4}{3}b+c-1,2\Big)&amp;amp;\text{if }b\equiv0\pmod{6}\text{ and }\frac{4}{3}b+c\ge1,\\A\Big(a+1,\frac{4b-7}{3}+c,3\Big)&amp;amp;\text{if }b\equiv1\pmod{6}\text{ and }\frac{4(b-1)}{3}+c\ge1,\\0^\infty\;\textrm{&amp;lt;}\textrm{C}\;1^{(8b-1)/3+2c}\;2\;0^\infty&amp;amp;\text{if }b\equiv2\pmod{6}\text{ and }a=0,\\A\Big(a-1,\frac{4b+1}{3}+c,2\Big)&amp;amp;\text{if }b\equiv2\pmod{6}\text{ and }a&amp;gt;0,\\A\Big(a,\frac{4}{3}b+c-3,5\Big)&amp;amp;\text{if }b\equiv3\pmod{6},\\A\Big(a+1,\frac{4b-7}{3}+c,2\Big)&amp;amp;\text{if }b\equiv4\pmod{6},\\A\Big(a,\frac{4b-5}{3}+c,3\Big)&amp;amp;\text{if }b\equiv5\pmod{6}.\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
Substituting &amp;lt;math&amp;gt;b\leftarrow6b+k&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; is the remainder for each case yields the final result.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
Using the floor function, it is possible to describe the behaviour of &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; using a function that is not defined piecewise:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\textstyle\begin{array}{c}f(m,n)=\Big(\frac{4m-3-4(\delta_1(m)-\delta_2(m)+\delta_4(m))-2(3\delta_3(m)+\delta_5(m))}{3}+n,2+\delta_1(m)+3\delta_3(m)+\delta_5(m)\Big),\\\delta_i(m)=\Big\lfloor\frac{m-i}{6}\Big\rfloor-\Big\lfloor\frac{m-i-1}{6}\Big\rfloor=\begin{cases}1&amp;amp;\text{if }m\equiv i\pmod{6},\\0&amp;amp;\text{otherwise.}\end{cases}\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
In effect, the halting problem for Bigfoot is about whether through enough iterations of &amp;lt;math&amp;gt;f(m,n)&amp;lt;/math&amp;gt; we encounter more &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; values that are congruent to 2 modulo 6 than ones that are congruent to 1 or 4 modulo 6.&lt;br /&gt;
&lt;br /&gt;
An important insight is that if &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; is odd and &amp;lt;math&amp;gt;c=2&amp;lt;/math&amp;gt;, then after four iterations of &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt;, that will remain the case. This allows one to define a configuration that eliminates the &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; parameter and whose rules use a modulus of 81.&amp;lt;ref name=&amp;quot;b&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Trajectory ==&lt;br /&gt;
After 69 steps, Bigfoot will reach the configuration &amp;lt;math&amp;gt;A(2,1,2)&amp;lt;/math&amp;gt; before the [[Collatz-like]] rules are repeatedly applied. Simulations of Bigfoot have shown that after 24000000 rule steps, we have &amp;lt;math&amp;gt;a=3999888&amp;lt;/math&amp;gt;. Here are the first few:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline A(2,1,2)\xrightarrow{49}A(3,1,3)\xrightarrow{59}A(4,2,3)\xrightarrow{109}A(3,6,2)\xrightarrow{221}A(3,9,2)\xrightarrow{379}A(3,11,5)\xrightarrow{597}A(3,18,3)\rightarrow\cdots\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
There exists a heuristic argument for Bigfoot being [[probviously]] non-halting. By only considering the rules for which &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; changes, one may notice that the trajectory of &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; values can be approximated by a random walk in which at each step, the walker moves +1 with probability &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{2}{3}&amp;lt;/math&amp;gt; or moves -1 with probability &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{1}{3}&amp;lt;/math&amp;gt;, starting at position 2. If &amp;lt;math&amp;gt;P(n)&amp;lt;/math&amp;gt; is the probability that the walker will reach position -1 from position &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P(n)=\frac{1}{3}P(n-1)+\frac{2}{3}P(n+1)&amp;lt;/math&amp;gt;. Solutions to this recurrence relation come in the form &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt; P(n)=c_02^{-n}+c_1&amp;lt;/math&amp;gt;, which after applying the appropriate boundary conditions reduces to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P(n)=2^{-(n+1)}&amp;lt;/math&amp;gt;. As a result, if the walker gets to position 3999888, then the probability of it ever reaching position -1 would be &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;2^{-3999889}\approx 2.697\times 10^{-1204087}&amp;lt;/math&amp;gt;.&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
[[Category:BB(3,3)]][[Category:Cryptids]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Antihydra&amp;diff=4370</id>
		<title>Antihydra</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Antihydra&amp;diff=4370"/>
		<updated>2025-10-07T22:01:59Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: :(&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{machine|1RB1RA_0LC1LE_1LD1LC_1LA0LB_1LF1RE_---0RA}}{{unsolved|Does Antihydra run forever?}}&lt;br /&gt;
{{TM|1RB1RA_0LC1LE_1LD1LC_1LA0LB_1LF1RE_---0RA|undecided}}, called &#039;&#039;&#039;Antihydra&#039;&#039;&#039;, is a [[BB(6)]] [[Cryptid]]. Its pseudo-random behaviour was first reported [https://discord.com/channels/960643023006490684/1026577255754903572/1256223215206924318 on Discord] by mxdys on 28 June 2024, and Racheline discovered the high-level rules soon after. It was named after the 2-state, 5-symbol [[Turing machine]] called [[Hydra]] for sharing many similarities to it.&amp;lt;ref&amp;gt;[https://discord.com/channels/960643023006490684/960643023530762341/1257053002859286701 Discord conversation where the machine was named]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Antihydra is known to not generate Sturmian words&amp;lt;ref&amp;gt;DUBICKAS A. ON INTEGER SEQUENCES GENERATED BY LINEAR MAPS. &#039;&#039;Glasgow Mathematical Journal&#039;&#039;. 2009;51(2):243-252. doi:[https://doi.org/10.1017/S0017089508004655 10.1017/S0017089508004655]&amp;lt;/ref&amp;gt; (Corollary 4).&lt;br /&gt;
&amp;lt;table style=&amp;quot;margin: auto; text-align: center;&amp;quot;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;width: 200px;&amp;quot;&amp;gt;[[File:Antihydra-depiction.png|200px]]&amp;lt;br&amp;gt;Artistic depiction of Antihydra by Jadeix&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin-left: auto; margin-right: auto;&amp;quot;&lt;br /&gt;
! !!0!!1&lt;br /&gt;
|-&lt;br /&gt;
!A&lt;br /&gt;
|1RB&lt;br /&gt;
|1RA&lt;br /&gt;
|-&lt;br /&gt;
!B&lt;br /&gt;
|0LC&lt;br /&gt;
|1LE&lt;br /&gt;
|-&lt;br /&gt;
!C&lt;br /&gt;
|1LD&lt;br /&gt;
|1LC&lt;br /&gt;
|-&lt;br /&gt;
!D&lt;br /&gt;
|1LA&lt;br /&gt;
|0LB&lt;br /&gt;
|-&lt;br /&gt;
!E&lt;br /&gt;
|1LF&lt;br /&gt;
|1RE&lt;br /&gt;
|-&lt;br /&gt;
!F&lt;br /&gt;
| ---&lt;br /&gt;
|0RA&lt;br /&gt;
|}&lt;br /&gt;
The transition table of Antihydra.&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;[[File:Antihydra_state_diagram.png|200x200px]]&lt;br /&gt;
State diagram of Antihydra&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&amp;lt;td style=&amp;quot;width: 220px;&amp;quot;&amp;gt;[[File:Antihydra award.jpg|220px]]&amp;lt;br&amp;gt;A community trophy - to be awarded to the first person or group who solves the Antihydra problem&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
== Analysis ==&lt;br /&gt;
Let &amp;lt;math&amp;gt;A(a,b):=0^\infty\;1^a\;0\;1^b\;\textrm{E}\textrm{&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;. Then,&amp;lt;ref name=&amp;quot;bl&amp;quot;&amp;gt;S. Ligocki, &amp;quot;[https://www.sligocki.com/2024/07/06/bb-6-2-is-hard.html BB(6) is Hard (Antihydra)]&amp;quot; (2024). Accessed 22 July 2024.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|lll|}\hline&lt;br /&gt;
A(a,2b)&amp;amp; \xrightarrow{2a+3b^2+12b+11}&amp;amp; A(a+2,3b+2),\\&lt;br /&gt;
A(0,2b+1)&amp;amp;\xrightarrow{3b^2+9b-1}&amp;amp; 0^\infty\;\textrm{&amp;lt;}\textrm{F}\;110\;1^{3b}\;0^\infty,\\&lt;br /&gt;
A(a+1,2b+1)&amp;amp;\xrightarrow{3b^2+12b+5}&amp;amp; A(a,3b+3).\\\hline&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot;&amp;gt;&#039;&#039;&#039;Proof&#039;&#039;&#039;&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
Consider the partial configuration &amp;lt;math&amp;gt;P(m,n):=0\;1^m\;\textrm{E}\textrm{&amp;gt;}\;0\;1^n\;0^\infty&amp;lt;/math&amp;gt;. The configuration after two steps is &amp;lt;math&amp;gt;0\;1^{m-1}\;0\;\textrm{A}\textrm{&amp;gt;}\;1^{n+1}\;0^\infty&amp;lt;/math&amp;gt;. We note the following shift rule:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|c|}\hline\textrm{A}\textrm{&amp;gt;}\;1^s\xrightarrow{s}1^s\;\textrm{A}\textrm{&amp;gt;}\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
As a result, we get &amp;lt;math&amp;gt;0\;1^{m-1}\;0\;1^{n+1}\;\textrm{A}\textrm{&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt; after &amp;lt;math&amp;gt;n+1&amp;lt;/math&amp;gt; steps. Advancing two steps produces &amp;lt;math&amp;gt;0\;1^{m-1}\;0\;1^{n+2}\;\textrm{&amp;lt;}\textrm{C}\;0^\infty&amp;lt;/math&amp;gt;. A second shift rule is useful here:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|c|}\hline1^s\;\textrm{&amp;lt;}\textrm{C}\xrightarrow{s}\textrm{&amp;lt;}\textrm{C}\;1^s\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
This allows us to reach &amp;lt;math&amp;gt;0\;1^{m-1}\;0\;\textrm{&amp;lt;}\textrm{C}\;1^{n+2}\;0^\infty&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;n+2&amp;lt;/math&amp;gt; steps. Moving five more steps gets us to &amp;lt;math&amp;gt;0\;1^{m-2}\;\textrm{E}\textrm{&amp;gt;}\;0\;1^{n+3}\;0^\infty&amp;lt;/math&amp;gt;, which is the same configuration as &amp;lt;math&amp;gt;P(m-2,n+3)&amp;lt;/math&amp;gt;. Accounting for the head movement creates the condition that &amp;lt;math&amp;gt;m\ge 4&amp;lt;/math&amp;gt;. In summary:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|c|}\hline P(m,n)\xrightarrow{2n+12}P(m-2,n+3)\text{ if }m\ge 4.\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
With &amp;lt;math&amp;gt;A(a,b)&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;P(b,0)&amp;lt;/math&amp;gt;. As a result, we can apply this rule &amp;lt;math display=&amp;quot;inline&amp;gt;\big\lfloor\frac{1}{2}b\big\rfloor-1&amp;lt;/math&amp;gt; times (assuming &amp;lt;math&amp;gt;b\ge 4&amp;lt;/math&amp;gt;), which creates two possible scenarios:&lt;br /&gt;
#If &amp;lt;math&amp;gt;b\equiv0\ (\operatorname{mod}2)&amp;lt;/math&amp;gt;, then in &amp;lt;math&amp;gt;\sum_{i=0}^{(b/2)-2}(2\times 3i+12)=\textstyle\frac{3}{4}b^2+\frac{3}{2}b-6&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P\Big(2,\frac{3}{2}b-3\Big)&amp;lt;/math&amp;gt;. The matching complete configuration is &amp;lt;math&amp;gt;0^\infty\;1^a\;011\;\textrm{E}\textrm{&amp;gt;}\;0\;1^{(3b)/2-3}\;0^\infty&amp;lt;/math&amp;gt;. After &amp;lt;math&amp;gt;3b+4&amp;lt;/math&amp;gt; steps this is &amp;lt;math&amp;gt;0^\infty\;1^a\;\textrm{&amp;lt;}\textrm{C}\;00\;1^{(3b)/2}\;0^\infty&amp;lt;/math&amp;gt;, which then leads to &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;}\textrm{C}\;1^a\;00\;1^{(3b)/2}\;0^\infty&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; steps. After five more steps, we reach &amp;lt;math&amp;gt;0^\infty\;1\;\textrm{E}\textrm{&amp;gt;}\;1^{a+2}\;00\;1^{(3b)/2}\;0^\infty&amp;lt;/math&amp;gt;, from which another shift rule must be applied:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|c|}\hline\textrm{E}\textrm{&amp;gt;}\;1^s\xrightarrow{s}1^s\;\textrm{E}\textrm{&amp;gt;}\\\hline\end{array}&amp;lt;/math&amp;gt;Doing so allows us to get the configuration &amp;lt;math&amp;gt;0^\infty\;1^{a+3}\;\textrm{E}\textrm{&amp;gt;}\;00\;1^{(3b)/2}\;0^\infty&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;a+2&amp;lt;/math&amp;gt; steps. In six steps we have &amp;lt;math&amp;gt;0^\infty\;1^{a+2}\;011\;\textrm{E}\textrm{&amp;gt;}\;1^{(3b)/2}\;0^\infty&amp;lt;/math&amp;gt;, so we use the shift rule again, ending at &amp;lt;math&amp;gt;0^\infty\;1^{a+2}\;0\;1^{(3b)/2+2}\;\textrm{E}\textrm{&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;A\Big(a+2,\frac{3}{2}b+2\Big)&amp;lt;/math&amp;gt;, &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{3}{2}b&amp;lt;/math&amp;gt; steps later. This gives a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;2a+\frac{3}{4}b^2+6b+11&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;b\equiv1\ (\operatorname{mod}2)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{3}{4}b^2-\frac{27}{4}&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P\Big(3,\frac{3b-9}{2}\Big)&amp;lt;/math&amp;gt;. The matching complete configuration is &amp;lt;math&amp;gt;0^\infty\;1^a\;0111\;\textrm{E}\textrm{&amp;gt;}\;0\;1^{(3b-9)/2}\;0^\infty&amp;lt;/math&amp;gt;. After &amp;lt;math&amp;gt;3b+2&amp;lt;/math&amp;gt; steps this becomes &amp;lt;math&amp;gt;0^\infty\;1^a\;\textrm{&amp;lt;}\textrm{F}\;110\;1^{(3b-3)/2}\;0^\infty&amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt;a=0&amp;lt;/math&amp;gt; then we have reached the undefined &amp;lt;code&amp;gt;F0&amp;lt;/code&amp;gt; transition with a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{3}{4}b^2+3b-\frac{19}{4}&amp;lt;/math&amp;gt; steps. Otherwise, continuing for six steps gives us &amp;lt;math&amp;gt;0^\infty\;1^{a-1}\;0111\;\textrm{E}\textrm{&amp;gt;}\;1^{(3b-3)/2}\;0^\infty&amp;lt;/math&amp;gt;. We conclude with the configuration &amp;lt;math&amp;gt;0^\infty\;1^{a-1}\;0\;1^{(3b+3)/2}\;\textrm{E}\textrm{&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;A\Big(a-1,\frac{3b+3}{2}\Big)&amp;lt;/math&amp;gt;, in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{3b-3}{2}&amp;lt;/math&amp;gt; steps. This gives a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{3}{4}b^2+\frac{9}{2}b-\frac{1}{4}&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
The information above can be summarized as&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;A(a,b)\rightarrow\begin{cases}A\Big(a+2,\frac{3}{2}b+2\Big)&amp;amp;\text{if }b\ge 2,b\equiv0\pmod{2};\\0^\infty\;\textrm{&amp;lt;}\textrm{F}\;110\;1^{(3b-3)/2}\;0^\infty&amp;amp;\text{if }b\ge3,b\equiv1\pmod{2},\text{ and }a=0;\\A\Big(a-1,\frac{3b+3}{2}\Big)&amp;amp;\text{if }b\ge3,b\equiv1\pmod{2},\text{ and }a&amp;gt;0.\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
Substituting &amp;lt;math&amp;gt;b\leftarrow 2b&amp;lt;/math&amp;gt; for the first case and &amp;lt;math&amp;gt;b\leftarrow 2b+1&amp;lt;/math&amp;gt; for the other two yields the final result.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
In effect, the halting problem for Antihydra is about whether repeatedly applying the function &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f(n)=\Big\lfloor\frac{3n}{2}\Big\rfloor+2&amp;lt;/math&amp;gt; will at some point produce more odd values of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; than twice the number of even values.&lt;br /&gt;
&lt;br /&gt;
These rules can be modified to use the function &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;H(n)=\Big\lfloor\frac{3n}{2}\Big\rfloor&amp;lt;/math&amp;gt;, or the [[Hydra function]], which strengthens Antihydra&#039;s similarities to Hydra.&lt;br /&gt;
== Trajectory ==&lt;br /&gt;
[[File:Antihydra Walk.png|thumb|Path of parity of repeated applications of Hydra map for Antihydra.]]&lt;br /&gt;
Starting from a blank tape, Antihydra reaches &amp;lt;math&amp;gt;A(0, 4)&amp;lt;/math&amp;gt; in 11 steps and then the rules are repeatedly applied. So far, Antihydra has been simulated to &amp;lt;math&amp;gt;2^{38}&amp;lt;/math&amp;gt; rule steps,&amp;lt;ref&amp;gt;https://discord.com/channels/960643023006490684/1026577255754903572/1271528180246773883&amp;lt;/ref&amp;gt; at which point &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; exceeds &amp;lt;math&amp;gt;2^{37}&amp;lt;/math&amp;gt;. Here are the first few:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|c|}\hline A(0,4)\xrightarrow{47}A(2,8)\xrightarrow{111}A(4,14)\xrightarrow{250}A(6,23)\xrightarrow{500}A(5,36)\xrightarrow{1209}A(7,56)\xrightarrow{2713}A(9,86)\rightarrow\cdots\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
The trajectory of &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; values resembles a random walk in which the walker can only move in step sizes +2 or -1 with equal probability, starting at position 0. If &amp;lt;math&amp;gt;P(n)&amp;lt;/math&amp;gt; is the probability that the walker will reach position -1 from position &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then it can be seen that &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P(n)=\frac{1}{2}P(n-1)+\frac{1}{2}P(n+2)&amp;lt;/math&amp;gt;. Solutions to this recurrence relation come in the form &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt; P(n)=c_0{\left(\frac{\sqrt{5}-1}{2}\right)}^n+c_1+c_2{\left(-\frac{1+\sqrt{5}}{2}\right)}^n&amp;lt;/math&amp;gt;, which after applying the appropriate boundary conditions reduces to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P(n)={\left(\frac{\sqrt{5}-1}{2}\right)}^{n+1}&amp;lt;/math&amp;gt;. This means that if the walker were to get to the position of the current &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; value, then the probability of it ever reaching position -1 is less than &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;{\left( \frac{\sqrt{5}-1}{2} \right)}^{2^{37}}\approx 2.884\times 10^{-28723042565}&amp;lt;/math&amp;gt;. This combined with the fact that the expected position of the walker after &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; steps is &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{1}{2}k&amp;lt;/math&amp;gt; strongly suggests Antihydra [[probviously]] runs indefinitely.&lt;br /&gt;
&lt;br /&gt;
== Code ==&lt;br /&gt;
The following Python program implements the abstracted behavior of the Antihydra. Proving whether it halts or not would also solve the Antihydra problem:&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
# Current value of the iterated Hydra function starting with initial value 8 (the values do not overflow)&lt;br /&gt;
h = 8&lt;br /&gt;
# (Collatz-like) condition counter that keeps track of how many odd and even numbers have been encountered&lt;br /&gt;
c = 0&lt;br /&gt;
# If c equals -1 there have been (strictly) more than twice as many odd as even numbers and the program halts&lt;br /&gt;
while c != -1:&lt;br /&gt;
    # If h is even, add 2 to c so even numbers count twice&lt;br /&gt;
    if h % 2 == 0:&lt;br /&gt;
        c += 2&lt;br /&gt;
    else:&lt;br /&gt;
        c -= 1&lt;br /&gt;
    # Add the current hydra value divided by two (integer division, rounding down) to itself (Hydra function)&lt;br /&gt;
    # Note that integer division by 2 is equivalent to one bit shift to the right (h &amp;gt;&amp;gt; 1)&lt;br /&gt;
    h += h//2&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The variable values of this iteration have been put into the On-Line Encyclopedia of Integer Sequences (OEIS):&lt;br /&gt;
&lt;br /&gt;
* Hydra function values with Antihydra&#039;s starting value 8: https://oeis.org/A386792&lt;br /&gt;
* Antihydra&#039;s condition values: https://oeis.org/A385902&lt;br /&gt;
&lt;br /&gt;
Fast [[Hydra]]/Antihydra simulation code by Greg Kuperberg (who said it could be made faster using FLINT):&amp;lt;syntaxhighlight lang=&amp;quot;python2&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
# Python script to demonstrate almost linear time hydra simulation&lt;br /&gt;
# using fast multiplication. &lt;br /&gt;
# by Greg Kuperberg&lt;br /&gt;
&lt;br /&gt;
import time&lt;br /&gt;
from gmpy2 import mpz,bit_mask&lt;br /&gt;
&lt;br /&gt;
# Straight computation of t steps of hydra&lt;br /&gt;
def simple(n,t):&lt;br /&gt;
    for s in range(t): n += n&amp;gt;&amp;gt;1&lt;br /&gt;
    return n&lt;br /&gt;
&lt;br /&gt;
# Accelerated computation of 2**e steps of hydra&lt;br /&gt;
def hydra(n,e):&lt;br /&gt;
    if e &amp;lt; 9: return simple(n,1&amp;lt;&amp;lt;e)&lt;br /&gt;
    t = 1&amp;lt;&amp;lt;(e-1)&lt;br /&gt;
    (p3t,m) = (mpz(3)**t,bit_mask(t))&lt;br /&gt;
    n = p3t*(n&amp;gt;&amp;gt;t) + hydra(n&amp;amp;m,e-1)&lt;br /&gt;
    return p3t*(n&amp;gt;&amp;gt;t) + hydra(n&amp;amp;m,e-1)&lt;br /&gt;
&lt;br /&gt;
def elapsed():&lt;br /&gt;
    (last,elapsed.mark) = (elapsed.mark,time.process_time())&lt;br /&gt;
    return elapsed.mark-last&lt;br /&gt;
elapsed.mark = 0&lt;br /&gt;
&lt;br /&gt;
(n,e) = (mpz(3),25)&lt;br /&gt;
&lt;br /&gt;
elapsed()&lt;br /&gt;
print(&#039;hydra:  steps=%d hash=%016x time=%.6fs&#039;&lt;br /&gt;
    % (1&amp;lt;&amp;lt;e,hash(hydra(n,e)),elapsed()))&lt;br /&gt;
&lt;br /&gt;
# Quadratic time algorithm for comparison&lt;br /&gt;
# print(&#039;simple: steps=%d hash=%016x time=%.6fs&#039;&lt;br /&gt;
#     % (1&amp;lt;&amp;lt;e,hash(simple(n,1&amp;lt;&amp;lt;e)),elapsed()))&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&lt;br /&gt;
[[Category:BB(6)]][[Category:Cryptids]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=5-state_busy_beaver_winner&amp;diff=4369</id>
		<title>5-state busy beaver winner</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=5-state_busy_beaver_winner&amp;diff=4369"/>
		<updated>2025-10-07T21:55:10Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: :(&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{machine|1RB1LC_1RC1RB_1RD0LE_1LA1LD_1RZ0LA}}&lt;br /&gt;
The &#039;&#039;&#039;5-state busy beaver winner&#039;&#039;&#039; is the [[Turing machine]] whose step count determines [[BB(5)]]. Up to permutations, that machine is {{TM|1RB1LC_1RC1RB_1RD0LE_1LA1LD_1RZ0LA|halt}}, which halts after 47176870 steps with 4098 ones on the tape. It was first reported on by Heiner Marxen and Jürgen Buntrock in February 1990,&amp;lt;ref&amp;gt;H. Marxen and J. Buntrock. Attacking the Busy Beaver 5. Bulletin of the EATCS, 40, pages 247-251, February 1990. https://turbotm.de/~heiner/BB/mabu90.html&amp;lt;/ref&amp;gt; and the high-level rules were first demonstrated by Michael Buro in November 1990.&amp;lt;ref&amp;gt;Buro, Michael (November 1990). &amp;quot;Ein Beitrag zur Bestimmung von Rados &amp;lt;math&amp;gt;\Sigma(5)&amp;lt;/math&amp;gt; - oder - Wie fängt man fleißige Biber?&amp;quot; [A contribution to the determination of Rado&#039;s &amp;lt;math&amp;gt;\Sigma(5)&amp;lt;/math&amp;gt; - or - How to catch busy beavers?]. &#039;&#039;Schriften zur Informatik und angewandten Mathematik&#039;&#039; (Report No. 146). Rheinisch-Westfälische Technische Hochschule Aachen. https://skatgame.net/mburo/ps/diploma.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;width: fit-content; text-align: center; margin-left: auto; margin-right: auto;&amp;quot;&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin-left: auto; margin-right: auto;&amp;quot;&lt;br /&gt;
! !!0!!1&lt;br /&gt;
|-&lt;br /&gt;
!A&lt;br /&gt;
|1RB&lt;br /&gt;
|1LC&lt;br /&gt;
|-&lt;br /&gt;
!B&lt;br /&gt;
|1RC&lt;br /&gt;
|1RB&lt;br /&gt;
|-&lt;br /&gt;
!C&lt;br /&gt;
|1RD&lt;br /&gt;
|0LE&lt;br /&gt;
|-&lt;br /&gt;
!D&lt;br /&gt;
|1LA&lt;br /&gt;
|1LD&lt;br /&gt;
|-&lt;br /&gt;
!E&lt;br /&gt;
|1RZ&lt;br /&gt;
|0LA&lt;br /&gt;
|}&lt;br /&gt;
The transition table of the 5-state busy beaver winner.&amp;lt;/div&amp;gt;&lt;br /&gt;
== Analysis ==&lt;br /&gt;
Let &amp;lt;math&amp;gt;g(x):=0^\infty\;\textrm{&amp;lt;}\textrm{A}\,1^x\;0^\infty&amp;lt;/math&amp;gt;. Then,&amp;lt;ref&amp;gt;Pascal Michel. Behavior of busy beavers. https://bbchallenge.org/~pascal.michel/beh#tm52a&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|lll|}\hline&lt;br /&gt;
g(3x)&amp;amp;\xrightarrow{5x^2+19x+15}&amp;amp;g(5x+6),\\&lt;br /&gt;
g(3x+1)&amp;amp;\xrightarrow{5x^2+25x+27}&amp;amp;g(5x+9),\\&lt;br /&gt;
g(3x+2)&amp;amp;\xrightarrow{6x+12}&amp;amp;0^\infty\;1\;\textrm{Z}\textrm{&amp;gt;}\;01\;001^{x+1}\;1\;0^\infty.\\\hline&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot;&amp;gt;&#039;&#039;&#039;Proof&#039;&#039;&#039;&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
Consider the configuration &amp;lt;math&amp;gt;C(m,n):=0^\infty\;\textrm{&amp;lt;}\textrm{A}\;1^m\;001^n\;1\;0^\infty&amp;lt;/math&amp;gt;. After one step this configuration becomes &amp;lt;math&amp;gt;0^\infty\;1\;\textrm{B}\textrm{&amp;gt;}\;1^m\;001^n\;1\;0^\infty&amp;lt;/math&amp;gt;. We note the following shift rule:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|c|}\hline\textrm{B}\textrm{&amp;gt;}\;1^a\xrightarrow{a}1^a\;\textrm{B}\textrm{&amp;gt;}\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
Using this shift rule, we get &amp;lt;math&amp;gt;0^\infty\;1^{m+1}\;\textrm{B}\textrm{&amp;gt;}\;001^n\;1\;0^\infty&amp;lt;/math&amp;gt; after &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; steps. If &amp;lt;math&amp;gt;n=0&amp;lt;/math&amp;gt;, then we get &amp;lt;math&amp;gt;0^\infty\;1^{m+4}\;\textrm{&amp;lt;}\textrm{A}\;1\;0^\infty&amp;lt;/math&amp;gt; four steps later. Another shift rule is needed here:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|c|}\hline1^{3a}\;\textrm{&amp;lt;}\textrm{A}\xrightarrow{3a}\textrm{&amp;lt;}\textrm{A}\;001^a\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
In this instance, &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\Big\lfloor\frac{m+4}{3}\Big\rfloor&amp;lt;/math&amp;gt; is substituted for &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;, which creates three different scenarios depending on the value of &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; modulo 3. They are as follows:&lt;br /&gt;
# If &amp;lt;math&amp;gt;m+4\equiv0\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then in &amp;lt;math&amp;gt;m+4&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;}\textrm{A}\;001^{(m+4)/3}\;1\;0^\infty&amp;lt;/math&amp;gt;, which is the same configuration as &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(0,\frac{m+4}{3}\Big)&amp;lt;/math&amp;gt;.&lt;br /&gt;
# If &amp;lt;math&amp;gt;m+4\equiv1\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then in &amp;lt;math&amp;gt;m+3&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math&amp;gt;0^\infty\;1\;\textrm{&amp;lt;}\textrm{A}\;001^{(m+3)/3}\;1\;0^\infty&amp;lt;/math&amp;gt;, which in five steps becomes &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;}\textrm{A}\;111\;001^{(m+3)/3}\;1\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(3,\frac{m+3}{3}\Big)&amp;lt;/math&amp;gt;.&lt;br /&gt;
# If &amp;lt;math&amp;gt;m+4\equiv2\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then in &amp;lt;math&amp;gt;m+2&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math&amp;gt;0^\infty\;11\;\textrm{&amp;lt;}\textrm{A}\;001^{(m+2)/3}\;1\;0^\infty&amp;lt;/math&amp;gt;, which in three steps halts with the configuration &amp;lt;math&amp;gt;0^\infty\;1\;\textrm{Z}\textrm{&amp;gt;}\;01\;001^{(m+2)/3}\;1\;0^\infty&amp;lt;/math&amp;gt;, for a total of &amp;lt;math&amp;gt;2m+10&amp;lt;/math&amp;gt; steps from &amp;lt;math&amp;gt;C(m,0)&amp;lt;/math&amp;gt;.&lt;br /&gt;
Returning to &amp;lt;math&amp;gt;0^\infty\;1^{m+1}\;\textrm{B}\textrm{&amp;gt;}\;001^n\;1\;0^\infty&amp;lt;/math&amp;gt;, if &amp;lt;math&amp;gt;n\ge 1&amp;lt;/math&amp;gt;, then in three steps it changes into &amp;lt;math&amp;gt;0^\infty\;1^{m+3}\;\textrm{&amp;lt;}\textrm{D}\;1\;001^{n-1}\;1\;0^\infty&amp;lt;/math&amp;gt;. Here we can make use of one more shift rule:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|c|}\hline1^a\;\textrm{&amp;lt;}\textrm{D}\xrightarrow{a}\textrm{&amp;lt;}\textrm{D}\;1^a\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
Doing so takes us to &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;}\textrm{D}\;1^{m+4}\;001^{n-1}\;1\;0^\infty&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;m+3&amp;lt;/math&amp;gt; steps, which after one step becomes the configuration &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;}\textrm{A}\;1^{m+5}\;001^{n-1}\;1\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math&amp;gt;C(m+5,n-1)&amp;lt;/math&amp;gt;. To summarize:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|c|}\hline C(m,n)\xrightarrow{2m+8}C(m+5,n-1)\text{ if }n\ge 1.\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
We have &amp;lt;math&amp;gt;g(x)=C(x-1,0)&amp;lt;/math&amp;gt;. As a result, if &amp;lt;math&amp;gt;x\equiv0\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, we then get &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(0,\frac{1}{3}x+1\Big)&amp;lt;/math&amp;gt; and the above rule is applied until we reach &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(\frac{5}{3}x+5,0\Big)&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;g\Big(\frac{5}{3}x+6\Big)&amp;lt;/math&amp;gt;, in &amp;lt;math&amp;gt;\sum_{i=0}^{x/3}(2\times 5i+8)=\textstyle\frac{5}{9}x^2+\frac{13}{3}x+8&amp;lt;/math&amp;gt; steps for a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{5}{9}x^2+\frac{19}{3}x+15&amp;lt;/math&amp;gt; steps from &amp;lt;math&amp;gt;g(x)&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;g(0)&amp;lt;/math&amp;gt; we see the impossible configuration &amp;lt;math&amp;gt;C(-1,0)&amp;lt;/math&amp;gt;, but it reaches &amp;lt;math&amp;gt;g(6)&amp;lt;/math&amp;gt; in 15 steps regardless). However, if &amp;lt;math&amp;gt;x\equiv1\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, we then get &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(3,\frac{x+2}{3}\Big)&amp;lt;/math&amp;gt; which reaches &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(3+\frac{5(x+2)}{3},0\Big)&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;g\Big(\frac{5x+22}{3}\Big)&amp;lt;/math&amp;gt;, in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{5}{9}x^2+\frac{47}{9}x+\frac{74}{9}&amp;lt;/math&amp;gt; steps (&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{5}{9}x^2+\frac{65}{9}x+\frac{173}{9}&amp;lt;/math&amp;gt; steps total).&lt;br /&gt;
&lt;br /&gt;
The information above can be summarized as&amp;lt;ref&amp;gt;Aaronson, S. (2020). The Busy Beaver Frontier. Page 10-11. https://www.scottaaronson.com/papers/bb.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;g(x)\rightarrow\begin{cases}g\Big(\frac{5}{3}x+6\Big)&amp;amp;\text{if }x\equiv0\pmod{3},\\g\Big(\frac{5x+22}{3}\Big)&amp;amp;\text{if }x\equiv1\pmod{3},\\0^\infty\;1\;\textrm{Z}\textrm{&amp;gt;}\;01\;001^{(x+1)/3}\;1\;0^\infty&amp;amp;\text{if }x\equiv2\pmod{3}.\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
Substituting &amp;lt;math&amp;gt;x\leftarrow 3x&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x\leftarrow 3x+1&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;x\leftarrow 3x+2&amp;lt;/math&amp;gt; to each of these cases respectively gives us our final result.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
In effect, the halting problem for the 5-state busy beaver winner is about whether repeatedly applying the function &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f(n)=3n+6-4\Big\lfloor\frac{n}{3}\Big\rfloor&amp;lt;/math&amp;gt; eventually produces a value of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that is congruent to 2 modulo 3.&lt;br /&gt;
== Trajectory ==&lt;br /&gt;
The initial blank tape represents &amp;lt;math&amp;gt;g(0)&amp;lt;/math&amp;gt;, and the [[Collatz-like]] rules are iterated 15 times before halting:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline\begin{array}{lllllllllllllll}&lt;br /&gt;
g(0)&amp;amp;\xrightarrow{15}&amp;amp;g(6)&amp;amp;\xrightarrow{73} &amp;amp;g(16)&amp;amp;\xrightarrow{277}&amp;amp;g(34)&amp;amp;\xrightarrow{907}&amp;amp;g(64)&amp;amp;\xrightarrow{2757}\\&lt;br /&gt;
g(114)&amp;amp;\xrightarrow{7957}&amp;amp;g(196)&amp;amp;\xrightarrow{22777}&amp;amp;g(334)&amp;amp;\xrightarrow{64407}&amp;amp;g(564)&amp;amp;\xrightarrow{180307}&amp;amp;g(946)&amp;amp;\xrightarrow{504027}\\&lt;br /&gt;
g(1584)&amp;amp;\xrightarrow{1403967}&amp;amp;g(2646)&amp;amp;\xrightarrow{3906393}&amp;amp;g(4416)&amp;amp;\xrightarrow{10861903}&amp;amp;g(7366)&amp;amp;\xrightarrow{30196527}&amp;amp;g(12284)&amp;amp;\xrightarrow{24576}\end{array}\\0^\infty\;1\;\textrm{Z}\textrm{&amp;gt;}\;01\;001^{4095}\;1\;0^\infty\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
[[Category:BB(5)]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Antihydra&amp;diff=3275</id>
		<title>Antihydra</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Antihydra&amp;diff=3275"/>
		<updated>2025-08-21T03:06:10Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: /* Trajectory */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{machine|1RB1RA_0LC1LE_1LD1LC_1LA0LB_1LF1RE_---0RA}}{{unsolved|Does Antihydra run forever?}}&lt;br /&gt;
{{TM|1RB1RA_0LC1LE_1LD1LC_1LA0LB_1LF1RE_---0RA|undecided}}, called &#039;&#039;&#039;Antihydra&#039;&#039;&#039;, is a [[BB(6)]] [[Cryptid]]. Its pseudo-random behaviour was first reported [https://discord.com/channels/960643023006490684/1026577255754903572/1256223215206924318 on Discord] by mxdys on 28 June 2024, and Racheline discovered the high-level rules soon after. It was named after the 2-state, 5-symbol [[Turing machine]] called [[Hydra]] for sharing many similarities to it.&amp;lt;ref&amp;gt;[https://discord.com/channels/960643023006490684/960643023530762341/1257053002859286701 Discord conversation where the machine was named]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Antihydra is known to not generate Sturmian words&amp;lt;ref&amp;gt;DUBICKAS A. ON INTEGER SEQUENCES GENERATED BY LINEAR MAPS. &#039;&#039;Glasgow Mathematical Journal&#039;&#039;. 2009;51(2):243-252. doi:[https://doi.org/10.1017/S0017089508004655 10.1017/S0017089508004655]&amp;lt;/ref&amp;gt; (Corollary 4).&lt;br /&gt;
&amp;lt;table style=&amp;quot;margin: auto; text-align: center;&amp;quot;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;width: 200px;&amp;quot;&amp;gt;[[File:Antihydra-depiction.png|200px]]&amp;lt;br&amp;gt;Artistic depiction of Antihydra by Jadeix&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin-left: auto; margin-right: auto;&amp;quot;&lt;br /&gt;
! !!0!!1&lt;br /&gt;
|-&lt;br /&gt;
!A&lt;br /&gt;
|1RB&lt;br /&gt;
|1RA&lt;br /&gt;
|-&lt;br /&gt;
!B&lt;br /&gt;
|0LC&lt;br /&gt;
|1LE&lt;br /&gt;
|-&lt;br /&gt;
!C&lt;br /&gt;
|1LD&lt;br /&gt;
|1LC&lt;br /&gt;
|-&lt;br /&gt;
!D&lt;br /&gt;
|1LA&lt;br /&gt;
|0LB&lt;br /&gt;
|-&lt;br /&gt;
!E&lt;br /&gt;
|1LF&lt;br /&gt;
|1RE&lt;br /&gt;
|-&lt;br /&gt;
!F&lt;br /&gt;
| ---&lt;br /&gt;
|0RA&lt;br /&gt;
|}&lt;br /&gt;
The transition table of Antihydra.&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&amp;lt;td style=&amp;quot;width: 220px;&amp;quot;&amp;gt;[[File:Antihydra award.jpg|220px]]&amp;lt;br&amp;gt;A community trophy - to be awarded to the first person or group who solves the Antihydra problem&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
== Analysis ==&lt;br /&gt;
Let &amp;lt;math&amp;gt;A(a,b):=0^\infty\;1^a\;0\;1^b\;\textrm{E&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;. Then,&amp;lt;ref name=&amp;quot;bl&amp;quot;&amp;gt;S. Ligocki, &amp;quot;[https://www.sligocki.com/2024/07/06/bb-6-2-is-hard.html BB(6) is Hard (Antihydra)]&amp;quot; (2024). Accessed 22 July 2024.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|lll|}\hline&lt;br /&gt;
A(a,2b)&amp;amp; \xrightarrow{2a+3b^2+12b+11}&amp;amp; A(a+2,3b+2),\\&lt;br /&gt;
A(0,2b+1)&amp;amp;\xrightarrow{3b^2+9b-1}&amp;amp; 0^\infty\;\textrm{&amp;lt;F}\;110\;1^{3b}\;0^\infty,\\&lt;br /&gt;
A(a+1,2b+1)&amp;amp;\xrightarrow{3b^2+12b+5}&amp;amp; A(a,3b+3).\\\hline&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot;&amp;gt;&#039;&#039;&#039;Proof&#039;&#039;&#039;&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
Consider the partial configuration &amp;lt;math&amp;gt;P(m,n):=0\;1^m\;\textrm{E&amp;gt;}\;0\;1^n\;0^\infty&amp;lt;/math&amp;gt;. The configuration after two steps is &amp;lt;math&amp;gt;0\;1^{m-1}\;0\;\textrm{A&amp;gt;}\;1^{n+1}\;0^\infty&amp;lt;/math&amp;gt;. We note the following shift rule:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|c|}\hline\textrm{A&amp;gt;}\;1^s\xrightarrow{s}1^s\;\textrm{A&amp;gt;}\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
As a result, we get &amp;lt;math&amp;gt;0\;1^{m-1}\;0\;1^{n+1}\;\textrm{A&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt; after &amp;lt;math&amp;gt;n+1&amp;lt;/math&amp;gt; steps. Advancing two steps produces &amp;lt;math&amp;gt;0\;1^{m-1}\;0\;1^{n+2}\;\textrm{&amp;lt;C}\;0^\infty&amp;lt;/math&amp;gt;. A second shift rule is useful here:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|c|}\hline1^s\;\textrm{&amp;lt;C}\xrightarrow{s}\textrm{&amp;lt;C}\;1^s\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
This allows us to reach &amp;lt;math&amp;gt;0\;1^{m-1}\;0\;\textrm{&amp;lt;C}\;1^{n+2}\;0^\infty&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;n+2&amp;lt;/math&amp;gt; steps. Moving five more steps gets us to &amp;lt;math&amp;gt;0\;1^{m-2}\;\textrm{E&amp;gt;}\;0\;1^{n+3}\;0^\infty&amp;lt;/math&amp;gt;, which is the same configuration as &amp;lt;math&amp;gt;P(m-2,n+3)&amp;lt;/math&amp;gt;. Accounting for the head movement creates the condition that &amp;lt;math&amp;gt;m\ge 4&amp;lt;/math&amp;gt;. In summary:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|c|}\hline P(m,n)\xrightarrow{2n+12}P(m-2,n+3)\text{ if }m\ge 4.\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
With &amp;lt;math&amp;gt;A(a,b)&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;P(b,0)&amp;lt;/math&amp;gt;. As a result, we can apply this rule &amp;lt;math display=&amp;quot;inline&amp;gt;\big\lfloor\frac{1}{2}b\big\rfloor-1&amp;lt;/math&amp;gt; times (assuming &amp;lt;math&amp;gt;b\ge 4&amp;lt;/math&amp;gt;), which creates two possible scenarios:&lt;br /&gt;
#If &amp;lt;math&amp;gt;b\equiv0\ (\operatorname{mod}2)&amp;lt;/math&amp;gt;, then in &amp;lt;math&amp;gt;\sum_{i=0}^{(b/2)-2}(2\times 3i+12)=\textstyle\frac{3}{4}b^2+\frac{3}{2}b-6&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P\Big(2,\frac{3}{2}b-3\Big)&amp;lt;/math&amp;gt;. The matching complete configuration is &amp;lt;math&amp;gt;0^\infty\;1^a\;011\;\textrm{E&amp;gt;}\;0\;1^{(3b)/2-3}\;0^\infty&amp;lt;/math&amp;gt;. After &amp;lt;math&amp;gt;3b+4&amp;lt;/math&amp;gt; steps this is &amp;lt;math&amp;gt;0^\infty\;1^a\;\textrm{&amp;lt;C}\;00\;1^{(3b)/2}\;0^\infty&amp;lt;/math&amp;gt;, which then leads to &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;C}\;1^a\;00\;1^{(3b)/2}\;0^\infty&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; steps. After five more steps, we reach &amp;lt;math&amp;gt;0^\infty\;1\;\textrm{E&amp;gt;}\;1^{a+2}\;00\;1^{(3b)/2}\;0^\infty&amp;lt;/math&amp;gt;, from which another shift rule must be applied:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|c|}\hline\textrm{E&amp;gt;}\;1^s\xrightarrow{s}1^s\;\textrm{E&amp;gt;}\\\hline\end{array}&amp;lt;/math&amp;gt;Doing so allows us to get the configuration &amp;lt;math&amp;gt;0^\infty\;1^{a+3}\;\textrm{E&amp;gt;}\;00\;1^{(3b)/2}\;0^\infty&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;a+2&amp;lt;/math&amp;gt; steps. In six steps we have &amp;lt;math&amp;gt;0^\infty\;1^{a+2}\;011\;\textrm{E&amp;gt;}\;1^{(3b)/2}\;0^\infty&amp;lt;/math&amp;gt;, so we use the shift rule again, ending at &amp;lt;math&amp;gt;0^\infty\;1^{a+2}\;0\;1^{(3b)/2+2}\;\textrm{E&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;A\Big(a+2,\frac{3}{2}b+2\Big)&amp;lt;/math&amp;gt;, &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{3}{2}b&amp;lt;/math&amp;gt; steps later. This gives a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;2a+\frac{3}{4}b^2+6b+11&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;b\equiv1\ (\operatorname{mod}2)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{3}{4}b^2-\frac{27}{4}&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P\Big(3,\frac{3b-9}{2}\Big)&amp;lt;/math&amp;gt;. The matching complete configuration is &amp;lt;math&amp;gt;0^\infty\;1^a\;0111\;\textrm{E&amp;gt;}\;0\;1^{(3b-9)/2}\;0^\infty&amp;lt;/math&amp;gt;. After &amp;lt;math&amp;gt;3b+2&amp;lt;/math&amp;gt; steps this becomes &amp;lt;math&amp;gt;0^\infty\;1^a\;\textrm{&amp;lt;F}\;110\;1^{(3b-3)/2}\;0^\infty&amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt;a=0&amp;lt;/math&amp;gt; then we have reached the undefined &amp;lt;code&amp;gt;F0&amp;lt;/code&amp;gt; transition with a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{3}{4}b^2+3b-\frac{19}{4}&amp;lt;/math&amp;gt; steps. Otherwise, continuing for six steps gives us &amp;lt;math&amp;gt;0^\infty\;1^{a-1}\;0111\;\textrm{E&amp;gt;}\;1^{(3b-3)/2}\;0^\infty&amp;lt;/math&amp;gt;. We conclude with the configuration &amp;lt;math&amp;gt;0^\infty\;1^{a-1}\;0\;1^{(3b+3)/2}\;\textrm{E&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;A\Big(a-1,\frac{3b+3}{2}\Big)&amp;lt;/math&amp;gt;, in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{3b-3}{2}&amp;lt;/math&amp;gt; steps. This gives a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{3}{4}b^2+\frac{9}{2}b-\frac{1}{4}&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
The information above can be summarized as&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;A(a,b)\rightarrow\begin{cases}A\Big(a+2,\frac{3}{2}b+2\Big)&amp;amp;\text{if }b\ge 2,b\equiv0\pmod{2};\\0^\infty\;\textrm{&amp;lt;F}\;110\;1^{(3b-3)/2}\;0^\infty&amp;amp;\text{if }b\ge3,b\equiv1\pmod{2},\text{ and }a=0;\\A\Big(a-1,\frac{3b+3}{2}\Big)&amp;amp;\text{if }b\ge3,b\equiv1\pmod{2},\text{ and }a&amp;gt;0.\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
Substituting &amp;lt;math&amp;gt;b\leftarrow 2b&amp;lt;/math&amp;gt; for the first case and &amp;lt;math&amp;gt;b\leftarrow 2b+1&amp;lt;/math&amp;gt; for the other two yields the final result.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
In effect, the halting problem for Antihydra is about whether repeatedly applying the function &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f(n)=\Big\lfloor\frac{3n}{2}\Big\rfloor+2&amp;lt;/math&amp;gt; will at some point produce more odd values of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; than twice the number of even values.&lt;br /&gt;
&lt;br /&gt;
These rules can be modified to use the function &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;H(n)=\Big\lfloor\frac{3n}{2}\Big\rfloor&amp;lt;/math&amp;gt;, or the [[Hydra function]], which strengthens Antihydra&#039;s similarities to Hydra.&lt;br /&gt;
== Trajectory ==&lt;br /&gt;
[[File:Antihydra Walk.png|thumb|Path of parity of repeated applications of Hydra map for Antihydra.]]&lt;br /&gt;
Starting from a blank tape, Antihydra reaches &amp;lt;math&amp;gt;A(0, 4)&amp;lt;/math&amp;gt; in 11 steps and then the rules are repeatedly applied. So far, Antihydra has been simulated to &amp;lt;math&amp;gt;2^{38}&amp;lt;/math&amp;gt; rule steps,&amp;lt;ref&amp;gt;https://discord.com/channels/960643023006490684/1026577255754903572/1271528180246773883&amp;lt;/ref&amp;gt; at which point &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; exceeds &amp;lt;math&amp;gt;2^{37}&amp;lt;/math&amp;gt;. Here are the first few:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|c|}\hline A(0,4)\xrightarrow{47}A(2,8)\xrightarrow{111}A(4,14)\xrightarrow{250}A(6,23)\xrightarrow{500}A(5,36)\xrightarrow{1209}A(7,56)\xrightarrow{2713}A(9,86)\rightarrow\cdots\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
The trajectory of &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; values resembles a random walk in which the walker can only move in step sizes +2 or -1 with equal probability, starting at position 0. If &amp;lt;math&amp;gt;P(n)&amp;lt;/math&amp;gt; is the probability that the walker will reach position -1 from position &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then it can be seen that &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P(n)=\frac{1}{2}P(n-1)+\frac{1}{2}P(n+2)&amp;lt;/math&amp;gt;. Solutions to this recurrence relation come in the form &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt; P(n)=c_0{\left(\frac{\sqrt{5}-1}{2}\right)}^n+c_1+c_2{\left(-\frac{1+\sqrt{5}}{2}\right)}^n&amp;lt;/math&amp;gt;, which after applying the appropriate boundary conditions reduces to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P(n)={\left(\frac{\sqrt{5}-1}{2}\right)}^{n+1}&amp;lt;/math&amp;gt;. This means that if the walker were to get to the position of the current &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; value, then the probability of it ever reaching position -1 is less than &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;{\left( \frac{\sqrt{5}-1}{2} \right)}^{2^{37}}\approx 2.884\times 10^{-28723042565}&amp;lt;/math&amp;gt;. This combined with the fact that the expected position of the walker after &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; steps is &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{1}{2}k&amp;lt;/math&amp;gt; strongly suggests Antihydra [[probviously]] runs indefinitely.&lt;br /&gt;
&lt;br /&gt;
== Code ==&lt;br /&gt;
The following Python program implements the abstracted behavior of the Antihydra. Proving whether it halts or not would also solve the Antihydra problem:&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
# Current value of the iterated Hydra function starting with initial value 8 (the values do not overflow)&lt;br /&gt;
h = 8&lt;br /&gt;
# (Collatz-like) condition counter that keeps track of how many odd and even numbers have been encountered&lt;br /&gt;
c = 0&lt;br /&gt;
# If c equals -1 there have been (strictly) more than twice as many odd as even numbers and the program halts&lt;br /&gt;
while c != -1:&lt;br /&gt;
    # If h is even, add 2 to c so even numbers count twice&lt;br /&gt;
    if h % 2 == 0:&lt;br /&gt;
        c += 2&lt;br /&gt;
    else:&lt;br /&gt;
        c -= 1&lt;br /&gt;
    # Add the current hydra value divided by two (integer division, rounding down) to itself (Hydra function)&lt;br /&gt;
    # Note that integer division by 2 is equivalent to one bit shift to the right (h &amp;gt;&amp;gt; 1)&lt;br /&gt;
    h += h//2&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The variable values of this iteration have been put into the On-Line Encyclopedia of Integer Sequences (OEIS):&lt;br /&gt;
&lt;br /&gt;
* Hydra function values with Antihydra&#039;s starting value 8: https://oeis.org/A386792&lt;br /&gt;
* Antihydra&#039;s condition values: https://oeis.org/A385902&lt;br /&gt;
&lt;br /&gt;
Fast [[Hydra]]/Antihydra simulation code by Greg Kuperberg (who said it could be made faster using FLINT):&amp;lt;syntaxhighlight lang=&amp;quot;python2&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
# Python script to demonstrate almost linear time hydra simulation&lt;br /&gt;
# using fast multiplication. &lt;br /&gt;
# by Greg Kuperberg&lt;br /&gt;
&lt;br /&gt;
import time&lt;br /&gt;
from gmpy2 import mpz,bit_mask&lt;br /&gt;
&lt;br /&gt;
# Straight computation of t steps of hydra&lt;br /&gt;
def simple(n,t):&lt;br /&gt;
    for s in range(t): n += n&amp;gt;&amp;gt;1&lt;br /&gt;
    return n&lt;br /&gt;
&lt;br /&gt;
# Accelerated computation of 2**e steps of hydra&lt;br /&gt;
def hydra(n,e):&lt;br /&gt;
    if e &amp;lt; 9: return simple(n,1&amp;lt;&amp;lt;e)&lt;br /&gt;
    t = 1&amp;lt;&amp;lt;(e-1)&lt;br /&gt;
    (p3t,m) = (mpz(3)**t,bit_mask(t))&lt;br /&gt;
    n = p3t*(n&amp;gt;&amp;gt;t) + hydra(n&amp;amp;m,e-1)&lt;br /&gt;
    return p3t*(n&amp;gt;&amp;gt;t) + hydra(n&amp;amp;m,e-1)&lt;br /&gt;
&lt;br /&gt;
def elapsed():&lt;br /&gt;
    (last,elapsed.mark) = (elapsed.mark,time.process_time())&lt;br /&gt;
    return elapsed.mark-last&lt;br /&gt;
elapsed.mark = 0&lt;br /&gt;
&lt;br /&gt;
(n,e) = (mpz(3),25)&lt;br /&gt;
&lt;br /&gt;
elapsed()&lt;br /&gt;
print(&#039;hydra:  steps=%d hash=%016x time=%.6fs&#039;&lt;br /&gt;
    % (1&amp;lt;&amp;lt;e,hash(hydra(n,e)),elapsed()))&lt;br /&gt;
&lt;br /&gt;
# Quadratic time algorithm for comparison&lt;br /&gt;
# print(&#039;simple: steps=%d hash=%016x time=%.6fs&#039;&lt;br /&gt;
#     % (1&amp;lt;&amp;lt;e,hash(simple(n,1&amp;lt;&amp;lt;e)),elapsed()))&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
[[Category:Individual machines]][[Category:Cryptids]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Collatz-like&amp;diff=2222</id>
		<title>Collatz-like</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Collatz-like&amp;diff=2222"/>
		<updated>2025-06-17T11:18:02Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: ...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A &#039;&#039;&#039;Collatz-like function&#039;&#039;&#039; is a partial function defined piecewise depending on the remainder of an input modulo some number. The canonical example is the original Collatz function:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{l}&lt;br /&gt;
  c(2k)   &amp;amp; = &amp;amp;  k \\&lt;br /&gt;
  c(2k+1) &amp;amp; = &amp;amp; 3k+2 \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;Collatz-like problem&#039;&#039;&#039; is a question about the behavior of iterating a Collatz-like function. Collatz-like problems are famously difficult.&lt;br /&gt;
&lt;br /&gt;
Many [[Busy Beaver Champions]] have &#039;&#039;&#039;Collatz-like behavior&#039;&#039;&#039;, meaning that their behavior can be concisely described via the iterated values of a Collatz-like function.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
=== 5-state busy beaver winner ===&lt;br /&gt;
Consider the [[5-state busy beaver winner]] and the generalized configuration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;M(n) = 0^\infty \; \textrm{&amp;lt;A} \; 1^n \; 0^\infty&amp;lt;/math&amp;gt;Pascal Michel showed that:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{lcl}&lt;br /&gt;
  0^\infty \; \textrm{&amp;lt;A} \; 0^\infty &amp;amp; = &amp;amp; M(0) \\&lt;br /&gt;
  M(3k)   &amp;amp; \xrightarrow{5 k^2 + 19 k + 15} &amp;amp; M(5k+6) \\&lt;br /&gt;
  M(3k+1) &amp;amp; \xrightarrow{5 k^2 + 25 k + 27} &amp;amp; M(5k+9) \\&lt;br /&gt;
  M(3k+2) &amp;amp; \xrightarrow{6k +12} &amp;amp; 0^\infty \;\; 1 \;\; \textrm{H&amp;gt;} \;\; 01 \;\; {(001)}^{k+1} \;\; 1 \;\; 0^\infty  \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Starting on a blank tape &amp;lt;math&amp;gt;M(0)&amp;lt;/math&amp;gt;, these rules iterate 15 times before reaching the halt config.&amp;lt;ref&amp;gt;[https://bbchallenge.org/~pascal.michel/beh#tm52a Pascal Michel&#039;s Analysis of the BB(5, 2) Champion]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Hydra ===&lt;br /&gt;
Consider [[Hydra]] (a [[Cryptid]]) and the generalized configuration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;C(a, b) = 0^\infty\;\textrm{&amp;lt;A}\;2\;0^{3(a-2)} \; 3^b \; 2 \; 0^\infty&amp;lt;/math&amp;gt;&lt;br /&gt;
Daniel Yuan showed that:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{l}&lt;br /&gt;
  \\&lt;br /&gt;
  0^\infty \; \textrm{A&amp;gt;} \; 0^\infty &amp;amp; &amp;amp; \xrightarrow{20} &amp;amp; C(3, 0) \\&lt;br /&gt;
  C(2n,   &amp;amp; 0)   &amp;amp; \to &amp;amp; \text{Halt}(9n-6) \\&lt;br /&gt;
  C(2n,   &amp;amp; b+1) &amp;amp; \to &amp;amp; C(3n,   &amp;amp; b) \\&lt;br /&gt;
  C(2n+1, &amp;amp; b)   &amp;amp; \to &amp;amp; C(3n+1, &amp;amp; b+2) \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;\textrm{Halt}(n)&amp;lt;/math&amp;gt; is a halting configuration with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; non-zero symbols on the tape.&lt;br /&gt;
&lt;br /&gt;
Starting from &amp;lt;math&amp;gt;C(3, 0)&amp;lt;/math&amp;gt;, this simulates a pseudo-random walk along the &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; parameter, increasing it by 2 every time &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; is odd, decreasing by 1 every time it&#039;s even. Deciding whether or not Hydra halts requires determining whether through the process of applying the Collatz-like function&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{l}&lt;br /&gt;
  H(2n)   &amp;amp; = &amp;amp; 3n &amp;amp;\text{(even transition)} \\&lt;br /&gt;
  H(2n+1) &amp;amp; = &amp;amp; 3n+1&amp;amp;\text{(odd transition)} \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
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.&amp;lt;ref&amp;gt;Shawn Ligocki. [https://www.sligocki.com/2024/05/10/bb-2-5-is-hard.html BB(2, 5) is Hard (Hydra)]. 10 May 2024.&amp;lt;/ref&amp;gt; The first few transitions are displayed below:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{l}&lt;br /&gt;
 \vphantom{\frac{\frac{0}{.}}{.}}3 \xrightarrow{O} 4 \xrightarrow{E} 6\xrightarrow{E} 9 \xrightarrow{O} 13 \xrightarrow{O} 19 \xrightarrow{O} 28 \xrightarrow{E} 42 \xrightarrow{E} 63\xrightarrow{O} \cdots \\&lt;br /&gt;
\end{array}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
=== Exponential Collatz ===&lt;br /&gt;
Consider the machine {{TM|1RB0LD_1RC0RF_1LC1LA_0LE1RZ_1LF0RB_0RC0RE|halt}}, discovered by Pavel Kropitz in May 2022, and the general configuration:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;K(n) = 0^\infty \; 1 \; 0^n \; 11 \; 0^5 \; \textrm{C&amp;gt;} \; 0^\infty&amp;lt;/math&amp;gt;Shawn Ligocki showed that:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{l}&lt;br /&gt;
  \\&lt;br /&gt;
  0^\infty \; \textrm{A&amp;gt;} \; 0^\infty &amp;amp; \xrightarrow{45} &amp;amp; K(5) \\&lt;br /&gt;
  K(4k)   &amp;amp; \to &amp;amp; \text{Halt}\Bigl(\frac{3^{k+3} - 11}{2}\Bigr) \\&lt;br /&gt;
  K(4k+1) &amp;amp; \to &amp;amp; K\Bigl(\frac{3^{k+3} - 11}{2}\Bigr) \\&lt;br /&gt;
  K(4k+2) &amp;amp; \to &amp;amp; K\Bigl(\frac{3^{k+3} - 11}{2}\Bigr) \\&lt;br /&gt;
  K(4k+3) &amp;amp; \to &amp;amp; K\Bigl(\frac{3^{k+3} +  1}{2}\Bigr) \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Demonstrating Collatz-like behavior with exponential piecewise component functions.&lt;br /&gt;
&lt;br /&gt;
Starting from config &amp;lt;math&amp;gt;K(5)&amp;lt;/math&amp;gt;, these rules iterate 15 times before reaching the halt config leaving over &amp;lt;math&amp;gt;10 \uparrow\uparrow 15&amp;lt;/math&amp;gt; non-zero symbols on the tape.&amp;lt;ref&amp;gt;Shawn Ligocki. [https://www.sligocki.com/2022/06/21/bb-6-2-t15.html BB(6, 2) &amp;gt; 10↑↑15]. 21 Jun 2022.&amp;lt;/ref&amp;gt;&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
[[Category:Zoology]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Champions&amp;diff=2221</id>
		<title>Champions</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Champions&amp;diff=2221"/>
		<updated>2025-06-17T10:37:58Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: ...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Busy Beaver &#039;&#039;&#039;Champions&#039;&#039;&#039; are the current record holding [[Turing machine|Turing machines]] who maximize a [[Busy Beaver function]]. In this article we focus specifically on the longest running TMs. Some have been proven to be the longest running of all (and so are the ultimate champion) while others are only current champions and may be usurped in the future. For smaller domains, Pascal Michel&#039;s website is the canonical source for [https://bbchallenge.org/~pascal.michel/bbc Busy Beaver champions] and the [https://bbchallenge.org/~pascal.michel/ha History of Previous Champions].&lt;br /&gt;
&lt;br /&gt;
== 2-Symbol TMs ==&lt;br /&gt;
Rows are blank if no champion has been found which surpasses a smaller size problem. Take also note that the &amp;lt;math&amp;gt; f_{x}(n) &amp;lt;/math&amp;gt; used in the lowerbounds represent the [[Fast-Growing Hierarchy]]. Note that most champions above 6 states are self-reported and have not been independently verified.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!&lt;br /&gt;
!Runtime&lt;br /&gt;
!Champions&lt;br /&gt;
!Discovered By&lt;br /&gt;
!Verification&lt;br /&gt;
|-&lt;br /&gt;
|[[BB(2)]]&lt;br /&gt;
|&amp;lt;math&amp;gt; 6 &amp;lt;/math&amp;gt;&lt;br /&gt;
|{{TM|1RB1LB_1LA1RZ|halt}} {{TM|1RB0LB_1LA1RZ|halt}} {{TM|1RB1RZ_1LB1LA|halt}} {{TM|1RB1RZ_0LB1LA|halt}} {{TM|0RB1RZ_1LA1RB|halt}}&lt;br /&gt;
|Tibor Radó&lt;br /&gt;
|Direct Simulation&lt;br /&gt;
|-&lt;br /&gt;
|[[BB(3)]]&lt;br /&gt;
|&amp;lt;math&amp;gt; 21 &amp;lt;/math&amp;gt;&lt;br /&gt;
|{{TM|1RB1RZ_1LB0RC_1LC1LA|halt}}&lt;br /&gt;
|Proven by Shen Lin&lt;br /&gt;
|Direct Simulation&lt;br /&gt;
|-&lt;br /&gt;
|[[BB(4)]]&lt;br /&gt;
|&amp;lt;math&amp;gt; 107 &amp;lt;/math&amp;gt;&lt;br /&gt;
|{{TM|1RB1LB_1LA0LC_1RZ1LD_1RD0RA|halt}}&lt;br /&gt;
|Allen Brady&lt;br /&gt;
|Direct Simulation&lt;br /&gt;
|-&lt;br /&gt;
|[[BB(5)]]&lt;br /&gt;
|&amp;lt;math&amp;gt; 47\,176\,870 &amp;lt;/math&amp;gt;&lt;br /&gt;
|{{TM|1RB1LC_1RC1RB_1RD0LE_1LA1LD_1RZ0LA|halt}}&lt;br /&gt;
|Heiner Marxen &amp;amp; Jürgen Buntrock in 1989&lt;br /&gt;
|Direct Simulation&lt;br /&gt;
|-&lt;br /&gt;
|[[BB(6)]]&lt;br /&gt;
|&amp;lt;math&amp;gt; &amp;gt; 10\uparrow\uparrow11010000 &amp;lt;/math&amp;gt;&lt;br /&gt;
|{{TM|1RB1LC_1LA1RE_0RD0LA_1RZ1LB_1LD0RF_0RD1RB|halt}}&lt;br /&gt;
|[https://discord.com/channels/960643023006490684/1384195691529633896/1384195691529633896 mxdys in 2025]&lt;br /&gt;
|See mxdys&#039;s analysis on the TM page&lt;br /&gt;
|-&lt;br /&gt;
|[[BB(7)]]&lt;br /&gt;
|&amp;lt;math&amp;gt;&amp;gt; 2 \uparrow^{11} 2 \uparrow^{11} 3&amp;lt;/math&amp;gt;&lt;br /&gt;
|{{TM|1RB0RA_1LC1LF_1RD0LB_1RA1LE_1RZ0LC_1RG1LD_0RG0RF|halt}}&lt;br /&gt;
|[https://discord.com/channels/960643023006490684/1369339127652159509/1370678203395604562 Pavel Kropitz in 2025]&lt;br /&gt;
|Analyzed by Shawn Ligocki (see TM page)&lt;br /&gt;
|-&lt;br /&gt;
|BB(8)&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|BB(9)&lt;br /&gt;
|&amp;lt;math&amp;gt; &amp;gt; f_\omega(f_9(2)) &amp;lt;/math&amp;gt;&lt;br /&gt;
|{{TM|1RB1RA_0LC0LF_0RD1LC_1RA1RG_1RZ0RA_1LB1LF_1LH1RE_0LI1LH_1LB0LH|halt}}&lt;br /&gt;
|Jacobzheng in 2024&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|BB(10)&lt;br /&gt;
|&amp;lt;math&amp;gt; &amp;gt; f_\omega^2(25) &amp;lt;/math&amp;gt;&lt;br /&gt;
|{{TM|1RB1RA_0LC0LF_0RD1LC_1RA1RG_1RZ0RA_1LB1LF_1LH1RE_0LI1LH_0LF0LJ_1LH0LJ|halt}}&lt;br /&gt;
|Racheline in 2024&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|BB(11)&lt;br /&gt;
|&amp;lt;math&amp;gt; &amp;gt; f_\omega^2(2 \uparrow\uparrow 12) &amp;gt; f_\omega^2(f_3(9)) &amp;lt;/math&amp;gt;&lt;br /&gt;
|{{TM|1LH1LA_1LI1RG_0RD1LC_0RF1RE_1LJ0RF_1RB1RF_0LC1LH_0LC0LA_1LK1LJ_1RZ0LI_0LD1LE|halt}}&lt;br /&gt;
|Racheline in 2024&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|BB(12)&lt;br /&gt;
|&amp;lt;math&amp;gt; &amp;gt; f_\omega^4(2 \uparrow\uparrow\uparrow 4-3) &amp;gt; f_\omega^4(f_4(2)) &amp;lt;/math&amp;gt;&lt;br /&gt;
|{{TM|0LJ0RF_1LH1RC_0LD0LG_0RE1LD_1RF1RA_1RB1RF_1LC1LG_1LL1LI_1LK0LH_1RH1LJ_1RZ1LA_1RF1LL|halt}}&lt;br /&gt;
|Racheline in 2024&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|BB(13)&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|BB(14)&lt;br /&gt;
|&amp;lt;math&amp;gt; &amp;gt; f_{\omega + 1}(65\,536) &amp;gt; g_{64} &amp;lt;/math&amp;gt;&lt;br /&gt;
|{{TM|1LH1LA_1LI1RG_0RD1LC_0RF1RE_1LJ0RF_1RB1RF_0LC1LH_0LC0LA_1LK1LJ_1RL0LI_0LL1LE_1LM1RZ_0LN1LF_0LJ---|halt}}&lt;br /&gt;
|[https://discord.com/channels/960643023006490684/960643023530762341/1274366178529120287 Racheline in 2024]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|BB(15)&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|BB(16)&lt;br /&gt;
|&amp;lt;math&amp;gt; &amp;gt; f_{\omega + 1}(2 \uparrow\uparrow\uparrow\uparrow 2 \uparrow\uparrow\uparrow\uparrow 9) &amp;lt;/math&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|Daniel Nagaj in 2021&lt;br /&gt;
|[https://www.sligocki.com/2022/07/11/bb-16-graham.html Analysis by Shawn Ligocki]&lt;br /&gt;
|-&lt;br /&gt;
|BB(17)&lt;br /&gt;
|&amp;lt;math&amp;gt; &amp;gt; f_{\omega + 1}(f_\omega(60)) &amp;lt;/math&amp;gt;&lt;br /&gt;
|[[User:Jacobzheng/BB(17)]]&lt;br /&gt;
|Jacobzheng in 2024&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|BB(18)&lt;br /&gt;
|&amp;lt;math&amp;gt; &amp;gt; f_{\omega + 1}(f_\omega^2(60)) &amp;lt;/math&amp;gt;&lt;br /&gt;
|[[User:Jacobzheng/BB(18)]]&lt;br /&gt;
|Jacobzheng in 2024&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|BB(19)&lt;br /&gt;
|&amp;lt;math&amp;gt; &amp;gt; f_{\omega + 1}^3(f_\omega(60)) &amp;lt;/math&amp;gt;&lt;br /&gt;
|[[User:Jacobzheng/BB(19)]]&lt;br /&gt;
|Jacobzheng in 2024&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|BB(20)&lt;br /&gt;
|&amp;lt;math&amp;gt; &amp;gt; f_{\omega + 2}^2(21) &amp;lt;/math&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|[https://discord.com/channels/960643023006490684/1026577255754903572/1274414683331366924 Racheline in 2024]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|BB(21)&lt;br /&gt;
|&amp;lt;math&amp;gt; &amp;gt; f_{\omega^2}^2(4 \uparrow\uparrow 341) &amp;lt;/math&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|[https://discord.com/channels/960643023006490684/1026577255754903572/1274471360206344213 Racheline in 2024]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|BB(40)&lt;br /&gt;
|&amp;lt;math&amp;gt; &amp;gt; f_{\omega^\omega}(75\,500) &amp;lt;/math&amp;gt;&lt;br /&gt;
|[[User:Jacobzheng/BB(40)]]&lt;br /&gt;
|Jacobzheng in 2024&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|BB(41)&lt;br /&gt;
|&amp;lt;math&amp;gt; &amp;gt; f_{\omega^\omega}^4(32) &amp;lt;/math&amp;gt;&lt;br /&gt;
|[[User:Jacobzheng/BB(41)]]&lt;br /&gt;
|Jacobzheng in 2024&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|BB(51)&lt;br /&gt;
|&amp;lt;math&amp;gt; &amp;gt; f_{\varepsilon_0 + 1}(8) &amp;lt;/math&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
|[https://discord.com/channels/960643023006490684/1026577255754903572/1276881449685094495 Racheline in 2024]&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== 3-Symbol TMs ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!&lt;br /&gt;
!Runtime&lt;br /&gt;
!Champions&lt;br /&gt;
!Discovered By&lt;br /&gt;
!Verification&lt;br /&gt;
|-&lt;br /&gt;
|[[BB(2,3)]]&lt;br /&gt;
|&amp;lt;math&amp;gt; 38 &amp;lt;/math&amp;gt;&lt;br /&gt;
|{{TM|1RB2LB1RZ_2LA2RB1LB|halt}}&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[BB(3,3)]]&lt;br /&gt;
|&amp;lt;math&amp;gt; &amp;gt; 10^{17} &amp;lt;/math&amp;gt;&lt;br /&gt;
|{{TM|0RB2LA1RA_1LA2RB1RC_1RZ1LB1LC|halt}}&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[BB(4,3)]]&lt;br /&gt;
|&amp;lt;math&amp;gt; &amp;gt; 2 \uparrow\uparrow\uparrow 2^{2^{32}}&amp;lt;/math&amp;gt;&lt;br /&gt;
|{{TM|0RB1RZ0RB_1RC1LB2LB_1LB2RD1LC_1RA2RC0LD|halt}}&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== 4-Symbol TMs ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&lt;br /&gt;
!&lt;br /&gt;
!Runtime&lt;br /&gt;
!Champions&lt;br /&gt;
!Discovered By&lt;br /&gt;
!Verification&lt;br /&gt;
|-&lt;br /&gt;
|BB(2,4)&lt;br /&gt;
|&amp;lt;math&amp;gt; 3\,932\,964 &amp;lt;/math&amp;gt;&lt;br /&gt;
|{{TM|1RB2LA1RA1RA_1LB1LA3RB1RZ|halt}}&lt;br /&gt;
|Shawn &amp;amp; Terry Ligocki in 2005&lt;br /&gt;
|Pascal Michel, Heiner Marxen, Allen Brady&lt;br /&gt;
|-&lt;br /&gt;
|BB(3,4)&lt;br /&gt;
|&amp;lt;math&amp;gt; &amp;gt; 2 \uparrow^{15} 5 &amp;lt;/math&amp;gt;&lt;br /&gt;
|{{TM|1RB3LB1RZ2RA_2LC3RB1LC2RA_3RB1LB3LC2RC|halt}}&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== 5-Symbol TMs ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!&lt;br /&gt;
!Runtime&lt;br /&gt;
!Champions&lt;br /&gt;
!Discovered By&lt;br /&gt;
!Verification&lt;br /&gt;
|-&lt;br /&gt;
|BB(2,5)&lt;br /&gt;
|&amp;lt;math&amp;gt; &amp;gt; 10^{10^{10^{3\,314\,360}}} &amp;lt;/math&amp;gt;&lt;br /&gt;
|{{TM|1RB3LA4RB0RB2LA_1LB2LA3LA1RA1RZ|halt}}&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|BB(3,5)&lt;br /&gt;
|&amp;lt;math&amp;gt; &amp;gt; f_\omega(2 \uparrow^{15} 5) &amp;gt; f_\omega^2(15) &amp;lt;/math&amp;gt;&lt;br /&gt;
|{{TM|1RB3LB4LC2RA4LB_2LC3RB1LC2RA1RZ_3RB1LB3LC2RC4LC|halt}}&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== 6-Symbol TMs ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!&lt;br /&gt;
!Runtime&lt;br /&gt;
!Champions&lt;br /&gt;
!Discovered By&lt;br /&gt;
!Verification&lt;br /&gt;
|-&lt;br /&gt;
|BB(2,6)&lt;br /&gt;
|&amp;lt;math&amp;gt; &amp;gt; 10 \uparrow\uparrow 10 \uparrow\uparrow 10^{10^{115}} &amp;lt;/math&amp;gt;&lt;br /&gt;
|{{TM|1RB3RB5RA1LB5LA2LB_2LA2RA4RB1RZ3LB2LA|halt}}&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=BB(6)&amp;diff=2220</id>
		<title>BB(6)</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=BB(6)&amp;diff=2220"/>
		<updated>2025-06-17T10:18:43Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: ...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The 6-state, 2-symbol Busy Beaver problem &#039;&#039;&#039;BB(6)&#039;&#039;&#039; is unsolved. With the discovery of [[Antihydra]] in 2024, we now know that we must solve a [[Collatz-like]] problem in order to solve BB(6).&lt;br /&gt;
&lt;br /&gt;
The current BB(6) champion {{TM|1RB1LC_1LA1RE_0RD0LA_1RZ1LB_1LD0RF_0RD1RB|halt}} was discovered by mxdys on 16 June 2025, proving the lower bound:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;S(6) &amp;gt; \Sigma(6) &amp;gt; 10 \uparrow\uparrow 10^7&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Techniques ==&lt;br /&gt;
Simulating the machine {{TM|1RB0LD_1RC0RF_1LC1LA_0LE1RZ_1LF0RB_0RC0RE|halt}}, formerly the champion machine, requires [[Accelerated simulator|accelerated simulation]] that can handle Collatz Level 2 [[Inductive rule|inductive rules]]. In other words, it requires a simulator that can prove the rules:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{lcl}&lt;br /&gt;
  C(4k)   &amp;amp; \to &amp;amp; {\operatorname{Halt}}\Big(\frac{3^{k+3} - 11}{2}\Big) \\&lt;br /&gt;
  C(4k+1) &amp;amp; \to &amp;amp; C\Big(\frac{3^{k+3} - 11}{2}\Big) \\&lt;br /&gt;
  C(4k+2) &amp;amp; \to &amp;amp; C\Big(\frac{3^{k+3} - 11}{2}\Big) \\&lt;br /&gt;
  C(4k+3) &amp;amp; \to &amp;amp; C\Big(\frac{3^{k+3} + 1}{2}\Big) \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and also compute the remainder mod 3 of numbers produced by applying these rules 15 times (which requires some fancy math related to [[wikipedia:Euler&#039;s_totient_function|Euler&#039;s totient function]]).&lt;br /&gt;
&lt;br /&gt;
== Cryptids ==&lt;br /&gt;
Several [[Turing machines]] have been found that are [[Cryptids]], considered so because each of them have a [[Collatz-like]] halting problem, a type of problem that is generally difficult to solve. However, probabilistic arguments have allowed all but one of them to be categorized as [[probviously]] halting or probviously non-halting.&lt;br /&gt;
&lt;br /&gt;
Probviously non-halting Cryptids:&lt;br /&gt;
&lt;br /&gt;
* [[Antihydra]]&lt;br /&gt;
* {{TM|1RB1RC_1LC1LE_1RA1RD_0RF0RE_1LA0LB_---1RA|undecided}}, a variant of [[Hydra]] and Antihydra&lt;br /&gt;
* {{TM|1RB1LD_1RC1RE_0LA1LB_0LD1LC_1RF0RA_---0RC|undecided}}, similar to Antihydra&lt;br /&gt;
* {{TM|1RB0LD_1RC1RF_1LA0RA_0LA0LE_1LD1LA_0RB---|undecided}}, similar to Antihydra&lt;br /&gt;
* {{TM|1RB0LB_1LC0RE_1LA1LD_0LC---_0RB0RF_1RE1RB|undecided}}, similar to Antihydra&lt;br /&gt;
&lt;br /&gt;
Probviously halting Cryptids:&lt;br /&gt;
&lt;br /&gt;
* [[Lucy&#039;s Moonlight]]&lt;br /&gt;
* {{TM|1RB1RA_0RC1RC_1LD0LF_0LE1LE_1RA0LB_---0LC|undecided}}, a family of 16 related TMs&lt;br /&gt;
* {{TM|1RB1RE_1LC1LD_---1LA_1LB1LE_0RF0RA_1LD1RF}}&lt;br /&gt;
* {{TM|1RB0RE_1LC1LD_0RA0LD_1LB0LA_1RF1RA_---1LB}}&lt;br /&gt;
* {{TM|1RB0LC_0LC0RF_1RD1LC_0RA1LE_---0LD_1LF1LA}}&lt;br /&gt;
* {{TM|1RB0LC_1LC0RD_1LF1LA_1LB1RE_1RB1LE_---0LE}}&lt;br /&gt;
Although {{TM|1RB1LE_0LC0LB_1RD1LC_1RD1RA_1RF0LA_---1RE}} behaves similarly to the probviously halting Cryptids, it is estimated to have a 3/5 chance of becoming a [[translated cycler]] and a 2/5 chance of halting.&lt;br /&gt;
&lt;br /&gt;
There are a few machines considered notable for their chaotic behaviour, but which have not been classified as Cryptids due to seemingly lacking a connection to any known open mathematical problems, such as Collatz-like problems.&lt;br /&gt;
&lt;br /&gt;
Potential Cryptids:&lt;br /&gt;
&lt;br /&gt;
* {{TM|1RB1RE_1LC0RA_0RD1LB_---1RC_1LF1RE_0LB0LE|undecided}}&lt;br /&gt;
* {{TM|1RB0LD_1LC0RA_1RA1LB_1LA1LE_1RF0LC_---0RE|undecided}}&lt;br /&gt;
* {{TM|1RB0RB_1LC1RE_1LF0LD_1RA1LD_1RC1RB_---1LC|undecided}}&lt;br /&gt;
* {{TM|1RB1LA_1LC0RE_1LF1LD_0RB0LA_1RC1RE_---0LD}}&lt;br /&gt;
&lt;br /&gt;
== Top Halters ==&lt;br /&gt;
Below is a table of the machines with the 11 highest known runtimes.&amp;lt;ref&amp;gt;Shawn Ligocki&#039;s list of 6-state, 2-symbol machines with large runtimes ([https://github.com/sligocki/busy-beaver/blob/main/Machines/bb/6x2.txt Link])&amp;lt;/ref&amp;gt; Their sigma scores are expressed using an extension of Knuth&#039;s up-arrow notation.&amp;lt;ref&amp;gt;Shawn Ligocki. 2022. [https://www.sligocki.com/2022/06/25/ext-up-notation.html &amp;quot;Extending Up-arrow Notation&amp;quot;]&amp;lt;/ref&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Top Known BB(6) Halters&lt;br /&gt;
!TM&lt;br /&gt;
!approximate sigma score&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB1LC_1LA1RE_0RD0LA_1RZ1LB_1LD0RF_0RD1RB|halt}}&lt;br /&gt;
|&amp;lt;math&amp;gt;10\uparrow\uparrow 10^7&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB0LD_1RC0RF_1LC1LA_0LE1RZ_1LF0RB_0RC0RE}}&lt;br /&gt;
|10 ↑↑ 15.60465&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB0LF_1RC1RB_1LD0RA_1LB0LE_1RZ0LC_1LA1LF}}&lt;br /&gt;
|10 ↑↑ 7.52390&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB0LF_1RC1RB_1LD0RA_1RF0LE_1RZ0LC_1LA1LF}}&lt;br /&gt;
|10 ↑↑ 7.52390&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB0LF_1RC1RB_1LD0RA_1LF0LE_1RZ0LC_1LA1LF}}&lt;br /&gt;
|10 ↑↑ 7.52390&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB1RC_1LC1RE_1LD0LB_1RE1LC_1LE0RF_1RZ1RA}}&lt;br /&gt;
|10 ↑↑ 7.23619&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB1RA_1LC1LE_1RE0LD_1LC0LF_1RZ0RA_0RA0LB}}&lt;br /&gt;
|10 ↑↑ 6.96745&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB0RF_1LC0RA_1RZ0LD_1LE1LD_1RB1RC_0LD0RE}}&lt;br /&gt;
|10 ↑↑ 5.77573&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB0LA_1LC1LF_0LD0LC_0LE0LB_1RE0RA_1RZ1LD}}&lt;br /&gt;
|10 ↑↑ 5.63534&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB1RE_1LC1LF_1RD0LB_1LE0RC_1RA0LD_1RZ1LC}}&lt;br /&gt;
|10 ↑↑ 5.56344&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB0LE_0RC1RA_0LD1RF_1RE0RB_1LA0LC_0RD1RZ}}&lt;br /&gt;
|10 ↑↑ 5.12468&lt;br /&gt;
|}&lt;br /&gt;
The runtimes are presumed to be about &amp;lt;math&amp;gt;\text{score}^2&amp;lt;/math&amp;gt; which is roughly indistinguishable in tetration notation.&lt;br /&gt;
&lt;br /&gt;
== Holdouts ==&lt;br /&gt;
@mxdys&#039;s informal [[Holdouts lists|holdouts list]] is down to 3571 machines as of February 2025.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
[[Category:BB Domain]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Bigfoot&amp;diff=1916</id>
		<title>Bigfoot</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Bigfoot&amp;diff=1916"/>
		<updated>2025-05-16T19:51:16Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: ...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{machine|1RB2RA1LC_2LC1RB2RB_---2LA1LA}}{{TM|1RB2RA1LC_2LC1RB2RB_---2LA1LA}}{{unsolved|Does Bigfoot run forever?}}&lt;br /&gt;
&#039;&#039;&#039;Bigfoot&#039;&#039;&#039; is a [[BB(3,3)]] [[Cryptids|Cryptid]]. Its low-level behaviour was first shared [https://discord.com/channels/960643023006490684/1084047886494470185/1163168233445130270 over Discord] by savask on 14 Oct 2023, and within two days, Shawn Ligocki described the high-level rules shown below, whose attributes inspired the [[Turing machine|Turing machine&#039;s]] name.&amp;lt;ref name=&amp;quot;b&amp;quot;&amp;gt;S. Ligocki, &amp;quot;[https://www.sligocki.com/2023/10/16/bb-3-3-is-hard.html BB(3, 3) is Hard (Bigfoot)] (2024). Accessed 22 July 2024.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;width: fit-content; text-align: center; margin-left: auto; margin-right: auto;&amp;quot;&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin-left: auto; margin-right: auto;&amp;quot;&lt;br /&gt;
! !!0!!1!!2&lt;br /&gt;
|-&lt;br /&gt;
!A&lt;br /&gt;
|1RB&lt;br /&gt;
|2RA&lt;br /&gt;
|1LC&lt;br /&gt;
|-&lt;br /&gt;
!B&lt;br /&gt;
|2LC&lt;br /&gt;
|1RB&lt;br /&gt;
|2RB&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
!C&lt;br /&gt;
| ---&lt;br /&gt;
|2LA&lt;br /&gt;
|1LA&lt;br /&gt;
|}&lt;br /&gt;
The transition table of Bigfoot.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Bigfoot was also [https://github.com/sligocki/sligocki.github.io/issues/8#issuecomment-2140887228 successfully compiled] to a 7-state 2-symbol machine by Iijil: {{TM|0RB1RB_1LC0RA_1RE1LF_1LF1RE_0RD1RD_1LG0LG_---1LB}} in May of 2024.&lt;br /&gt;
&lt;br /&gt;
== Analysis ==&lt;br /&gt;
Let &amp;lt;math&amp;gt;A(a,b,c):=0^\infty\;12^a\;1^{2b}\;\textrm{&amp;lt;A}\;1^{2c}\;0^\infty&amp;lt;/math&amp;gt;. Then,&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l l l|}\hline A(a,6b,c)&amp;amp;\xrightarrow{4a+(2b+1)48b+(12b+1)2c+13}&amp;amp;A(a,8b+c-1,2),\\A(a,6b+1,c)&amp;amp;\xrightarrow{4a+(6b+5)16b+(4b+1)6c+29}&amp;amp;A(a+1,8b+c-1,3),\\A(0,6b+2,c)&amp;amp;\xrightarrow{(b+1)96b+(3b+1)8c+18}&amp;amp;0^\infty\;\textrm{&amp;lt;C}\;1^{16b+2c+5}\;2\;0^\infty,\\A(a,6b+2,c)&amp;amp;\xrightarrow{4a+(2b+3)48b+(12b+7)2c+51}&amp;amp;A(a-1,8b+c+3,2)\text{ if }a\ge1,\\A(a,6b+3,c)&amp;amp;\xrightarrow{4a+(6b+7)16b+(12b+5)2c+91}&amp;amp;A(a,8b+c+1,5),\\A(a,6b+4,c)&amp;amp;\xrightarrow{4a+(2b+3)48b+(12b+7)2c+63}&amp;amp;A(a+1,8b+c+3,2),\\A(a,6b+5,c)&amp;amp;\xrightarrow{4a+(6b+11)16b+(4b+3)6c+103}&amp;amp;A(a,8b+c+5,3).\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot;&amp;gt;&#039;&#039;&#039;Proof&#039;&#039;&#039;&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
For now, we will work with the slightly different configuration &amp;lt;math&amp;gt;A&#039;(a,b,c):=0^\infty\;12^a\;1^b\;\textrm{&amp;lt;A}\;1^c\;0^\infty&amp;lt;/math&amp;gt;. Consider the partial configuration &amp;lt;math&amp;gt;P(m,n):=1^m\;\textrm{&amp;lt;A}\;1^n\;0^\infty&amp;lt;/math&amp;gt;. We first require the following shift rule:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline\textrm{A&amp;gt;}\;1^s\xrightarrow{s}2^s\;\textrm{A&amp;gt;}\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
Using this shift rule, we get &amp;lt;math&amp;gt;1^{m-1}\;2^{n+1}\;\textrm{A&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt; after &amp;lt;math&amp;gt;n+1&amp;lt;/math&amp;gt; steps, followed by &amp;lt;math&amp;gt;1^{m-1}\;2^n\;\textrm{&amp;lt;C}\;122\;0^\infty&amp;lt;/math&amp;gt; four steps later. Observing that &amp;lt;math&amp;gt;22\;\textrm{&amp;lt;C}&amp;lt;/math&amp;gt; becomes &amp;lt;math&amp;gt;\textrm{&amp;lt;C}\;11&amp;lt;/math&amp;gt; in two steps leads to another shift rule:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline2^{2s}\;\textrm{&amp;lt;C}\xrightarrow{2s}\textrm{&amp;lt;C}\;1^{2s}\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
From here, there are two different scenarios depending on if &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is even or odd, given below as histories of transitions that use the aforementioned shift rules:&lt;br /&gt;
#If &amp;lt;math&amp;gt;n\equiv0\ (\operatorname{mod}2)&amp;lt;/math&amp;gt;, then what follows is:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline 1^{m-1}\;2^n\;\textrm{&amp;lt;C}\;122\;0^\infty \xrightarrow{n} 1^{m-1}\;\textrm{&amp;lt;C}\;1^{n+1}\;22\;0^\infty\xrightarrow{4}1^{m-3}\;\textrm{&amp;lt;A}\;1^{n+3}\;22\;0^\infty\xrightarrow{n+4}\\&lt;br /&gt;
1^{m-4}\;2^{n+4}\;\textrm{A&amp;gt;}\;22\;0^\infty\xrightarrow{1}1^{m-4}\;2^{n+4}\;\textrm{&amp;lt;C}\;12\;0^\infty\xrightarrow{n+4}1^{m-4}\;\textrm{&amp;lt;C}\;1^{n+5}\;2\;0^\infty\xrightarrow{4}\\1^{m-6}\;\textrm{&amp;lt;A}\;1^{n+7}\;2\;0^\infty\xrightarrow{n+8}1^{m-7}\;2^{n+8}\;\textrm{A&amp;gt;}\;2\;0^\infty\xrightarrow{1}1^{m-7}\;2^{n+8}\;\textrm{&amp;lt;C}\;1\;0^\infty\xrightarrow{n+8}\\1^{m-7}\;\textrm{&amp;lt;C}\;1^{n+9}\;0^\infty\xrightarrow{4}1^{m-9}\;\textrm{&amp;lt;A}\;1^{n+11}\;0^\infty\\\hline\end{array}&amp;lt;/math&amp;gt;Therefore, we have&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline P(m,n)\xrightarrow{6n+43}P(m-9,n+11)\text{ if }m\ge9\text{ and }n\equiv0\ (\operatorname{mod}2).\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
# If &amp;lt;math&amp;gt;n\equiv1\ (\operatorname{mod}2)&amp;lt;/math&amp;gt;, then what follows is:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline 1^{m-1}\;2^n\;\textrm{&amp;lt;C}\;122\;0^\infty \xrightarrow{n-1} 1^{m-1}\;2\;\textrm{&amp;lt;C}\;1^n\;22\;0^\infty \xrightarrow{1}1^{m-1}\;\textrm{&amp;lt;A}\;1^{n+1}\;22\;0^\infty \xrightarrow{n+2}\\ 1^{m-2}\;2^{n+2}\;\textrm{A&amp;gt;}\;22\;0^\infty \xrightarrow{1} 1^{m-2}\;2^{n+2}\;\textrm{&amp;lt;C}\;12\;0^\infty \xrightarrow{n+1}1^{m-2}\;2\;\textrm{&amp;lt;C}\;1^{n+2}\;2\;0^\infty \xrightarrow{1}\\ 1^{m-2}\;\textrm{&amp;lt;A}\;1^{n+3}\;2\;0^\infty \xrightarrow{n+4} 1^{m-3}\;2^{n+4}\;\textrm{A&amp;gt;}\;2\;0^\infty\xrightarrow{1}1^{m-3}\;2^{n+4}\;\textrm{&amp;lt;C}\;1\;0^\infty\xrightarrow{n+3}\\1^{m-3}\;2\;\textrm{&amp;lt;C}\;1^{n+4}\;0^\infty\xrightarrow{1}1^{m-3}\;\textrm{&amp;lt;A}\;1^{n+5}\;0^\infty\\\hline\end{array}&amp;lt;/math&amp;gt;Therefore, we have&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline P(m,n)\xrightarrow{6n+19}P(m-3,n+5)\text{ if }m\ge3\text{ and }n\equiv1\ (\operatorname{mod}2).\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
From this we know that Bigfoot&#039;s behaviour depends on the value of &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; modulo 12, and with &amp;lt;math&amp;gt;A&#039;(a,b,c)&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;P(b,c)&amp;lt;/math&amp;gt;. The following shift rules will be useful:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|l|l|}\hline12^s\;\textrm{&amp;lt;A}\xrightarrow{2s}\textrm{&amp;lt;A}\;21^s&amp;amp;\textrm{B&amp;gt;}\;1^s\xrightarrow{s}1^s\;\textrm{B&amp;gt;}&amp;amp;\textrm{B&amp;gt;}\;2^s\xrightarrow{s}2^s\;\textrm{B&amp;gt;}\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
Only even values of &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; are relevant, so there remain six possible scenarios:&lt;br /&gt;
#If &amp;lt;math&amp;gt;b\equiv0\ (\operatorname{mod}12)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;{\displaystyle\sum_{i=0}^{b/12-1}}(6(16i+c)+43+6(16i+11+c)+19)={\displaystyle\sum_{i=0}^{b/12-1}}4(48i+3c+32)=\frac{2}{3}b^2+\frac{8}{3}b+bc&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P\Big(0,16\times\frac{b}{12}+c\Big)&amp;lt;/math&amp;gt;, or &amp;lt;math&amp;gt;0^\infty\;12^a\;\textrm{&amp;lt;A}\;1^{4b/3+c}\;0^\infty&amp;lt;/math&amp;gt; when considering the complete configuration. What follows is:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline0^\infty\;12^a\;\textrm{&amp;lt;A}\;1^{4b/3+c}\;0^\infty\xrightarrow{2a}0^\infty\;\textrm{&amp;lt;A}\;21^a\;1^{4b/3+c}\;0^\infty\xrightarrow{1}0^\infty\;1\;\textrm{B&amp;gt;}\;21^a\;1^{4b/3+c}\;0^\infty\xrightarrow{2a+4b/3+c}\\0^\infty\;12^a\;1^{4b/3+c+1}\;\textrm{B&amp;gt;}\;0^\infty\xrightarrow{12}0^\infty\;12^a\;1^{4b/3+c-2}\;\textrm{&amp;lt;A}\;1^4\;0^\infty\\\hline\end{array}&amp;lt;/math&amp;gt;This means that if &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b+c\ge2&amp;lt;/math&amp;gt;, then we will reach &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;A&#039;\Big(a,\frac{4}{3}b+c-2,4\Big)&amp;lt;/math&amp;gt; in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;4a+\frac{2}{3}b^2+4b+bc+c+13&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;b\equiv2\ (\operatorname{mod}12)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;{\displaystyle\sum_{i=0}^{(b-2)/12-1}}4(48i+3c+32)=\frac{2}{3}b^2+bc-2c-\frac{8}{3}&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P\Big(2,\frac{4(b-2)}{3}+c\Big)&amp;lt;/math&amp;gt;, or &amp;lt;math&amp;gt;0^\infty\;12^a\;11\;\textrm{&amp;lt;A}\;1^{(4b-2)/3+c}\;0^\infty&amp;lt;/math&amp;gt;. What follows is:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline0^\infty\;12^a\;11\;\textrm{&amp;lt;A}\;1^{4(b-2)/3+c}\;0^\infty\xrightarrow{4(b-2)/3+c+1}0^\infty\;12^a\;1\;2^{4(b-2)/3+c+1}\;\textrm{A&amp;gt;}\;0^\infty\xrightarrow{4}\\0^\infty\;12^a\;1\;2^{4(b-2)/3+c}\;\textrm{&amp;lt;C}\;122\;0^\infty\xrightarrow{4(b-2)/3+c}0^\infty\;12^a\;1\;\textrm{&amp;lt;C}\;1^{4(b-2)/3+c+1}\;22\;0^\infty\xrightarrow{1}\\0^\infty\;12^a\;\textrm{&amp;lt;A}\;2\;1^{4(b-2)/3+c+1}\;22\;0^\infty\xrightarrow{2a}0^\infty\;\textrm{&amp;lt;A}\;21^a\;2\;1^{4(b-2)/3+c+1}\;22\;0^\infty\xrightarrow{1}\\0^\infty\;1\;\textrm{B&amp;gt;}\;21^a\;2\;1^{4(b-2)/3+c+1}\;22\;0^\infty\xrightarrow{4(b-2)/3+2a+c+4}0^\infty\;12^{a+1}\;1^{4(b-2)/3+c+1}\;22\;\textrm{B&amp;gt;}\;0^\infty\xrightarrow{18}\\0^\infty\;12^{a+1}\;1^{4(b-2)/3+c-2}\;\textrm{&amp;lt;A}\;1^6\;0^\infty\\\hline\end{array}&amp;lt;/math&amp;gt;This means that if &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4(b-2)}{3}+c\ge 2&amp;lt;/math&amp;gt;, then we will reach &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;A&#039;\Big(a+1,\frac{4b-14}{3}+c,6\Big)&amp;lt;/math&amp;gt; in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;4a+\frac{2}{3}b^2+4b+bc+c+\frac{55}{3}&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;b\equiv4\ (\operatorname{mod}12)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;gt;\frac{2}{3}b^2-\frac{8}{3}b+bc-4c&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P\Big(4,\frac{4(b-4)}{3}+c\Big)&amp;lt;/math&amp;gt;, or &amp;lt;math&amp;gt;0^\infty\;12^a\;1111\;\textrm{&amp;lt;A}\;1^{4(b-4)/3+c}\;0^\infty&amp;lt;/math&amp;gt;. What follows is:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline0^\infty\;12^a\;1111\;\textrm{&amp;lt;A}\;1^{4(b-4)/3+c}\;0^\infty\xrightarrow{(8b-14)/3+2c}0^\infty\;12^a\;11\;\textrm{&amp;lt;A}\;2\;1^{4(b-4)/3+c+1}\;22\;0^\infty\xrightarrow{3}\\0^\infty\;12^a\;1\;\textrm{&amp;lt;A}\;1^{4(b-4)/3+c+3}\;22\;0^\infty\xrightarrow{4(b-4)/3+c+4}0^\infty\;12^a\;2^{4(b-4)/3+c+4}\;\textrm{A&amp;gt;}\;22\;0^\infty\xrightarrow{1}\\0^\infty\;12^a\;2^{4(b-4)/3+c+4}\;\textrm{&amp;lt;C}\;12\;0^\infty\xrightarrow{4(b-4)/3+c+4}0^\infty\;12^a\;\textrm{&amp;lt;C}\;1^{4(b-4)/3+c+5}\;2\;0^\infty\xrightarrow{1}\\0^\infty\;12^{a-1}\;1\;\textrm{&amp;lt;A}\;1^{4(b-4)/3+c+6}\;2\;0^\infty\xrightarrow{4(b-4)/3+c+7}0^\infty\;12^{a-1}\;2^{4(b-4)/3+c+7}\;\textrm{A&amp;gt;}\;2\;0^\infty\xrightarrow{1}\\0^\infty\;12^{a-1}\;2^{4(b-4)/3+c+7}\;\textrm{&amp;lt;C}\;1\;0^\infty\xrightarrow{4(b-4)/3+c+6}0^\infty\;12^{a-1}\;2\;\textrm{&amp;lt;C}\;1^{4(b-4)/3+c+7}\;0^\infty\xrightarrow{1}\\0^\infty\;12^{a-1}\;\textrm{&amp;lt;A}\;1^{4(b-4)/3+c+8}\;0^\infty\xrightarrow{2(a-1)}0^\infty\;\textrm{&amp;lt;A}\;21^{a-1}\;1^{4(b-4)/3+c+8}\;0^\infty\xrightarrow{1}\\0^\infty\;1\;\textrm{B&amp;gt;}\;21^{a-1}\;1^{4(b-4)/3+c+8}\;0^\infty\xrightarrow{2a+4(b-4)/3+c+6}0^\infty\;12^{a-1}\;1^{4(b-4)/3+c+9}\;\textrm{B&amp;gt;}\;0^\infty\xrightarrow{12}\\0^\infty\;12^{a-1}\;1^{4(b-4)/3+c+6}\;\textrm{&amp;lt;A}\;1^4\;0^\infty\\\hline\end{array}&amp;lt;/math&amp;gt;This means that if &amp;lt;math&amp;gt;a=0&amp;lt;/math&amp;gt;, then Bigfoot will reach the undefined &amp;lt;code&amp;gt;C0&amp;lt;/code&amp;gt; transition with the configuration &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;C}\;1^{(4b-1)/3+c}\;2\;0^\infty&amp;lt;/math&amp;gt; in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{2}{3}b^2+\frac{8}{3}b+bc-\frac{10}{3}&amp;lt;/math&amp;gt; steps. Otherwise, it will proceed to reach &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;A&#039;\Big(a-1,\frac{4b+2}{3}+c,4\Big)&amp;lt;/math&amp;gt; in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;4a+\frac{2}{3}b^2+\frac{20}{3}b+bc+3c+\frac{41}{3}&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;b\equiv6\ (\operatorname{mod}12)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{2}{3}b^2-\frac{16}{3}b+bc-6c+8&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P\Big(6,\frac{4(b-6)}{3}+c\Big)&amp;lt;/math&amp;gt;, or &amp;lt;math&amp;gt;0^\infty\;12^a\;111111\;\textrm{&amp;lt;A}\;1^{4(b-6)/3+c}\;0^\infty&amp;lt;/math&amp;gt;. What follows is:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline0^\infty\;12^a\;111111\;\textrm{&amp;lt;A}\;1^{4(b-6)/3+c}\;0^\infty\xrightarrow{16b/3+4c-14}0^\infty\;12^a\;11\;\textrm{&amp;lt;C}\;1^{4(b-6)/3+c+5}\;2\;0^\infty\xrightarrow{4}\\0^\infty\;12^a\;\textrm{&amp;lt;A}\;1^{4(b-6)/3+c+7}\;2\;0^\infty\xrightarrow{2a}0^\infty\;\textrm{&amp;lt;A}\;21^a\;1^{4(b-6)/3+c+7}\;2\;0^\infty\xrightarrow{1}\\0^\infty\;1\;\textrm{B&amp;gt;}\;21^a\;1^{4(b-6)/3+c+7}\;2\;0^\infty\xrightarrow{2a+4(b-6)/3+c+8}0^\infty\;12^a\;1^{4(b-6)/3+c+8}\;2\;\textrm{B&amp;gt;}\;0^\infty\xrightarrow{60}\\0^\infty\;12^a\;1^{4(b-6)/3+c+2}\;\textrm{&amp;lt;A}\;1^{10}\;0^\infty\\\hline\end{array}&amp;lt;/math&amp;gt;This means that we will reach &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;A&#039;\Big(a,\frac{4}{3}b+c-6,10\Big)&amp;lt;/math&amp;gt; in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;4a+\frac{2}{3}b^2+\frac{4}{3}b+bc-c+59&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;b\equiv8\ (\operatorname{mod}12)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;gt;\frac{2}{3}b^2-8b+bc-8c+\frac{64}{3}&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P\Big(8,\frac{4(b-8)}{3}+c\Big)&amp;lt;/math&amp;gt;, or &amp;lt;math&amp;gt;0^\infty\;12^a\;1^8\;\textrm{&amp;lt;A}\;1^{4(b-8)/3+c}\;0^\infty&amp;lt;/math&amp;gt;. What follows is:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline0^\infty\;12^a\;1^8\;\textrm{&amp;lt;A}\;1^{4(b-8)/3+c}\;0^\infty\xrightarrow{(16b-62)/3+4c}0^\infty\;12^a\;11\;\textrm{&amp;lt;A}\;1^{4(b-8)/3+c+7}\;2\;0^\infty\xrightarrow{4(b-8)/3+c+8}\\0^\infty\;12^a\;1\;2^{4(b-8)/3+c+8}\;\textrm{A&amp;gt;}\;2\;0^\infty\xrightarrow{1}0^\infty\;12^a\;1\;2^{4(b-8)/3+c+8}\;\textrm{&amp;lt;C}\;1\;0^\infty\xrightarrow{4(b-8)/3+c+8}\\0^\infty\;12^a\;1\;\textrm{&amp;lt;C}\;1^{4(b-8)/3+c+9}\;0^\infty\xrightarrow{1}0^\infty\;12^a\;\textrm{&amp;lt;A}\;2\;1^{4(b-8)/3+c+9}\;0^\infty\xrightarrow{2a}\\0^\infty\;\textrm{&amp;lt;A}\;21^a\;2\;1^{4(b-8)/3+c+9}\;0^\infty\xrightarrow{1}0^\infty\;1\;\textrm{B&amp;gt;}\;21^a\;2\;1^{4(b-8)/3+c+9}\;0^\infty\xrightarrow{2a+4(b-8)/3+c+10}\\0^\infty\;12^{a+1}\;1^{4(b-8)/3+c+9}\;\textrm{B&amp;gt;}\;0^\infty\xrightarrow{12}0^\infty\;12^{a+1}\;1^{4(b-8)/3+c+6}\;\textrm{&amp;lt;A}\;1^4\;0^\infty\\\hline\end{array}&amp;lt;/math&amp;gt;This means that we will reach &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;A&#039;\Big(a+1,\frac{4b-14}{3}+c,4\Big)&amp;lt;/math&amp;gt; in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;4a+\frac{2}{3}b^2+\frac{4}{3}b+bc-c+\frac{29}{3}&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;b\equiv10\ (\operatorname{mod}12)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{2}{3}b^2-\frac{32}{3}b+bc-10c+40&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P\Big(10,\frac{4(b-10)}{3}+c\Big)&amp;lt;/math&amp;gt;, or &amp;lt;math&amp;gt;0^\infty\;12^a\;1^{10}\;\textrm{&amp;lt;A}\;1^{4(b-10)/3+c}\;0^\infty&amp;lt;/math&amp;gt;. What follows is:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline0^\infty\;12^a\;1^{10}\;\textrm{&amp;lt;A}\;1^{4(b-  10)/3+c}\;0^\infty\xrightarrow{8b+6c-37}0^\infty\;12^a\;1\;\textrm{&amp;lt;A}\;1^{4(b-  10)/3+c+11}\;0^\infty\xrightarrow{4(b-  10)/3+c+12}\\0^\infty\;12^a\;2^{4(b-  10)/3+c+12}\;\textrm{A&amp;gt;}\;0^\infty\xrightarrow{4}0^\infty\;12^a\;2^{4(b-10)/3+c+11}\;\textrm{&amp;lt;C}\;122\;0^\infty\xrightarrow{4(b-10)/3+c+10}\\0^\infty\;12^a\;2\;\textrm{&amp;lt;C}\;1^{4(b-  10)/3+c+11}\;22\;0^\infty\xrightarrow{1}0^\infty\;12^a\;\textrm{&amp;lt;A}\;1^{4(b-10)/3+c+12}\;22\;0^\infty\xrightarrow{2a}\\0^\infty\;\textrm{&amp;lt;A}\;12^a\;1^{4(b-10)/3+c+12}\;22\;0^\infty\xrightarrow{1}0^\infty\;1\;\textrm{B&amp;gt;}\;12^a\;1^{4(b-10)/3+c+12}\;22\;0^\infty\xrightarrow{2a+4(b-10)/3+c+14}\\0^\infty\;12^a\;1^{4(b-10)/3+c+13}\;22\;\textrm{B&amp;gt;}\;0^\infty\xrightarrow{18}0^\infty\;12^a\;1^{4(b-10)/3+c+10}\;\textrm{&amp;lt;A}\;1^6\;0^\infty\\\hline\end{array}&amp;lt;/math&amp;gt;This means that we will reach &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;A&#039;\Big(a,\frac{4b-10}{3}+c,6\Big)&amp;lt;/math&amp;gt; in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;4a+\frac{2}{3}b^2+\frac{4}{3}b+bc-c+23&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
The information above can be summarized as&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;A&#039;(a,b,c)\rightarrow\begin{cases}A&#039;\Big(a,\frac{4}{3}b+c-2,4\Big)&amp;amp;\text{if }b\equiv0\pmod{12}\text{ and }\frac{4}{3}b+c\ge2,\\A&#039;\Big(a+1,\frac{4b-14}{3}+c,6\Big)&amp;amp;\text{if }b\equiv2\pmod{12}\text{ and }\frac{4(b-2)}{3}+c\ge2,\\0^\infty\;\textrm{&amp;lt;C}\;1^{(4b-1)/3+c}\;2\;0^\infty&amp;amp;\text{if }b\equiv4\pmod{12}\text{ and }a=0,\\A&#039;\Big(a-1,\frac{4b+2}{3}+c,4\Big)&amp;amp;\text{if }b\equiv4\pmod{12}\text{ and }a&amp;gt;0,\\A&#039;\Big(a,\frac{4}{3}b+c-6,10\Big)&amp;amp;\text{if }b\equiv6\pmod{12},\\A&#039;\Big(a+1,\frac{4b-14}{3}+c,4\Big)&amp;amp;\text{if }b\equiv8\pmod{12},\\A&#039;\Big(a,\frac{4b-10}{3}+c,6\Big)&amp;amp;\text{if }b\equiv10\pmod{12}.\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
Using the definitions of &amp;lt;math&amp;gt;A&#039;&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; to transform these rules produces this:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;A(a,b,c)\rightarrow\begin{cases}A\Big(a,\frac{4}{3}b+c-1,2\Big)&amp;amp;\text{if }b\equiv0\pmod{6}\text{ and }\frac{4}{3}b+c\ge1,\\A\Big(a+1,\frac{4b-7}{3}+c,3\Big)&amp;amp;\text{if }b\equiv1\pmod{6}\text{ and }\frac{4(b-1)}{3}+c\ge1,\\0^\infty\;\textrm{&amp;lt;C}\;1^{(8b-1)/3+2c}\;2\;0^\infty&amp;amp;\text{if }b\equiv2\pmod{6}\text{ and }a=0,\\A\Big(a-1,\frac{4b+1}{3}+c,2\Big)&amp;amp;\text{if }b\equiv2\pmod{6}\text{ and }a&amp;gt;0,\\A\Big(a,\frac{4}{3}b+c-3,5\Big)&amp;amp;\text{if }b\equiv3\pmod{6},\\A\Big(a+1,\frac{4b-7}{3}+c,2\Big)&amp;amp;\text{if }b\equiv4\pmod{6},\\A\Big(a,\frac{4b-5}{3}+c,3\Big)&amp;amp;\text{if }b\equiv5\pmod{6}.\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
Substituting &amp;lt;math&amp;gt;b\leftarrow6b+k&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; is the remainder for each case yields the final result.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
Using the floor function, it is possible to describe the behaviour of &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; using a function that is not defined piecewise:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\textstyle\begin{array}{c}f(m,n)=\Big(\frac{4m-3-4(\delta_1(m)-\delta_2(m)+\delta_4(m))-2(3\delta_3(m)+\delta_5(m))}{3}+n,2+\delta_1(m)+3\delta_3(m)+\delta_5(m)\Big),\\\delta_i(m)=\Big\lfloor\frac{x-i}{6}\Big\rfloor-\Big\lfloor\frac{x-i-1}{6}\Big\rfloor=\begin{cases}1&amp;amp;\text{if }x\equiv i\pmod{6},\\0&amp;amp;\text{otherwise.}\end{cases}\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
In effect, the halting problem for Bigfoot is about whether through enough iterations of &amp;lt;math&amp;gt;f(m,n)&amp;lt;/math&amp;gt; we encounter more &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; values that are congruent to 2 modulo 6 than ones that are congruent to 1 or 4 modulo 6.&lt;br /&gt;
&lt;br /&gt;
An important insight is that if &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; is odd and &amp;lt;math&amp;gt;c=2&amp;lt;/math&amp;gt;, then after four iterations of &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt;, that will remain the case. This allows one to define a configuration that eliminates the &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; parameter and whose rules use a modulus of 81.&amp;lt;ref name=&amp;quot;b&amp;quot;&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
== Trajectory ==&lt;br /&gt;
After 69 steps, Bigfoot will reach the configuration &amp;lt;math&amp;gt;A(2,1,2)&amp;lt;/math&amp;gt; before the [[Collatz-like]] rules are repeatedly applied. Simulations of Bigfoot have shown that after 24000000 rule steps, we have &amp;lt;math&amp;gt;a=3999888&amp;lt;/math&amp;gt;. Here are the first few:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline A(2,1,2)\xrightarrow{49}A(3,1,3)\xrightarrow{59}A(4,2,3)\xrightarrow{109}A(3,6,2)\xrightarrow{221}A(3,9,2)\xrightarrow{379}A(3,11,5)\xrightarrow{597}A(3,18,3)\rightarrow\cdots\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
There exists a heuristic argument for Bigfoot being [[probviously]] non-halting. By only considering the rules for which &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; changes, one may notice that the trajectory of &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; values can be approximated by a random walk in which at each step, the walker moves +1 with probability &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{2}{3}&amp;lt;/math&amp;gt; or moves -1 with probability &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{1}{3}&amp;lt;/math&amp;gt;, starting at position 2. If &amp;lt;math&amp;gt;P(n)&amp;lt;/math&amp;gt; is the probability that the walker will reach position -1 from position &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P(n)=\frac{1}{3}P(n-1)+\frac{2}{3}P(n+1)&amp;lt;/math&amp;gt;. Solutions to this recurrence relation come in the form &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt; P(n)=c_02^{-n}+c_1&amp;lt;/math&amp;gt;, which after applying the appropriate boundary conditions reduces to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P(n)=2^{-(n+1)}&amp;lt;/math&amp;gt;. As a result, if the walker gets to position 3999888, then the probability of it ever reaching position -1 would be &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;2^{-3999889}\approx 2.697\times 10^{-1204087}&amp;lt;/math&amp;gt;.&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
[[Category:Cryptids]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=User:MrSolis&amp;diff=1872</id>
		<title>User:MrSolis</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=User:MrSolis&amp;diff=1872"/>
		<updated>2025-04-30T16:09:35Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Discord Server ==&lt;br /&gt;
Hi MrSolis,&lt;br /&gt;
I like your contributions to the Hydra and Antihydra articles. Do you mind joining the bbchallenge discord server? It&#039;s easier to have a conversation there. https://discord.com/invite/3uqtPJA9Uv [[User:Peacemaker II|Peacemaker II]] ([[User talk:Peacemaker II|talk]]) 15:58, 30 April 2025 (UTC)&lt;br /&gt;
&lt;br /&gt;
:I dont have a disc account and also dont feel like conversing rn but will prob join today/tmrw [[User:MrSolis|MrSolis]] ([[User:MrSolis|talk]]) 16:09, 30 April 2025 (UTC)&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Talk:Antihydra&amp;diff=1870</id>
		<title>Talk:Antihydra</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Talk:Antihydra&amp;diff=1870"/>
		<updated>2025-04-30T15:49:59Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Variable Naming Conventions ==&lt;br /&gt;
I noticed that the usage of the variables &#039;a&#039; and &#039;b&#039; in this article are opposite to how they are defined in other sources. Can we modify this article to make it more consistent? [[User:Peacemaker II|Peacemaker II]] ([[User talk:Peacemaker II|talk]]) 00:36, 30 April 2025 (UTC)&lt;br /&gt;
&lt;br /&gt;
Agreeing to the above that renaming the variables in this article would align it to most other sources and also proposing naming these variables h (*h*ydra) and c ((*c*ollatz-like) *c*ondition *c*ounter) instead for easier remembering [[User:Coda|Coda]] ([[User talk:Coda|talk]]) 00:57, 30 April 2025 (UTC)&lt;br /&gt;
&lt;br /&gt;
: I&#039;ll change the article to use the modified variable names. You are referring to *h* instead of *b* and *c* instead of *a*, right? [[User:MrSolis|MrSolis]] ([[User:MrSolis|talk]]) 15:02, 30 April 2025 (UTC)&lt;br /&gt;
&lt;br /&gt;
:: Yes, a-&amp;gt;c and b-&amp;gt;h in this article. h being the always increasing current hydra function value. It would probably also be a good idea to agree on a standard order of these two (h first?) [[User:Coda|Coda]] ([[User talk:Coda|talk]]) 15:07, 30 April 2025 (UTC)&lt;br /&gt;
&lt;br /&gt;
:::I chose the order I did simply bcuz its the same order as in the config but if u think swapping it truly helps, then idm doing it but thats yr call  [[User:MrSolis|MrSolis]] ([[User:MrSolis|talk]]) 15:49, 30 April 2025 (UTC)&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Talk:Antihydra&amp;diff=1869</id>
		<title>Talk:Antihydra</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Talk:Antihydra&amp;diff=1869"/>
		<updated>2025-04-30T15:12:35Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Variable Naming Conventions ==&lt;br /&gt;
I noticed that the usage of the variables &#039;a&#039; and &#039;b&#039; in this article are opposite to how they are defined in other sources. Can we modify this article to make it more consistent? [[User:Peacemaker II|Peacemaker II]] ([[User talk:Peacemaker II|talk]]) 00:36, 30 April 2025 (UTC)&lt;br /&gt;
&lt;br /&gt;
Agreeing to the above that renaming the variables in this article would align it to most other sources and also proposing naming these variables h (*h*ydra) and c ((*c*ollatz-like) *c*ondition *c*ounter) instead for easier remembering [[User:Coda|Coda]] ([[User talk:Coda|talk]]) 00:57, 30 April 2025 (UTC)&lt;br /&gt;
&lt;br /&gt;
: I&#039;ll change the article to use the modified variable names. You are referring to *h* instead of *b* and *c* instead of *a*, right? [[User:MrSolis|MrSolis]] ([[User:MrSolis|talk]]) 15:02, 30 April 2025 (UTC)&lt;br /&gt;
&lt;br /&gt;
:: Yes, a-&amp;gt;c and b-&amp;gt;h in this article. h being the always increasing current hydra function value. It would probably also be a good idea to agree on a standard order of these two (h first?) [[User:Coda|Coda]] ([[User talk:Coda|talk]]) 15:07, 30 April 2025 (UTC)&lt;br /&gt;
:::I chose the order I did simply bcuz its the same order as in the config but if swapping it is truly helpful that idm doing it but thats yr call  [[User:MrSolis|MrSolis]] ([[User:MrSolis|talk]]) 15:12, 30 April 2025 (UTC)&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Talk:Antihydra&amp;diff=1867</id>
		<title>Talk:Antihydra</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Talk:Antihydra&amp;diff=1867"/>
		<updated>2025-04-30T15:02:57Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Variable Naming Conventions ==&lt;br /&gt;
I noticed that the usage of the variables &#039;a&#039; and &#039;b&#039; in this article are opposite to how they are defined in other sources. Can we modify this article to make it more consistent? [[User:Peacemaker II|Peacemaker II]] ([[User talk:Peacemaker II|talk]]) 00:36, 30 April 2025 (UTC)&lt;br /&gt;
&lt;br /&gt;
Agreeing to the above that renaming the variables in this article would align it to most other sources and also proposing naming these variables h (*h*ydra) and c ((*c*ollatz-like) *c*ondition *c*ounter) instead for easier remembering [[User:Coda|Coda]] ([[User talk:Coda|talk]]) 00:57, 30 April 2025 (UTC)&lt;br /&gt;
&lt;br /&gt;
: I&#039;ll change the article to use the modified variable names. You are referring to *h* instead of *b* and *c* instead of *a*, right? [[User:MrSolis|MrSolis]] ([[User:MrSolis|talk]]) 15:02, 30 April 2025 (UTC)&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Talk:Antihydra&amp;diff=1866</id>
		<title>Talk:Antihydra</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Talk:Antihydra&amp;diff=1866"/>
		<updated>2025-04-30T15:00:28Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Variable Naming Conventions ==&lt;br /&gt;
I noticed that the usage of the variables &#039;a&#039; and &#039;b&#039; in this article are opposite to how they are defined in other sources. Can we modify this article to make it more consistent? [[User:Peacemaker II|Peacemaker II]] ([[User talk:Peacemaker II|talk]]) 00:36, 30 April 2025 (UTC)&lt;br /&gt;
&lt;br /&gt;
Agreeing to the above that renaming the variables in this article would align it to most other sources and also proposing naming these variables h (*h*ydra) and c ((*c*ollatz-like) *c*ondition *c*ounter) instead for easier remembering [[User:Coda|Coda]] ([[User talk:Coda|talk]]) 00:57, 30 April 2025 (UTC)&lt;br /&gt;
&lt;br /&gt;
: I&#039;ll change the article to use the modified variable names. You are referring to *h* instead of *b* and *c* instead of *a*, right? a 15:00, 30 April 2025 (UTC)&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Lucy%27s_Moonlight&amp;diff=1826</id>
		<title>Lucy&#039;s Moonlight</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Lucy%27s_Moonlight&amp;diff=1826"/>
		<updated>2025-04-22T11:18:36Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{machine|1RB0RD_0RC1RE_1RD0LA_1LE1LC_1RF0LD_---0RA}}{{TM|1RB0RD_0RC1RE_1RD0LA_1LE1LC_1RF0LD_---0RA}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lucy&#039;s Moonlight&#039;&#039;&#039; is a [[probviously]] halting tetrational [[BB(6)]] [[Cryptid]]. This [[Turing machine]] was first mentioned [https://discord.com/channels/960643023006490684/1239205785913790465/1345551751016878272 on Discord] by Racheline on 1 Mar 2025, who afterward found a set of [https://discord.com/channels/960643023006490684/1345810396136865822/1345820781363597312 high-level rules] describing it. Shawn Ligocki later discovered and [https://discord.com/channels/960643023006490684/1345810396136865822/1346329322851401868 shared] a more refined set of rules, displayed below.&lt;br /&gt;
&amp;lt;div style=&amp;quot;width: fit-content; text-align: center; margin-left: auto; margin-right: auto;&amp;quot;&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin-left: auto; margin-right: auto;&amp;quot;&lt;br /&gt;
! !!0!!1&lt;br /&gt;
|-&lt;br /&gt;
!A&lt;br /&gt;
|1RB&lt;br /&gt;
|0RD&lt;br /&gt;
|-&lt;br /&gt;
!B&lt;br /&gt;
|0RC&lt;br /&gt;
|1RE&lt;br /&gt;
|-&lt;br /&gt;
!C&lt;br /&gt;
|1RD&lt;br /&gt;
|0LA&lt;br /&gt;
|-&lt;br /&gt;
!D&lt;br /&gt;
|1LE&lt;br /&gt;
|1LC&lt;br /&gt;
|-&lt;br /&gt;
!E&lt;br /&gt;
|1RF&lt;br /&gt;
|0LD&lt;br /&gt;
|-&lt;br /&gt;
!F&lt;br /&gt;
| ---&lt;br /&gt;
|0RA&lt;br /&gt;
|}&lt;br /&gt;
The transition table of Lucy&#039;s Moonlight.&amp;lt;/div&amp;gt;&lt;br /&gt;
==Analysis==&lt;br /&gt;
Let &amp;lt;math&amp;gt;C(a,b):=0^\infty\;1011^a\;1^b\;10\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;. Then,&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|lll|}\hline C(a+1,3b)&amp;amp;\xrightarrow{12b^2+53b+28}&amp;amp;C(a,8b+6),\\C(a+2,3b+1)&amp;amp;\xrightarrow{12b^2+77b+103}&amp;amp;C(a,8b+16),\\C(a+2,3b+2)&amp;amp;\xrightarrow{12b^2+101b+184}&amp;amp;C(a,8b+22),\\C(0,3b)&amp;amp;\xrightarrow{12b^2+29b+52}&amp;amp;C(2b,8),\\C(0,3b+1)&amp;amp;\xrightarrow{12b^2+53b+30}&amp;amp;C(0,8b+5),\\C(1,3b+1)&amp;amp;\xrightarrow{12b^2+53b+58}&amp;amp;0^\infty\;1011^{2b+4}\;1\;\textrm{F&amp;gt;}\;0^\infty,\\C(0,3b+2)&amp;amp;\xrightarrow{12b^2+53b+28}&amp;amp;C(0,8b+5),\\C(1,3b+2)&amp;amp;\xrightarrow{12b^2+77b+160}&amp;amp;C(2b+4,8).\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot;&amp;gt;&#039;&#039;&#039;Proof&#039;&#039;&#039;&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
Consider the partial configuration &amp;lt;math&amp;gt;P(m,n):=1^m\;10^n\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, which after three steps is &amp;lt;math&amp;gt;1^m\;10^n\;\textrm{&amp;lt;D}\;01\;0^\infty&amp;lt;/math&amp;gt;. To advance, this shift rule is required:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;gt;\begin{array}{|l|}\hline10^s\;\textrm{&amp;lt;D}\xrightarrow{2s}\textrm{&amp;lt;D}\;01^s\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
This means we have &amp;lt;math&amp;gt;1^m\;\textrm{&amp;lt;D}\;01^{n+1}\;0^\infty&amp;lt;/math&amp;gt; after &amp;lt;math&amp;gt;2n&amp;lt;/math&amp;gt; steps, with &amp;lt;math&amp;gt;1^{m-3}\;0\;\textrm{D&amp;gt;}\;01^{n+2}\;0^\infty&amp;lt;/math&amp;gt; after three further steps. From here, we can use the fact that &amp;lt;math&amp;gt;0\;\textrm{D&amp;gt;}\;01^s&amp;lt;/math&amp;gt; becomes &amp;lt;math&amp;gt;100\;\textrm{D&amp;gt;}\;01^{s-1}&amp;lt;/math&amp;gt; in four steps if &amp;lt;math&amp;gt;s\ge1&amp;lt;/math&amp;gt; to get this rule:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;gt;\begin{array}{|l|}\hline0\;\textrm{D&amp;gt;}\;01^s\xrightarrow{4s}10^s\;0\;\textrm{D&amp;gt;}\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
Using this rule produces &amp;lt;math&amp;gt;1^{m-3}\;10^{n+2}\;0\;\textrm{D&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;4n+8&amp;lt;/math&amp;gt; steps. With five more steps, we get &amp;lt;math&amp;gt;1^{m-3}\;10^{n+4}\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, which is also &amp;lt;math&amp;gt;P(m-3,n+4)&amp;lt;/math&amp;gt;. To summarize:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;gt;\begin{array}{|l|}\hline P(m,n)\xrightarrow{6n+19}P(m-3,n+4)\text{ if }m\ge3.\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
With &amp;lt;math&amp;gt;C(a,b)&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;P(b,1)&amp;lt;/math&amp;gt; and are able to apply this rule &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\Big\lfloor\frac{b}{3}\Big\rfloor&amp;lt;/math&amp;gt; times, with three possible scenarios:&lt;br /&gt;
#If &amp;lt;math&amp;gt;b\equiv0\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;{\displaystyle\sum_{i=0}^{b/3-1}(6(1+4i)+19)}=\frac{4}{3}b^2+\frac{13}{3}b&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P\Big(0,1+\frac{4b}{3}\Big)&amp;lt;/math&amp;gt;. The matching complete configuration is &amp;lt;math&amp;gt;0^\infty\;1011^a\;10^{1+4b/3}\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;. In &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8}{3}b+5&amp;lt;/math&amp;gt; steps we have &amp;lt;math&amp;gt;0^\infty\;1011^a\;\textrm{&amp;lt;D}\;01^{2+4b/3}\;0^\infty&amp;lt;/math&amp;gt;, followed by &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;11\;\textrm{B&amp;gt;}\;01^{3+4b/3}\;0^\infty&amp;lt;/math&amp;gt; after three steps. We note that if &amp;lt;math&amp;gt;s\ge 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\textrm{B&amp;gt;}\;01^s&amp;lt;/math&amp;gt; becomes &amp;lt;math&amp;gt;11\;\textrm{B&amp;gt;}\;01^{s-1}&amp;lt;/math&amp;gt; in 8 steps, giving this transition rule:&amp;lt;math display=&amp;quot;block&amp;gt;\begin{array}{|l|}\hline\textrm{B&amp;gt;}\;01^s \xrightarrow{8s-4}1^{2s-1}\;0\;\textrm{C&amp;gt;}\text{ if }s\ge1.\\\hline\end{array}&amp;lt;/math&amp;gt;In this instance, the result is &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;1^{7+8b/3}\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(a-1,\frac{8}{3}b+6\Big)&amp;lt;/math&amp;gt;, after &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{32}{3}b+20&amp;lt;/math&amp;gt; steps. This gives a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{53}{3}b+28&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#We can rewrite &amp;lt;math&amp;gt;C(a,b)&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;10\;1^{b+2}\;10\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt; if &amp;lt;math&amp;gt;a\ge 1&amp;lt;/math&amp;gt;. Given this, we have &amp;lt;math&amp;gt;P(b+2,1)&amp;lt;/math&amp;gt;, and if &amp;lt;math&amp;gt;b\equiv1\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{29}{3}b+14&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;10^{(4b+14)/3}\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, which in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b+37}{3}&amp;lt;/math&amp;gt; steps becomes &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;\textrm{&amp;lt;D}\;01^{(4b+17)/3}\;0^\infty&amp;lt;/math&amp;gt;, and then &amp;lt;math&amp;gt;0^\infty\;1011^{a-2}\;11\;\textrm{B&amp;gt;}\;01^{(4b+20)/3}\;0^\infty&amp;lt;/math&amp;gt; after three more steps. We end with &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{32b+148}{3}&amp;lt;/math&amp;gt; steps to get &amp;lt;math&amp;gt;0^\infty\;1011^{a-2}\;1^{(8b+43)/3}\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(a-2,\frac{8b+40}{3}\Big)&amp;lt;/math&amp;gt;. This gives a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+23b+\frac{236}{3}&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;b\equiv2\ (\operatorname{mod}3)&amp;lt;/math&amp;gt; and we reuse the technique of rewriting &amp;lt;math&amp;gt;C(a,b)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+7b+\frac{17}{3}&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;101\;10^{(4b+7)/3}\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, which in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b+23}{3}&amp;lt;/math&amp;gt; steps becomes &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;101\;\textrm{&amp;lt;D}\;01^{(4b+10)/3}\;0^\infty&amp;lt;/math&amp;gt;, and then in five steps, &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;0\;\textrm{D&amp;gt;}\;01^{(4b+13)/3}\;0^\infty&amp;lt;/math&amp;gt;. Adding &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{16b+52}{3}&amp;lt;/math&amp;gt; steps gives us &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;10^{(4b+13)/3}\;0\;\textrm{D&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, and another eight gives us &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;10^{(4b+19)/3}\;\textrm{&amp;lt;D}\;01\;0^\infty&amp;lt;/math&amp;gt;. After &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b+38}{3}&amp;lt;/math&amp;gt; steps, the configuration is &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;\textrm{&amp;lt;D}\;01^{(4b+22)/3}\;0^\infty&amp;lt;/math&amp;gt; and after three more, &amp;lt;math&amp;gt;0^\infty\;1011^{a-2}\;11\;\textrm{B&amp;gt;}\;01^{(4b+25)/3}\;0^\infty&amp;lt;/math&amp;gt;. We conclude with &amp;lt;math&amp;gt;0^\infty\;1011^{a-2}\;1^{(8b+53)/3}\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(a-2,\frac{8b+50}{3}\Big)&amp;lt;/math&amp;gt;, after &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{32b+188}{3}&amp;lt;/math&amp;gt; steps, for a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{85}{3}b+122&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
The behaviour of Lucy&#039;s Moonlight changes at the boundary conditions: &amp;lt;math&amp;gt;a=0&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;a=1&amp;lt;/math&amp;gt;. These changes are addressed below:&lt;br /&gt;
#If &amp;lt;math&amp;gt;a=0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\equiv0\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then starting from &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;D}\;01^{2+4b/3}\;0^\infty&amp;lt;/math&amp;gt;, we take three steps to get &amp;lt;math&amp;gt;0^\infty\;10\;\textrm{A&amp;gt;}\;01^{2+4b/3}\;0^\infty&amp;lt;/math&amp;gt;. It is here that another shift rule must come into use:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline\textrm{A&amp;gt;}\;01^{2s}\xrightarrow{4s}1110^s\;\textrm{A&amp;gt;}\\\hline\end{array}&amp;lt;/math&amp;gt;Upon using this shift rule, we get &amp;lt;math&amp;gt;0^\infty\;10\;1110^{1+2b/3}\;\textrm{A&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt; in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8}{3}b+4&amp;lt;/math&amp;gt; steps. This configuration is the same as &amp;lt;math&amp;gt;0^\infty\;1011^{1+2b/3}\;10\;\textrm{A&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;. With 40 more steps, we end at &amp;lt;math&amp;gt;0^\infty\;1011^{2b/3}\;1^9\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(\frac{2}{3}b,8\Big)&amp;lt;/math&amp;gt;, for a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{29}{3}b+52&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;a=0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\equiv1\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{5}{3}b-3&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math&amp;gt;0^\infty\;1\;10^{(4b-1)/3}\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;. With &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b+7}{3}&amp;lt;/math&amp;gt; more steps we now have &amp;lt;math&amp;gt;0^\infty\;1\;\textrm{&amp;lt;D}\;01^{(4b+2)/3}\;0^\infty&amp;lt;/math&amp;gt;. Given five steps, the result is &amp;lt;math&amp;gt;0^\infty\;1\;\textrm{B&amp;gt;}\;01^{(4b+5)/3}\;0^\infty&amp;lt;/math&amp;gt;, which turns into &amp;lt;math&amp;gt;0^\infty\;1^{(8b+10)/3}\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(0,\frac{8b+7}{3}\Big)&amp;lt;/math&amp;gt; in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{32b+28}{3}&amp;lt;/math&amp;gt; steps for a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+15b+\frac{41}{3}&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;a=1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\equiv1\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then starting from &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;D}\;01^{(4b+17)/3}\;0^\infty&amp;lt;/math&amp;gt;, we get &amp;lt;math&amp;gt;0^\infty\;10\;\textrm{A&amp;gt;}\;01^{(4b+17)/3}\;0^\infty&amp;lt;/math&amp;gt; in three steps. Since &amp;lt;math&amp;gt;01^{(4b+17)/3}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;01^{(4b+14)/3}\;01&amp;lt;/math&amp;gt; are the same, what follows is &amp;lt;math&amp;gt;0^\infty\;1011^{(2b+7)/3}\;10\;\textrm{A&amp;gt;}\;01\;0^\infty&amp;lt;/math&amp;gt; in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b+28}{3}&amp;lt;/math&amp;gt; steps before finally reaching &amp;lt;math&amp;gt;0^\infty\;1011^{(2b+10)/3}\;1\;\textrm{F&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, and therefore the undefined &amp;lt;code&amp;gt;F0&amp;lt;/code&amp;gt; transition, in three steps. This gives a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+15b+\frac{125}{3}&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;a=0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\equiv2\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2-b-\frac{10}{3}&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math&amp;gt;0^\infty\;11\;10^{(4x-5)/3}\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;. It takes a further &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b-1}{3}&amp;lt;/math&amp;gt; steps to reach &amp;lt;math&amp;gt;0^\infty\;11\;\textrm{&amp;lt;D}\;01^{(4b-2)/3}\;0^\infty&amp;lt;/math&amp;gt;, and adding three more gives us &amp;lt;math&amp;gt;0^\infty\;1\;\textrm{B&amp;gt;}\;01^{(4b+1)/3}\;0^\infty&amp;lt;/math&amp;gt;. With &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{32b-4}{3}&amp;lt;/math&amp;gt; more steps we end up with &amp;lt;math&amp;gt;0^\infty\;1^{(8b+2)/3}\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(0,\frac{8b-1}{3}\Big)&amp;lt;/math&amp;gt;. This gives a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{37}{3}b-2&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;a=1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\equiv2\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then starting from &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;D}\;01^{(4b+22)/3}\;0^\infty&amp;lt;/math&amp;gt;, we take three steps to get &amp;lt;math&amp;gt;0^\infty\;10\;\textrm{A&amp;gt;}\;01^{(4b+22)/3}\;0^\infty&amp;lt;/math&amp;gt;, and taking &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b+44}{3}&amp;lt;/math&amp;gt; more steps produces &amp;lt;math&amp;gt;0^\infty\;1011^{(2b+11)/3}\;10\;\textrm{A&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;. After 40 steps, we reach &amp;lt;math&amp;gt;0^\infty\;1011^{(2b+8)/3}\;1^9\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, which is &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(\frac{2b+8}{3},8\Big)&amp;lt;/math&amp;gt;, for a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{61}{3}b+114&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
The information above can be summarized as&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;C(a,b)\rightarrow\begin{cases}C\Big(a-1,\frac{8}{3}b+6\Big)&amp;amp;\text{if }a\ge1\text{ and }b\equiv0\pmod{3},\\C\Big(a-2,\frac{8b+40}{3}\Big)&amp;amp;\text{if }a\ge2\text{ and }b\equiv1\pmod{3},\\C\Big(a-2,\frac{8b+50}{3}\Big)&amp;amp;\text{if }a\ge2\text{ and }b\equiv2\pmod{3},\\C\Big(\frac{2}{3}b,8\Big)&amp;amp;\text{if }a=0\text{ and }b\equiv0\pmod{3},\\C\Big(0,\frac{8b+7}{3}\Big)&amp;amp;\text{if }a=0\text{ and }b\equiv1\pmod{3},\\0^\infty\;1011^{(2b+10)/3}\;1\;\textrm{F&amp;gt;}\;0^\infty&amp;amp;\text{if }a=1\text{ and }b\equiv1\pmod{3},\\C\Big(0,\frac{8b-1}{3}\Big)&amp;amp;\text{if }a=0\text{ and }b\equiv2\pmod{3},\\C\Big(\frac{2b+8}{3},8\Big)&amp;amp;\text{if }a=1\text{ and }b\equiv2\pmod{3}.\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
Substituting &amp;lt;math&amp;gt;b=3b+k&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; is the remainder of &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; modulo 3, yields the final result.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
These rules imply a sequence &amp;lt;math&amp;gt;G_n&amp;lt;/math&amp;gt; that grows tetrationally in &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, which Lucy&#039;s Moonlight iterates through one by one. For each &amp;lt;math&amp;gt;g\in G_n&amp;lt;/math&amp;gt;, it reaches the configuration &amp;lt;math&amp;gt;C(g,8)&amp;lt;/math&amp;gt; and then repeatedly applies the first three rules until meeting a configuration &amp;lt;math&amp;gt;C(g&#039;,q)&amp;lt;/math&amp;gt; that satisfies the boundary conditions. If &amp;lt;math&amp;gt;g&#039;=1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt; is congruent to 1 modulo 3, then Lucy&#039;s Moonlight will halt; otherwise, it moves on to the next term in &amp;lt;math&amp;gt;G_n&amp;lt;/math&amp;gt;.&lt;br /&gt;
==Trajectory==&lt;br /&gt;
Starting with &amp;lt;math&amp;gt;C(0,0)&amp;lt;/math&amp;gt; after two steps, Lucy&#039;s Moonlight repeatedly applies the [[Collatz-like]] rules. The first few steps are shown below:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline C(0,0)\xrightarrow{52}C(0,8)\xrightarrow{182}C(0,21)\xrightarrow{843}C(14,8)\xrightarrow{434}C(12,38)\xrightarrow{3124}C(10,118)\xrightarrow{21358}C(8,328)\rightarrow\cdots\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
From &amp;lt;math&amp;gt;C(0,0)&amp;lt;/math&amp;gt;, it takes 11 rule steps to get &amp;lt;math&amp;gt;C(11292,8)&amp;lt;/math&amp;gt; and 6811 more to get &amp;lt;math&amp;gt;C(G_3,8)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;G_3\approx 8.282\times10^{2901}&amp;lt;/math&amp;gt;. Despite this rapid growth, Lucy&#039;s Moonlight appears to be [[probviously]] halting if one considers each instance of &amp;lt;math&amp;gt;C(g,8)&amp;lt;/math&amp;gt; as the beginning of an independent round of a luck-based game, detailed below:&lt;br /&gt;
#A large number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is generated randomly.&lt;br /&gt;
#At each time unit, &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; will decrease by 1 with probability &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{1}{3}&amp;lt;/math&amp;gt; or decrease by 2 with probability &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{2}{3}&amp;lt;/math&amp;gt; provided that &amp;lt;math&amp;gt;n\ge2&amp;lt;/math&amp;gt;.&lt;br /&gt;
#If &amp;lt;math&amp;gt;n=1&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; will decrease to 0, the game is won, or a new round begins, each with probability &amp;lt;math display=&amp;quot;inline&amp;gt;\frac{1}{3}&amp;lt;/math&amp;gt;.&lt;br /&gt;
#If &amp;lt;math&amp;gt;n=0&amp;lt;/math&amp;gt;, then a new round begins.&lt;br /&gt;
The probability of winning a round with starting value &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;P(n)&amp;lt;/math&amp;gt;, is described for &amp;lt;math&amp;gt;n\ge2&amp;lt;/math&amp;gt; by the recurrence relation &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P(n)=\frac{1}{3}P(n-1)+\frac{2}{3}P(n-2)&amp;lt;/math&amp;gt;. The general solution to this equation is &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P(n)=c_0+c_1{\Big({-\frac{2}{3}}\Big)}^n&amp;lt;/math&amp;gt;, and by using the conditions &amp;lt;math&amp;gt;P(0)=0&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P(1)=\frac{1}{3}&amp;lt;/math&amp;gt; we get &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P(n)=\frac{1}{5}\Big(1-{\Big({-\frac{2}{3}}\Big)}^n\Big)&amp;lt;/math&amp;gt;. This approximately equals &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{1}{5}&amp;lt;/math&amp;gt; for large &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, so the probability of winning the game in &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; rounds is approximately &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;1-\Big(\frac{4}{5}\Big)^r&amp;lt;/math&amp;gt;, which approaches 1 as &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; increases.&lt;br /&gt;
[[Category:Cryptids]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Lucy%27s_Moonlight&amp;diff=1825</id>
		<title>Lucy&#039;s Moonlight</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Lucy%27s_Moonlight&amp;diff=1825"/>
		<updated>2025-04-22T11:18:19Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: added the adjectives back in (really not looking to argue, the edit was not meant as an attack, simply a criticism)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{machine|1RB0RD_0RC1RE_1RD0LA_1LE1LC_1RF0LD_---0RA}}{{TM|1RB0RD_0RC1RE_1RD0LA_1LE1LC_1RF0LD_---0RA}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lucy&#039;s Moonlight&#039;&#039;&#039; is a [[probviously]] halting tetrational [[BB(6)]] [[Cryptid]].. This [[Turing machine]] was first mentioned [https://discord.com/channels/960643023006490684/1239205785913790465/1345551751016878272 on Discord] by Racheline on 1 Mar 2025, who afterward found a set of [https://discord.com/channels/960643023006490684/1345810396136865822/1345820781363597312 high-level rules] describing it. Shawn Ligocki later discovered and [https://discord.com/channels/960643023006490684/1345810396136865822/1346329322851401868 shared] a more refined set of rules, displayed below.&lt;br /&gt;
&amp;lt;div style=&amp;quot;width: fit-content; text-align: center; margin-left: auto; margin-right: auto;&amp;quot;&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin-left: auto; margin-right: auto;&amp;quot;&lt;br /&gt;
! !!0!!1&lt;br /&gt;
|-&lt;br /&gt;
!A&lt;br /&gt;
|1RB&lt;br /&gt;
|0RD&lt;br /&gt;
|-&lt;br /&gt;
!B&lt;br /&gt;
|0RC&lt;br /&gt;
|1RE&lt;br /&gt;
|-&lt;br /&gt;
!C&lt;br /&gt;
|1RD&lt;br /&gt;
|0LA&lt;br /&gt;
|-&lt;br /&gt;
!D&lt;br /&gt;
|1LE&lt;br /&gt;
|1LC&lt;br /&gt;
|-&lt;br /&gt;
!E&lt;br /&gt;
|1RF&lt;br /&gt;
|0LD&lt;br /&gt;
|-&lt;br /&gt;
!F&lt;br /&gt;
| ---&lt;br /&gt;
|0RA&lt;br /&gt;
|}&lt;br /&gt;
The transition table of Lucy&#039;s Moonlight.&amp;lt;/div&amp;gt;&lt;br /&gt;
==Analysis==&lt;br /&gt;
Let &amp;lt;math&amp;gt;C(a,b):=0^\infty\;1011^a\;1^b\;10\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;. Then,&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|lll|}\hline C(a+1,3b)&amp;amp;\xrightarrow{12b^2+53b+28}&amp;amp;C(a,8b+6),\\C(a+2,3b+1)&amp;amp;\xrightarrow{12b^2+77b+103}&amp;amp;C(a,8b+16),\\C(a+2,3b+2)&amp;amp;\xrightarrow{12b^2+101b+184}&amp;amp;C(a,8b+22),\\C(0,3b)&amp;amp;\xrightarrow{12b^2+29b+52}&amp;amp;C(2b,8),\\C(0,3b+1)&amp;amp;\xrightarrow{12b^2+53b+30}&amp;amp;C(0,8b+5),\\C(1,3b+1)&amp;amp;\xrightarrow{12b^2+53b+58}&amp;amp;0^\infty\;1011^{2b+4}\;1\;\textrm{F&amp;gt;}\;0^\infty,\\C(0,3b+2)&amp;amp;\xrightarrow{12b^2+53b+28}&amp;amp;C(0,8b+5),\\C(1,3b+2)&amp;amp;\xrightarrow{12b^2+77b+160}&amp;amp;C(2b+4,8).\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot;&amp;gt;&#039;&#039;&#039;Proof&#039;&#039;&#039;&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
Consider the partial configuration &amp;lt;math&amp;gt;P(m,n):=1^m\;10^n\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, which after three steps is &amp;lt;math&amp;gt;1^m\;10^n\;\textrm{&amp;lt;D}\;01\;0^\infty&amp;lt;/math&amp;gt;. To advance, this shift rule is required:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;gt;\begin{array}{|l|}\hline10^s\;\textrm{&amp;lt;D}\xrightarrow{2s}\textrm{&amp;lt;D}\;01^s\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
This means we have &amp;lt;math&amp;gt;1^m\;\textrm{&amp;lt;D}\;01^{n+1}\;0^\infty&amp;lt;/math&amp;gt; after &amp;lt;math&amp;gt;2n&amp;lt;/math&amp;gt; steps, with &amp;lt;math&amp;gt;1^{m-3}\;0\;\textrm{D&amp;gt;}\;01^{n+2}\;0^\infty&amp;lt;/math&amp;gt; after three further steps. From here, we can use the fact that &amp;lt;math&amp;gt;0\;\textrm{D&amp;gt;}\;01^s&amp;lt;/math&amp;gt; becomes &amp;lt;math&amp;gt;100\;\textrm{D&amp;gt;}\;01^{s-1}&amp;lt;/math&amp;gt; in four steps if &amp;lt;math&amp;gt;s\ge1&amp;lt;/math&amp;gt; to get this rule:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;gt;\begin{array}{|l|}\hline0\;\textrm{D&amp;gt;}\;01^s\xrightarrow{4s}10^s\;0\;\textrm{D&amp;gt;}\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
Using this rule produces &amp;lt;math&amp;gt;1^{m-3}\;10^{n+2}\;0\;\textrm{D&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;4n+8&amp;lt;/math&amp;gt; steps. With five more steps, we get &amp;lt;math&amp;gt;1^{m-3}\;10^{n+4}\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, which is also &amp;lt;math&amp;gt;P(m-3,n+4)&amp;lt;/math&amp;gt;. To summarize:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;gt;\begin{array}{|l|}\hline P(m,n)\xrightarrow{6n+19}P(m-3,n+4)\text{ if }m\ge3.\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
With &amp;lt;math&amp;gt;C(a,b)&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;P(b,1)&amp;lt;/math&amp;gt; and are able to apply this rule &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\Big\lfloor\frac{b}{3}\Big\rfloor&amp;lt;/math&amp;gt; times, with three possible scenarios:&lt;br /&gt;
#If &amp;lt;math&amp;gt;b\equiv0\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;{\displaystyle\sum_{i=0}^{b/3-1}(6(1+4i)+19)}=\frac{4}{3}b^2+\frac{13}{3}b&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P\Big(0,1+\frac{4b}{3}\Big)&amp;lt;/math&amp;gt;. The matching complete configuration is &amp;lt;math&amp;gt;0^\infty\;1011^a\;10^{1+4b/3}\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;. In &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8}{3}b+5&amp;lt;/math&amp;gt; steps we have &amp;lt;math&amp;gt;0^\infty\;1011^a\;\textrm{&amp;lt;D}\;01^{2+4b/3}\;0^\infty&amp;lt;/math&amp;gt;, followed by &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;11\;\textrm{B&amp;gt;}\;01^{3+4b/3}\;0^\infty&amp;lt;/math&amp;gt; after three steps. We note that if &amp;lt;math&amp;gt;s\ge 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\textrm{B&amp;gt;}\;01^s&amp;lt;/math&amp;gt; becomes &amp;lt;math&amp;gt;11\;\textrm{B&amp;gt;}\;01^{s-1}&amp;lt;/math&amp;gt; in 8 steps, giving this transition rule:&amp;lt;math display=&amp;quot;block&amp;gt;\begin{array}{|l|}\hline\textrm{B&amp;gt;}\;01^s \xrightarrow{8s-4}1^{2s-1}\;0\;\textrm{C&amp;gt;}\text{ if }s\ge1.\\\hline\end{array}&amp;lt;/math&amp;gt;In this instance, the result is &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;1^{7+8b/3}\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(a-1,\frac{8}{3}b+6\Big)&amp;lt;/math&amp;gt;, after &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{32}{3}b+20&amp;lt;/math&amp;gt; steps. This gives a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{53}{3}b+28&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#We can rewrite &amp;lt;math&amp;gt;C(a,b)&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;10\;1^{b+2}\;10\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt; if &amp;lt;math&amp;gt;a\ge 1&amp;lt;/math&amp;gt;. Given this, we have &amp;lt;math&amp;gt;P(b+2,1)&amp;lt;/math&amp;gt;, and if &amp;lt;math&amp;gt;b\equiv1\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{29}{3}b+14&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;10^{(4b+14)/3}\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, which in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b+37}{3}&amp;lt;/math&amp;gt; steps becomes &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;\textrm{&amp;lt;D}\;01^{(4b+17)/3}\;0^\infty&amp;lt;/math&amp;gt;, and then &amp;lt;math&amp;gt;0^\infty\;1011^{a-2}\;11\;\textrm{B&amp;gt;}\;01^{(4b+20)/3}\;0^\infty&amp;lt;/math&amp;gt; after three more steps. We end with &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{32b+148}{3}&amp;lt;/math&amp;gt; steps to get &amp;lt;math&amp;gt;0^\infty\;1011^{a-2}\;1^{(8b+43)/3}\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(a-2,\frac{8b+40}{3}\Big)&amp;lt;/math&amp;gt;. This gives a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+23b+\frac{236}{3}&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;b\equiv2\ (\operatorname{mod}3)&amp;lt;/math&amp;gt; and we reuse the technique of rewriting &amp;lt;math&amp;gt;C(a,b)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+7b+\frac{17}{3}&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;101\;10^{(4b+7)/3}\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, which in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b+23}{3}&amp;lt;/math&amp;gt; steps becomes &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;101\;\textrm{&amp;lt;D}\;01^{(4b+10)/3}\;0^\infty&amp;lt;/math&amp;gt;, and then in five steps, &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;0\;\textrm{D&amp;gt;}\;01^{(4b+13)/3}\;0^\infty&amp;lt;/math&amp;gt;. Adding &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{16b+52}{3}&amp;lt;/math&amp;gt; steps gives us &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;10^{(4b+13)/3}\;0\;\textrm{D&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, and another eight gives us &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;10^{(4b+19)/3}\;\textrm{&amp;lt;D}\;01\;0^\infty&amp;lt;/math&amp;gt;. After &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b+38}{3}&amp;lt;/math&amp;gt; steps, the configuration is &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;\textrm{&amp;lt;D}\;01^{(4b+22)/3}\;0^\infty&amp;lt;/math&amp;gt; and after three more, &amp;lt;math&amp;gt;0^\infty\;1011^{a-2}\;11\;\textrm{B&amp;gt;}\;01^{(4b+25)/3}\;0^\infty&amp;lt;/math&amp;gt;. We conclude with &amp;lt;math&amp;gt;0^\infty\;1011^{a-2}\;1^{(8b+53)/3}\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(a-2,\frac{8b+50}{3}\Big)&amp;lt;/math&amp;gt;, after &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{32b+188}{3}&amp;lt;/math&amp;gt; steps, for a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{85}{3}b+122&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
The behaviour of Lucy&#039;s Moonlight changes at the boundary conditions: &amp;lt;math&amp;gt;a=0&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;a=1&amp;lt;/math&amp;gt;. These changes are addressed below:&lt;br /&gt;
#If &amp;lt;math&amp;gt;a=0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\equiv0\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then starting from &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;D}\;01^{2+4b/3}\;0^\infty&amp;lt;/math&amp;gt;, we take three steps to get &amp;lt;math&amp;gt;0^\infty\;10\;\textrm{A&amp;gt;}\;01^{2+4b/3}\;0^\infty&amp;lt;/math&amp;gt;. It is here that another shift rule must come into use:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline\textrm{A&amp;gt;}\;01^{2s}\xrightarrow{4s}1110^s\;\textrm{A&amp;gt;}\\\hline\end{array}&amp;lt;/math&amp;gt;Upon using this shift rule, we get &amp;lt;math&amp;gt;0^\infty\;10\;1110^{1+2b/3}\;\textrm{A&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt; in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8}{3}b+4&amp;lt;/math&amp;gt; steps. This configuration is the same as &amp;lt;math&amp;gt;0^\infty\;1011^{1+2b/3}\;10\;\textrm{A&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;. With 40 more steps, we end at &amp;lt;math&amp;gt;0^\infty\;1011^{2b/3}\;1^9\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(\frac{2}{3}b,8\Big)&amp;lt;/math&amp;gt;, for a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{29}{3}b+52&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;a=0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\equiv1\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{5}{3}b-3&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math&amp;gt;0^\infty\;1\;10^{(4b-1)/3}\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;. With &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b+7}{3}&amp;lt;/math&amp;gt; more steps we now have &amp;lt;math&amp;gt;0^\infty\;1\;\textrm{&amp;lt;D}\;01^{(4b+2)/3}\;0^\infty&amp;lt;/math&amp;gt;. Given five steps, the result is &amp;lt;math&amp;gt;0^\infty\;1\;\textrm{B&amp;gt;}\;01^{(4b+5)/3}\;0^\infty&amp;lt;/math&amp;gt;, which turns into &amp;lt;math&amp;gt;0^\infty\;1^{(8b+10)/3}\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(0,\frac{8b+7}{3}\Big)&amp;lt;/math&amp;gt; in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{32b+28}{3}&amp;lt;/math&amp;gt; steps for a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+15b+\frac{41}{3}&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;a=1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\equiv1\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then starting from &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;D}\;01^{(4b+17)/3}\;0^\infty&amp;lt;/math&amp;gt;, we get &amp;lt;math&amp;gt;0^\infty\;10\;\textrm{A&amp;gt;}\;01^{(4b+17)/3}\;0^\infty&amp;lt;/math&amp;gt; in three steps. Since &amp;lt;math&amp;gt;01^{(4b+17)/3}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;01^{(4b+14)/3}\;01&amp;lt;/math&amp;gt; are the same, what follows is &amp;lt;math&amp;gt;0^\infty\;1011^{(2b+7)/3}\;10\;\textrm{A&amp;gt;}\;01\;0^\infty&amp;lt;/math&amp;gt; in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b+28}{3}&amp;lt;/math&amp;gt; steps before finally reaching &amp;lt;math&amp;gt;0^\infty\;1011^{(2b+10)/3}\;1\;\textrm{F&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, and therefore the undefined &amp;lt;code&amp;gt;F0&amp;lt;/code&amp;gt; transition, in three steps. This gives a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+15b+\frac{125}{3}&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;a=0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\equiv2\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2-b-\frac{10}{3}&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math&amp;gt;0^\infty\;11\;10^{(4x-5)/3}\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;. It takes a further &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b-1}{3}&amp;lt;/math&amp;gt; steps to reach &amp;lt;math&amp;gt;0^\infty\;11\;\textrm{&amp;lt;D}\;01^{(4b-2)/3}\;0^\infty&amp;lt;/math&amp;gt;, and adding three more gives us &amp;lt;math&amp;gt;0^\infty\;1\;\textrm{B&amp;gt;}\;01^{(4b+1)/3}\;0^\infty&amp;lt;/math&amp;gt;. With &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{32b-4}{3}&amp;lt;/math&amp;gt; more steps we end up with &amp;lt;math&amp;gt;0^\infty\;1^{(8b+2)/3}\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(0,\frac{8b-1}{3}\Big)&amp;lt;/math&amp;gt;. This gives a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{37}{3}b-2&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;a=1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\equiv2\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then starting from &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;D}\;01^{(4b+22)/3}\;0^\infty&amp;lt;/math&amp;gt;, we take three steps to get &amp;lt;math&amp;gt;0^\infty\;10\;\textrm{A&amp;gt;}\;01^{(4b+22)/3}\;0^\infty&amp;lt;/math&amp;gt;, and taking &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b+44}{3}&amp;lt;/math&amp;gt; more steps produces &amp;lt;math&amp;gt;0^\infty\;1011^{(2b+11)/3}\;10\;\textrm{A&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;. After 40 steps, we reach &amp;lt;math&amp;gt;0^\infty\;1011^{(2b+8)/3}\;1^9\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, which is &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(\frac{2b+8}{3},8\Big)&amp;lt;/math&amp;gt;, for a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{61}{3}b+114&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
The information above can be summarized as&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;C(a,b)\rightarrow\begin{cases}C\Big(a-1,\frac{8}{3}b+6\Big)&amp;amp;\text{if }a\ge1\text{ and }b\equiv0\pmod{3},\\C\Big(a-2,\frac{8b+40}{3}\Big)&amp;amp;\text{if }a\ge2\text{ and }b\equiv1\pmod{3},\\C\Big(a-2,\frac{8b+50}{3}\Big)&amp;amp;\text{if }a\ge2\text{ and }b\equiv2\pmod{3},\\C\Big(\frac{2}{3}b,8\Big)&amp;amp;\text{if }a=0\text{ and }b\equiv0\pmod{3},\\C\Big(0,\frac{8b+7}{3}\Big)&amp;amp;\text{if }a=0\text{ and }b\equiv1\pmod{3},\\0^\infty\;1011^{(2b+10)/3}\;1\;\textrm{F&amp;gt;}\;0^\infty&amp;amp;\text{if }a=1\text{ and }b\equiv1\pmod{3},\\C\Big(0,\frac{8b-1}{3}\Big)&amp;amp;\text{if }a=0\text{ and }b\equiv2\pmod{3},\\C\Big(\frac{2b+8}{3},8\Big)&amp;amp;\text{if }a=1\text{ and }b\equiv2\pmod{3}.\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
Substituting &amp;lt;math&amp;gt;b=3b+k&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; is the remainder of &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; modulo 3, yields the final result.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
These rules imply a sequence &amp;lt;math&amp;gt;G_n&amp;lt;/math&amp;gt; that grows tetrationally in &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, which Lucy&#039;s Moonlight iterates through one by one. For each &amp;lt;math&amp;gt;g\in G_n&amp;lt;/math&amp;gt;, it reaches the configuration &amp;lt;math&amp;gt;C(g,8)&amp;lt;/math&amp;gt; and then repeatedly applies the first three rules until meeting a configuration &amp;lt;math&amp;gt;C(g&#039;,q)&amp;lt;/math&amp;gt; that satisfies the boundary conditions. If &amp;lt;math&amp;gt;g&#039;=1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt; is congruent to 1 modulo 3, then Lucy&#039;s Moonlight will halt; otherwise, it moves on to the next term in &amp;lt;math&amp;gt;G_n&amp;lt;/math&amp;gt;.&lt;br /&gt;
==Trajectory==&lt;br /&gt;
Starting with &amp;lt;math&amp;gt;C(0,0)&amp;lt;/math&amp;gt; after two steps, Lucy&#039;s Moonlight repeatedly applies the [[Collatz-like]] rules. The first few steps are shown below:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline C(0,0)\xrightarrow{52}C(0,8)\xrightarrow{182}C(0,21)\xrightarrow{843}C(14,8)\xrightarrow{434}C(12,38)\xrightarrow{3124}C(10,118)\xrightarrow{21358}C(8,328)\rightarrow\cdots\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
From &amp;lt;math&amp;gt;C(0,0)&amp;lt;/math&amp;gt;, it takes 11 rule steps to get &amp;lt;math&amp;gt;C(11292,8)&amp;lt;/math&amp;gt; and 6811 more to get &amp;lt;math&amp;gt;C(G_3,8)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;G_3\approx 8.282\times10^{2901}&amp;lt;/math&amp;gt;. Despite this rapid growth, Lucy&#039;s Moonlight appears to be [[probviously]] halting if one considers each instance of &amp;lt;math&amp;gt;C(g,8)&amp;lt;/math&amp;gt; as the beginning of an independent round of a luck-based game, detailed below:&lt;br /&gt;
#A large number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is generated randomly.&lt;br /&gt;
#At each time unit, &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; will decrease by 1 with probability &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{1}{3}&amp;lt;/math&amp;gt; or decrease by 2 with probability &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{2}{3}&amp;lt;/math&amp;gt; provided that &amp;lt;math&amp;gt;n\ge2&amp;lt;/math&amp;gt;.&lt;br /&gt;
#If &amp;lt;math&amp;gt;n=1&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; will decrease to 0, the game is won, or a new round begins, each with probability &amp;lt;math display=&amp;quot;inline&amp;gt;\frac{1}{3}&amp;lt;/math&amp;gt;.&lt;br /&gt;
#If &amp;lt;math&amp;gt;n=0&amp;lt;/math&amp;gt;, then a new round begins.&lt;br /&gt;
The probability of winning a round with starting value &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;P(n)&amp;lt;/math&amp;gt;, is described for &amp;lt;math&amp;gt;n\ge2&amp;lt;/math&amp;gt; by the recurrence relation &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P(n)=\frac{1}{3}P(n-1)+\frac{2}{3}P(n-2)&amp;lt;/math&amp;gt;. The general solution to this equation is &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P(n)=c_0+c_1{\Big({-\frac{2}{3}}\Big)}^n&amp;lt;/math&amp;gt;, and by using the conditions &amp;lt;math&amp;gt;P(0)=0&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P(1)=\frac{1}{3}&amp;lt;/math&amp;gt; we get &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P(n)=\frac{1}{5}\Big(1-{\Big({-\frac{2}{3}}\Big)}^n\Big)&amp;lt;/math&amp;gt;. This approximately equals &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{1}{5}&amp;lt;/math&amp;gt; for large &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, so the probability of winning the game in &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; rounds is approximately &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;1-\Big(\frac{4}{5}\Big)^r&amp;lt;/math&amp;gt;, which approaches 1 as &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; increases.&lt;br /&gt;
[[Category:Cryptids]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Lucy%27s_Moonlight&amp;diff=1824</id>
		<title>Lucy&#039;s Moonlight</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Lucy%27s_Moonlight&amp;diff=1824"/>
		<updated>2025-04-22T11:16:29Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{machine|1RB0RD_0RC1RE_1RD0LA_1LE1LC_1RF0LD_---0RA}}{{TM|1RB0RD_0RC1RE_1RD0LA_1LE1LC_1RF0LD_---0RA}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lucy&#039;s Moonlight&#039;&#039;&#039; is a [[BB(6)]] [[Cryptid]]. This [[Turing machine]] was first mentioned [https://discord.com/channels/960643023006490684/1239205785913790465/1345551751016878272 on Discord] by Racheline on 1 Mar 2025, who afterward found a set of [https://discord.com/channels/960643023006490684/1345810396136865822/1345820781363597312 high-level rules] describing it. Shawn Ligocki later discovered and [https://discord.com/channels/960643023006490684/1345810396136865822/1346329322851401868 shared] a more refined set of rules, displayed below.&lt;br /&gt;
&amp;lt;div style=&amp;quot;width: fit-content; text-align: center; margin-left: auto; margin-right: auto;&amp;quot;&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin-left: auto; margin-right: auto;&amp;quot;&lt;br /&gt;
! !!0!!1&lt;br /&gt;
|-&lt;br /&gt;
!A&lt;br /&gt;
|1RB&lt;br /&gt;
|0RD&lt;br /&gt;
|-&lt;br /&gt;
!B&lt;br /&gt;
|0RC&lt;br /&gt;
|1RE&lt;br /&gt;
|-&lt;br /&gt;
!C&lt;br /&gt;
|1RD&lt;br /&gt;
|0LA&lt;br /&gt;
|-&lt;br /&gt;
!D&lt;br /&gt;
|1LE&lt;br /&gt;
|1LC&lt;br /&gt;
|-&lt;br /&gt;
!E&lt;br /&gt;
|1RF&lt;br /&gt;
|0LD&lt;br /&gt;
|-&lt;br /&gt;
!F&lt;br /&gt;
| ---&lt;br /&gt;
|0RA&lt;br /&gt;
|}&lt;br /&gt;
The transition table of Lucy&#039;s Moonlight.&amp;lt;/div&amp;gt;&lt;br /&gt;
==Analysis==&lt;br /&gt;
Let &amp;lt;math&amp;gt;C(a,b):=0^\infty\;1011^a\;1^b\;10\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;. Then,&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|lll|}\hline C(a+1,3b)&amp;amp;\xrightarrow{12b^2+53b+28}&amp;amp;C(a,8b+6),\\C(a+2,3b+1)&amp;amp;\xrightarrow{12b^2+77b+103}&amp;amp;C(a,8b+16),\\C(a+2,3b+2)&amp;amp;\xrightarrow{12b^2+101b+184}&amp;amp;C(a,8b+22),\\C(0,3b)&amp;amp;\xrightarrow{12b^2+29b+52}&amp;amp;C(2b,8),\\C(0,3b+1)&amp;amp;\xrightarrow{12b^2+53b+30}&amp;amp;C(0,8b+5),\\C(1,3b+1)&amp;amp;\xrightarrow{12b^2+53b+58}&amp;amp;0^\infty\;1011^{2b+4}\;1\;\textrm{F&amp;gt;}\;0^\infty,\\C(0,3b+2)&amp;amp;\xrightarrow{12b^2+53b+28}&amp;amp;C(0,8b+5),\\C(1,3b+2)&amp;amp;\xrightarrow{12b^2+77b+160}&amp;amp;C(2b+4,8).\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot;&amp;gt;&#039;&#039;&#039;Proof&#039;&#039;&#039;&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
Consider the partial configuration &amp;lt;math&amp;gt;P(m,n):=1^m\;10^n\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, which after three steps is &amp;lt;math&amp;gt;1^m\;10^n\;\textrm{&amp;lt;D}\;01\;0^\infty&amp;lt;/math&amp;gt;. To advance, this shift rule is required:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;gt;\begin{array}{|l|}\hline10^s\;\textrm{&amp;lt;D}\xrightarrow{2s}\textrm{&amp;lt;D}\;01^s\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
This means we have &amp;lt;math&amp;gt;1^m\;\textrm{&amp;lt;D}\;01^{n+1}\;0^\infty&amp;lt;/math&amp;gt; after &amp;lt;math&amp;gt;2n&amp;lt;/math&amp;gt; steps, with &amp;lt;math&amp;gt;1^{m-3}\;0\;\textrm{D&amp;gt;}\;01^{n+2}\;0^\infty&amp;lt;/math&amp;gt; after three further steps. From here, we can use the fact that &amp;lt;math&amp;gt;0\;\textrm{D&amp;gt;}\;01^s&amp;lt;/math&amp;gt; becomes &amp;lt;math&amp;gt;100\;\textrm{D&amp;gt;}\;01^{s-1}&amp;lt;/math&amp;gt; in four steps if &amp;lt;math&amp;gt;s\ge1&amp;lt;/math&amp;gt; to get this rule:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;gt;\begin{array}{|l|}\hline0\;\textrm{D&amp;gt;}\;01^s\xrightarrow{4s}10^s\;0\;\textrm{D&amp;gt;}\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
Using this rule produces &amp;lt;math&amp;gt;1^{m-3}\;10^{n+2}\;0\;\textrm{D&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;4n+8&amp;lt;/math&amp;gt; steps. With five more steps, we get &amp;lt;math&amp;gt;1^{m-3}\;10^{n+4}\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, which is also &amp;lt;math&amp;gt;P(m-3,n+4)&amp;lt;/math&amp;gt;. To summarize:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;gt;\begin{array}{|l|}\hline P(m,n)\xrightarrow{6n+19}P(m-3,n+4)\text{ if }m\ge3.\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
With &amp;lt;math&amp;gt;C(a,b)&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;P(b,1)&amp;lt;/math&amp;gt; and are able to apply this rule &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\Big\lfloor\frac{b}{3}\Big\rfloor&amp;lt;/math&amp;gt; times, with three possible scenarios:&lt;br /&gt;
#If &amp;lt;math&amp;gt;b\equiv0\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;{\displaystyle\sum_{i=0}^{b/3-1}(6(1+4i)+19)}=\frac{4}{3}b^2+\frac{13}{3}b&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P\Big(0,1+\frac{4b}{3}\Big)&amp;lt;/math&amp;gt;. The matching complete configuration is &amp;lt;math&amp;gt;0^\infty\;1011^a\;10^{1+4b/3}\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;. In &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8}{3}b+5&amp;lt;/math&amp;gt; steps we have &amp;lt;math&amp;gt;0^\infty\;1011^a\;\textrm{&amp;lt;D}\;01^{2+4b/3}\;0^\infty&amp;lt;/math&amp;gt;, followed by &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;11\;\textrm{B&amp;gt;}\;01^{3+4b/3}\;0^\infty&amp;lt;/math&amp;gt; after three steps. We note that if &amp;lt;math&amp;gt;s\ge 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\textrm{B&amp;gt;}\;01^s&amp;lt;/math&amp;gt; becomes &amp;lt;math&amp;gt;11\;\textrm{B&amp;gt;}\;01^{s-1}&amp;lt;/math&amp;gt; in 8 steps, giving this transition rule:&amp;lt;math display=&amp;quot;block&amp;gt;\begin{array}{|l|}\hline\textrm{B&amp;gt;}\;01^s \xrightarrow{8s-4}1^{2s-1}\;0\;\textrm{C&amp;gt;}\text{ if }s\ge1.\\\hline\end{array}&amp;lt;/math&amp;gt;In this instance, the result is &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;1^{7+8b/3}\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(a-1,\frac{8}{3}b+6\Big)&amp;lt;/math&amp;gt;, after &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{32}{3}b+20&amp;lt;/math&amp;gt; steps. This gives a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{53}{3}b+28&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#We can rewrite &amp;lt;math&amp;gt;C(a,b)&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;10\;1^{b+2}\;10\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt; if &amp;lt;math&amp;gt;a\ge 1&amp;lt;/math&amp;gt;. Given this, we have &amp;lt;math&amp;gt;P(b+2,1)&amp;lt;/math&amp;gt;, and if &amp;lt;math&amp;gt;b\equiv1\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{29}{3}b+14&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;10^{(4b+14)/3}\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, which in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b+37}{3}&amp;lt;/math&amp;gt; steps becomes &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;\textrm{&amp;lt;D}\;01^{(4b+17)/3}\;0^\infty&amp;lt;/math&amp;gt;, and then &amp;lt;math&amp;gt;0^\infty\;1011^{a-2}\;11\;\textrm{B&amp;gt;}\;01^{(4b+20)/3}\;0^\infty&amp;lt;/math&amp;gt; after three more steps. We end with &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{32b+148}{3}&amp;lt;/math&amp;gt; steps to get &amp;lt;math&amp;gt;0^\infty\;1011^{a-2}\;1^{(8b+43)/3}\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(a-2,\frac{8b+40}{3}\Big)&amp;lt;/math&amp;gt;. This gives a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+23b+\frac{236}{3}&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;b\equiv2\ (\operatorname{mod}3)&amp;lt;/math&amp;gt; and we reuse the technique of rewriting &amp;lt;math&amp;gt;C(a,b)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+7b+\frac{17}{3}&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;101\;10^{(4b+7)/3}\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, which in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b+23}{3}&amp;lt;/math&amp;gt; steps becomes &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;101\;\textrm{&amp;lt;D}\;01^{(4b+10)/3}\;0^\infty&amp;lt;/math&amp;gt;, and then in five steps, &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;0\;\textrm{D&amp;gt;}\;01^{(4b+13)/3}\;0^\infty&amp;lt;/math&amp;gt;. Adding &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{16b+52}{3}&amp;lt;/math&amp;gt; steps gives us &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;10^{(4b+13)/3}\;0\;\textrm{D&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, and another eight gives us &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;10^{(4b+19)/3}\;\textrm{&amp;lt;D}\;01\;0^\infty&amp;lt;/math&amp;gt;. After &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b+38}{3}&amp;lt;/math&amp;gt; steps, the configuration is &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;\textrm{&amp;lt;D}\;01^{(4b+22)/3}\;0^\infty&amp;lt;/math&amp;gt; and after three more, &amp;lt;math&amp;gt;0^\infty\;1011^{a-2}\;11\;\textrm{B&amp;gt;}\;01^{(4b+25)/3}\;0^\infty&amp;lt;/math&amp;gt;. We conclude with &amp;lt;math&amp;gt;0^\infty\;1011^{a-2}\;1^{(8b+53)/3}\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(a-2,\frac{8b+50}{3}\Big)&amp;lt;/math&amp;gt;, after &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{32b+188}{3}&amp;lt;/math&amp;gt; steps, for a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{85}{3}b+122&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
The behaviour of Lucy&#039;s Moonlight changes at the boundary conditions: &amp;lt;math&amp;gt;a=0&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;a=1&amp;lt;/math&amp;gt;. These changes are addressed below:&lt;br /&gt;
#If &amp;lt;math&amp;gt;a=0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\equiv0\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then starting from &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;D}\;01^{2+4b/3}\;0^\infty&amp;lt;/math&amp;gt;, we take three steps to get &amp;lt;math&amp;gt;0^\infty\;10\;\textrm{A&amp;gt;}\;01^{2+4b/3}\;0^\infty&amp;lt;/math&amp;gt;. It is here that another shift rule must come into use:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline\textrm{A&amp;gt;}\;01^{2s}\xrightarrow{4s}1110^s\;\textrm{A&amp;gt;}\\\hline\end{array}&amp;lt;/math&amp;gt;Upon using this shift rule, we get &amp;lt;math&amp;gt;0^\infty\;10\;1110^{1+2b/3}\;\textrm{A&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt; in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8}{3}b+4&amp;lt;/math&amp;gt; steps. This configuration is the same as &amp;lt;math&amp;gt;0^\infty\;1011^{1+2b/3}\;10\;\textrm{A&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;. With 40 more steps, we end at &amp;lt;math&amp;gt;0^\infty\;1011^{2b/3}\;1^9\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(\frac{2}{3}b,8\Big)&amp;lt;/math&amp;gt;, for a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{29}{3}b+52&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;a=0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\equiv1\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{5}{3}b-3&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math&amp;gt;0^\infty\;1\;10^{(4b-1)/3}\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;. With &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b+7}{3}&amp;lt;/math&amp;gt; more steps we now have &amp;lt;math&amp;gt;0^\infty\;1\;\textrm{&amp;lt;D}\;01^{(4b+2)/3}\;0^\infty&amp;lt;/math&amp;gt;. Given five steps, the result is &amp;lt;math&amp;gt;0^\infty\;1\;\textrm{B&amp;gt;}\;01^{(4b+5)/3}\;0^\infty&amp;lt;/math&amp;gt;, which turns into &amp;lt;math&amp;gt;0^\infty\;1^{(8b+10)/3}\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(0,\frac{8b+7}{3}\Big)&amp;lt;/math&amp;gt; in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{32b+28}{3}&amp;lt;/math&amp;gt; steps for a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+15b+\frac{41}{3}&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;a=1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\equiv1\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then starting from &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;D}\;01^{(4b+17)/3}\;0^\infty&amp;lt;/math&amp;gt;, we get &amp;lt;math&amp;gt;0^\infty\;10\;\textrm{A&amp;gt;}\;01^{(4b+17)/3}\;0^\infty&amp;lt;/math&amp;gt; in three steps. Since &amp;lt;math&amp;gt;01^{(4b+17)/3}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;01^{(4b+14)/3}\;01&amp;lt;/math&amp;gt; are the same, what follows is &amp;lt;math&amp;gt;0^\infty\;1011^{(2b+7)/3}\;10\;\textrm{A&amp;gt;}\;01\;0^\infty&amp;lt;/math&amp;gt; in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b+28}{3}&amp;lt;/math&amp;gt; steps before finally reaching &amp;lt;math&amp;gt;0^\infty\;1011^{(2b+10)/3}\;1\;\textrm{F&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, and therefore the undefined &amp;lt;code&amp;gt;F0&amp;lt;/code&amp;gt; transition, in three steps. This gives a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+15b+\frac{125}{3}&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;a=0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\equiv2\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2-b-\frac{10}{3}&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math&amp;gt;0^\infty\;11\;10^{(4x-5)/3}\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;. It takes a further &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b-1}{3}&amp;lt;/math&amp;gt; steps to reach &amp;lt;math&amp;gt;0^\infty\;11\;\textrm{&amp;lt;D}\;01^{(4b-2)/3}\;0^\infty&amp;lt;/math&amp;gt;, and adding three more gives us &amp;lt;math&amp;gt;0^\infty\;1\;\textrm{B&amp;gt;}\;01^{(4b+1)/3}\;0^\infty&amp;lt;/math&amp;gt;. With &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{32b-4}{3}&amp;lt;/math&amp;gt; more steps we end up with &amp;lt;math&amp;gt;0^\infty\;1^{(8b+2)/3}\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(0,\frac{8b-1}{3}\Big)&amp;lt;/math&amp;gt;. This gives a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{37}{3}b-2&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;a=1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\equiv2\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then starting from &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;D}\;01^{(4b+22)/3}\;0^\infty&amp;lt;/math&amp;gt;, we take three steps to get &amp;lt;math&amp;gt;0^\infty\;10\;\textrm{A&amp;gt;}\;01^{(4b+22)/3}\;0^\infty&amp;lt;/math&amp;gt;, and taking &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b+44}{3}&amp;lt;/math&amp;gt; more steps produces &amp;lt;math&amp;gt;0^\infty\;1011^{(2b+11)/3}\;10\;\textrm{A&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;. After 40 steps, we reach &amp;lt;math&amp;gt;0^\infty\;1011^{(2b+8)/3}\;1^9\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, which is &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(\frac{2b+8}{3},8\Big)&amp;lt;/math&amp;gt;, for a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{61}{3}b+114&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
The information above can be summarized as&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;C(a,b)\rightarrow\begin{cases}C\Big(a-1,\frac{8}{3}b+6\Big)&amp;amp;\text{if }a\ge1\text{ and }b\equiv0\pmod{3},\\C\Big(a-2,\frac{8b+40}{3}\Big)&amp;amp;\text{if }a\ge2\text{ and }b\equiv1\pmod{3},\\C\Big(a-2,\frac{8b+50}{3}\Big)&amp;amp;\text{if }a\ge2\text{ and }b\equiv2\pmod{3},\\C\Big(\frac{2}{3}b,8\Big)&amp;amp;\text{if }a=0\text{ and }b\equiv0\pmod{3},\\C\Big(0,\frac{8b+7}{3}\Big)&amp;amp;\text{if }a=0\text{ and }b\equiv1\pmod{3},\\0^\infty\;1011^{(2b+10)/3}\;1\;\textrm{F&amp;gt;}\;0^\infty&amp;amp;\text{if }a=1\text{ and }b\equiv1\pmod{3},\\C\Big(0,\frac{8b-1}{3}\Big)&amp;amp;\text{if }a=0\text{ and }b\equiv2\pmod{3},\\C\Big(\frac{2b+8}{3},8\Big)&amp;amp;\text{if }a=1\text{ and }b\equiv2\pmod{3}.\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
Substituting &amp;lt;math&amp;gt;b=3b+k&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; is the remainder of &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; modulo 3, yields the final result.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
These rules imply a sequence &amp;lt;math&amp;gt;G_n&amp;lt;/math&amp;gt; that grows tetrationally in &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, which Lucy&#039;s Moonlight iterates through one by one. For each &amp;lt;math&amp;gt;g\in G_n&amp;lt;/math&amp;gt;, it reaches the configuration &amp;lt;math&amp;gt;C(g,8)&amp;lt;/math&amp;gt; and then repeatedly applies the first three rules until meeting a configuration &amp;lt;math&amp;gt;C(g&#039;,q)&amp;lt;/math&amp;gt; that satisfies the boundary conditions. If &amp;lt;math&amp;gt;g&#039;=1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt; is congruent to 1 modulo 3, then Lucy&#039;s Moonlight will halt; otherwise, it moves on to the next term in &amp;lt;math&amp;gt;G_n&amp;lt;/math&amp;gt;.&lt;br /&gt;
==Trajectory==&lt;br /&gt;
Starting with &amp;lt;math&amp;gt;C(0,0)&amp;lt;/math&amp;gt; after two steps, Lucy&#039;s Moonlight repeatedly applies the [[Collatz-like]] rules. The first few steps are shown below:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline C(0,0)\xrightarrow{52}C(0,8)\xrightarrow{182}C(0,21)\xrightarrow{843}C(14,8)\xrightarrow{434}C(12,38)\xrightarrow{3124}C(10,118)\xrightarrow{21358}C(8,328)\rightarrow\cdots\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
From &amp;lt;math&amp;gt;C(0,0)&amp;lt;/math&amp;gt;, it takes 11 rule steps to get &amp;lt;math&amp;gt;C(11292,8)&amp;lt;/math&amp;gt; and 6811 more to get &amp;lt;math&amp;gt;C(G_3,8)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;G_3\approx 8.282\times10^{2901}&amp;lt;/math&amp;gt;. Despite this rapid growth, Lucy&#039;s Moonlight appears to be [[probviously]] halting if one considers each instance of &amp;lt;math&amp;gt;C(g,8)&amp;lt;/math&amp;gt; as the beginning of an independent round of a luck-based game, detailed below:&lt;br /&gt;
#A large number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is generated randomly.&lt;br /&gt;
#At each time unit, &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; will decrease by 1 with probability &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{1}{3}&amp;lt;/math&amp;gt; or decrease by 2 with probability &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{2}{3}&amp;lt;/math&amp;gt; provided that &amp;lt;math&amp;gt;n\ge2&amp;lt;/math&amp;gt;.&lt;br /&gt;
#If &amp;lt;math&amp;gt;n=1&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; will decrease to 0, the game is won, or a new round begins, each with probability &amp;lt;math display=&amp;quot;inline&amp;gt;\frac{1}{3}&amp;lt;/math&amp;gt;.&lt;br /&gt;
#If &amp;lt;math&amp;gt;n=0&amp;lt;/math&amp;gt;, then a new round begins.&lt;br /&gt;
The probability of winning a round with starting value &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;P(n)&amp;lt;/math&amp;gt;, is described for &amp;lt;math&amp;gt;n\ge2&amp;lt;/math&amp;gt; by the recurrence relation &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P(n)=\frac{1}{3}P(n-1)+\frac{2}{3}P(n-2)&amp;lt;/math&amp;gt;. The general solution to this equation is &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P(n)=c_0+c_1{\Big({-\frac{2}{3}}\Big)}^n&amp;lt;/math&amp;gt;, and by using the conditions &amp;lt;math&amp;gt;P(0)=0&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P(1)=\frac{1}{3}&amp;lt;/math&amp;gt; we get &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P(n)=\frac{1}{5}\Big(1-{\Big({-\frac{2}{3}}\Big)}^n\Big)&amp;lt;/math&amp;gt;. This approximately equals &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{1}{5}&amp;lt;/math&amp;gt; for large &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, so the probability of winning the game in &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; rounds is approximately &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;1-\Big(\frac{4}{5}\Big)^r&amp;lt;/math&amp;gt;, which approaches 1 as &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; increases.&lt;br /&gt;
[[Category:Cryptids]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Lucy%27s_Moonlight&amp;diff=1822</id>
		<title>Lucy&#039;s Moonlight</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Lucy%27s_Moonlight&amp;diff=1822"/>
		<updated>2025-04-21T22:12:52Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: &amp;quot;tetrational&amp;quot; is an ambiguous term (there is no single exponentiation rule like f(x)=2^x that is repeated to cause tetrational growth); edited wording in the Analysis section to clarify meaning, also reworked Trajectory section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{machine|1RB0RD_0RC1RE_1RD0LA_1LE1LC_1RF0LD_---0RA}}{{TM|1RB0RD_0RC1RE_1RD0LA_1LE1LC_1RF0LD_---0RA}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lucy&#039;s Moonlight&#039;&#039;&#039; is a [[BB(6)]] [[Cryptid]]. This [[Turing machine]] was first mentioned [https://discord.com/channels/960643023006490684/1239205785913790465/1345551751016878272 on Discord] by Racheline on 1 Mar 2025, who afterward found a set of [https://discord.com/channels/960643023006490684/1345810396136865822/1345820781363597312 high-level rules] describing it. Shawn Ligocki later discovered and [https://discord.com/channels/960643023006490684/1345810396136865822/1346329322851401868 shared] a more refined set of rules, displayed below.&lt;br /&gt;
&amp;lt;div style=&amp;quot;width: fit-content; text-align: center; margin-left: auto; margin-right: auto;&amp;quot;&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin-left: auto; margin-right: auto;&amp;quot;&lt;br /&gt;
! !!0!!1&lt;br /&gt;
|-&lt;br /&gt;
!A&lt;br /&gt;
|1RB&lt;br /&gt;
|0RD&lt;br /&gt;
|-&lt;br /&gt;
!B&lt;br /&gt;
|0RC&lt;br /&gt;
|1RE&lt;br /&gt;
|-&lt;br /&gt;
!C&lt;br /&gt;
|1RD&lt;br /&gt;
|0LA&lt;br /&gt;
|-&lt;br /&gt;
!D&lt;br /&gt;
|1LE&lt;br /&gt;
|1LC&lt;br /&gt;
|-&lt;br /&gt;
!E&lt;br /&gt;
|1RF&lt;br /&gt;
|0LD&lt;br /&gt;
|-&lt;br /&gt;
!F&lt;br /&gt;
| ---&lt;br /&gt;
|0RA&lt;br /&gt;
|}&lt;br /&gt;
The transition table of Lucy&#039;s Moonlight.&amp;lt;/div&amp;gt;&lt;br /&gt;
==Analysis==&lt;br /&gt;
Let &amp;lt;math&amp;gt;C(a,b):=0^\infty\;1011^a\;1^b\;10\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;. Then,&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|lll|}\hline C(a+1,3b)&amp;amp;\xrightarrow{12b^2+53b+28}&amp;amp;C(a,8b+6),\\C(a+2,3b+1)&amp;amp;\xrightarrow{12b^2+77b+103}&amp;amp;C(a,8b+16),\\C(a+2,3b+2)&amp;amp;\xrightarrow{12b^2+101b+184}&amp;amp;C(a,8b+22),\\C(0,3b)&amp;amp;\xrightarrow{12b^2+29b+52}&amp;amp;C(2b,8),\\C(0,3b+1)&amp;amp;\xrightarrow{12b^2+53b+30}&amp;amp;C(0,8b+5),\\C(1,3b+1)&amp;amp;\xrightarrow{12b^2+53b+58}&amp;amp;0^\infty\;1011^{2b+4}\;1\;\textrm{F&amp;gt;}\;0^\infty,\\C(0,3b+2)&amp;amp;\xrightarrow{12b^2+53b+28}&amp;amp;C(0,8b+5),\\C(1,3b+2)&amp;amp;\xrightarrow{12b^2+77b+160}&amp;amp;C(2b+4,8).\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot;&amp;gt;&#039;&#039;&#039;Proof&#039;&#039;&#039;&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
Consider the partial configuration &amp;lt;math&amp;gt;P(m,n):=1^m\;10^n\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, which after three steps is &amp;lt;math&amp;gt;1^m\;10^n\;\textrm{&amp;lt;D}\;01\;0^\infty&amp;lt;/math&amp;gt;. To advance, this shift rule is required:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;gt;\begin{array}{|l|}\hline10^s\;\textrm{&amp;lt;D}\xrightarrow{2s}\textrm{&amp;lt;D}\;01^s\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
This means we have &amp;lt;math&amp;gt;1^m\;\textrm{&amp;lt;D}\;01^{n+1}\;0^\infty&amp;lt;/math&amp;gt; after &amp;lt;math&amp;gt;2n&amp;lt;/math&amp;gt; steps, with &amp;lt;math&amp;gt;1^{m-3}\;0\;\textrm{D&amp;gt;}\;01^{n+2}\;0^\infty&amp;lt;/math&amp;gt; after three further steps. From here, we can use the fact that &amp;lt;math&amp;gt;0\;\textrm{D&amp;gt;}\;01^s&amp;lt;/math&amp;gt; becomes &amp;lt;math&amp;gt;100\;\textrm{D&amp;gt;}\;01^{s-1}&amp;lt;/math&amp;gt; in four steps if &amp;lt;math&amp;gt;s\ge1&amp;lt;/math&amp;gt; to get this rule:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;gt;\begin{array}{|l|}\hline0\;\textrm{D&amp;gt;}\;01^s\xrightarrow{4s}10^s\;0\;\textrm{D&amp;gt;}\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
Using this rule produces &amp;lt;math&amp;gt;1^{m-3}\;10^{n+2}\;0\;\textrm{D&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;4n+8&amp;lt;/math&amp;gt; steps. With five more steps, we get &amp;lt;math&amp;gt;1^{m-3}\;10^{n+4}\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, which is also &amp;lt;math&amp;gt;P(m-3,n+4)&amp;lt;/math&amp;gt;. To summarize:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;gt;\begin{array}{|l|}\hline P(m,n)\xrightarrow{6n+19}P(m-3,n+4)\text{ if }m\ge3.\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
With &amp;lt;math&amp;gt;C(a,b)&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;P(b,1)&amp;lt;/math&amp;gt; and are able to apply this rule &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\Big\lfloor\frac{b}{3}\Big\rfloor&amp;lt;/math&amp;gt; times, with three possible scenarios:&lt;br /&gt;
#If &amp;lt;math&amp;gt;b\equiv0\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;{\displaystyle\sum_{i=0}^{b/3-1}(6(1+4i)+19)}=\frac{4}{3}b^2+\frac{13}{3}b&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P\Big(0,1+\frac{4b}{3}\Big)&amp;lt;/math&amp;gt;. The matching complete configuration is &amp;lt;math&amp;gt;0^\infty\;1011^a\;10^{1+4b/3}\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;. In &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8}{3}b+5&amp;lt;/math&amp;gt; steps we have &amp;lt;math&amp;gt;0^\infty\;1011^a\;\textrm{&amp;lt;D}\;01^{2+4b/3}\;0^\infty&amp;lt;/math&amp;gt;, followed by &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;11\;\textrm{B&amp;gt;}\;01^{3+4b/3}\;0^\infty&amp;lt;/math&amp;gt; after three steps. We note that if &amp;lt;math&amp;gt;s\ge 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\textrm{B&amp;gt;}\;01^s&amp;lt;/math&amp;gt; becomes &amp;lt;math&amp;gt;11\;\textrm{B&amp;gt;}\;01^{s-1}&amp;lt;/math&amp;gt; in 8 steps, giving this transition rule:&amp;lt;math display=&amp;quot;block&amp;gt;\begin{array}{|l|}\hline\textrm{B&amp;gt;}\;01^s \xrightarrow{8s-4}1^{2s-1}\;0\;\textrm{C&amp;gt;}\text{ if }s\ge1.\\\hline\end{array}&amp;lt;/math&amp;gt;In this instance, the result is &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;1^{7+8b/3}\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(a-1,\frac{8}{3}b+6\Big)&amp;lt;/math&amp;gt;, after &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{32}{3}b+20&amp;lt;/math&amp;gt; steps. This gives a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{53}{3}b+28&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#We can rewrite &amp;lt;math&amp;gt;C(a,b)&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;10\;1^{b+2}\;10\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt; if &amp;lt;math&amp;gt;a\ge 1&amp;lt;/math&amp;gt;. Given this, we have &amp;lt;math&amp;gt;P(b+2,1)&amp;lt;/math&amp;gt;, and if &amp;lt;math&amp;gt;b\equiv1\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{29}{3}b+14&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;10^{(4b+14)/3}\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, which in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b+37}{3}&amp;lt;/math&amp;gt; steps becomes &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;\textrm{&amp;lt;D}\;01^{(4b+17)/3}\;0^\infty&amp;lt;/math&amp;gt;, and then &amp;lt;math&amp;gt;0^\infty\;1011^{a-2}\;11\;\textrm{B&amp;gt;}\;01^{(4b+20)/3}\;0^\infty&amp;lt;/math&amp;gt; after three more steps. We end with &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{32b+148}{3}&amp;lt;/math&amp;gt; steps to get &amp;lt;math&amp;gt;0^\infty\;1011^{a-2}\;1^{(8b+43)/3}\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(a-2,\frac{8b+40}{3}\Big)&amp;lt;/math&amp;gt;. This gives a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+23b+\frac{236}{3}&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;b\equiv2\ (\operatorname{mod}3)&amp;lt;/math&amp;gt; and we reuse the technique of rewriting &amp;lt;math&amp;gt;C(a,b)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+7b+\frac{17}{3}&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;101\;10^{(4b+7)/3}\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, which in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b+23}{3}&amp;lt;/math&amp;gt; steps becomes &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;101\;\textrm{&amp;lt;D}\;01^{(4b+10)/3}\;0^\infty&amp;lt;/math&amp;gt;, and then in five steps, &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;0\;\textrm{D&amp;gt;}\;01^{(4b+13)/3}\;0^\infty&amp;lt;/math&amp;gt;. Adding &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{16b+52}{3}&amp;lt;/math&amp;gt; steps gives us &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;10^{(4b+13)/3}\;0\;\textrm{D&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, and another eight gives us &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;10^{(4b+19)/3}\;\textrm{&amp;lt;D}\;01\;0^\infty&amp;lt;/math&amp;gt;. After &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b+38}{3}&amp;lt;/math&amp;gt; steps, the configuration is &amp;lt;math&amp;gt;0^\infty\;1011^{a-1}\;\textrm{&amp;lt;D}\;01^{(4b+22)/3}\;0^\infty&amp;lt;/math&amp;gt; and after three more, &amp;lt;math&amp;gt;0^\infty\;1011^{a-2}\;11\;\textrm{B&amp;gt;}\;01^{(4b+25)/3}\;0^\infty&amp;lt;/math&amp;gt;. We conclude with &amp;lt;math&amp;gt;0^\infty\;1011^{a-2}\;1^{(8b+53)/3}\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(a-2,\frac{8b+50}{3}\Big)&amp;lt;/math&amp;gt;, after &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{32b+188}{3}&amp;lt;/math&amp;gt; steps, for a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{85}{3}b+122&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
The behaviour of Lucy&#039;s Moonlight changes at the boundary conditions: &amp;lt;math&amp;gt;a=0&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;a=1&amp;lt;/math&amp;gt;. These changes are addressed below:&lt;br /&gt;
#If &amp;lt;math&amp;gt;a=0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\equiv0\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then starting from &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;D}\;01^{2+4b/3}\;0^\infty&amp;lt;/math&amp;gt;, we take three steps to get &amp;lt;math&amp;gt;0^\infty\;10\;\textrm{A&amp;gt;}\;01^{2+4b/3}\;0^\infty&amp;lt;/math&amp;gt;. It is here that another shift rule must come into use:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline\textrm{A&amp;gt;}\;01^{2s}\xrightarrow{4s}1110^s\;\textrm{A&amp;gt;}\\\hline\end{array}&amp;lt;/math&amp;gt;Upon using this shift rule, we get &amp;lt;math&amp;gt;0^\infty\;10\;1110^{1+2b/3}\;\textrm{A&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt; in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8}{3}b+4&amp;lt;/math&amp;gt; steps. This configuration is the same as &amp;lt;math&amp;gt;0^\infty\;1011^{1+2b/3}\;10\;\textrm{A&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;. With 40 more steps, we end at &amp;lt;math&amp;gt;0^\infty\;1011^{2b/3}\;1^9\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(\frac{2}{3}b,8\Big)&amp;lt;/math&amp;gt;, for a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{29}{3}b+52&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;a=0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\equiv1\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{5}{3}b-3&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math&amp;gt;0^\infty\;1\;10^{(4b-1)/3}\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;. With &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b+7}{3}&amp;lt;/math&amp;gt; more steps we now have &amp;lt;math&amp;gt;0^\infty\;1\;\textrm{&amp;lt;D}\;01^{(4b+2)/3}\;0^\infty&amp;lt;/math&amp;gt;. Given five steps, the result is &amp;lt;math&amp;gt;0^\infty\;1\;\textrm{B&amp;gt;}\;01^{(4b+5)/3}\;0^\infty&amp;lt;/math&amp;gt;, which turns into &amp;lt;math&amp;gt;0^\infty\;1^{(8b+10)/3}\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(0,\frac{8b+7}{3}\Big)&amp;lt;/math&amp;gt; in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{32b+28}{3}&amp;lt;/math&amp;gt; steps for a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+15b+\frac{41}{3}&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;a=1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\equiv1\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then starting from &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;D}\;01^{(4b+17)/3}\;0^\infty&amp;lt;/math&amp;gt;, we get &amp;lt;math&amp;gt;0^\infty\;10\;\textrm{A&amp;gt;}\;01^{(4b+17)/3}\;0^\infty&amp;lt;/math&amp;gt; in three steps. Since &amp;lt;math&amp;gt;01^{(4b+17)/3}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;01^{(4b+14)/3}\;01&amp;lt;/math&amp;gt; are the same, what follows is &amp;lt;math&amp;gt;0^\infty\;1011^{(2b+7)/3}\;10\;\textrm{A&amp;gt;}\;01\;0^\infty&amp;lt;/math&amp;gt; in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b+28}{3}&amp;lt;/math&amp;gt; steps before finally reaching &amp;lt;math&amp;gt;0^\infty\;1011^{(2b+10)/3}\;1\;\textrm{F&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, and therefore the undefined &amp;lt;code&amp;gt;F0&amp;lt;/code&amp;gt; transition, in three steps. This gives a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+15b+\frac{125}{3}&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;a=0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\equiv2\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2-b-\frac{10}{3}&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math&amp;gt;0^\infty\;11\;10^{(4x-5)/3}\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;. It takes a further &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b-1}{3}&amp;lt;/math&amp;gt; steps to reach &amp;lt;math&amp;gt;0^\infty\;11\;\textrm{&amp;lt;D}\;01^{(4b-2)/3}\;0^\infty&amp;lt;/math&amp;gt;, and adding three more gives us &amp;lt;math&amp;gt;0^\infty\;1\;\textrm{B&amp;gt;}\;01^{(4b+1)/3}\;0^\infty&amp;lt;/math&amp;gt;. With &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{32b-4}{3}&amp;lt;/math&amp;gt; more steps we end up with &amp;lt;math&amp;gt;0^\infty\;1^{(8b+2)/3}\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(0,\frac{8b-1}{3}\Big)&amp;lt;/math&amp;gt;. This gives a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{37}{3}b-2&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;a=1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\equiv2\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;, then starting from &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;D}\;01^{(4b+22)/3}\;0^\infty&amp;lt;/math&amp;gt;, we take three steps to get &amp;lt;math&amp;gt;0^\infty\;10\;\textrm{A&amp;gt;}\;01^{(4b+22)/3}\;0^\infty&amp;lt;/math&amp;gt;, and taking &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{8b+44}{3}&amp;lt;/math&amp;gt; more steps produces &amp;lt;math&amp;gt;0^\infty\;1011^{(2b+11)/3}\;10\;\textrm{A&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;. After 40 steps, we reach &amp;lt;math&amp;gt;0^\infty\;1011^{(2b+8)/3}\;1^9\;0\;\textrm{C&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, which is &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;C\Big(\frac{2b+8}{3},8\Big)&amp;lt;/math&amp;gt;, for a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{4}{3}b^2+\frac{61}{3}b+114&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
The information above can be summarized as&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;C(a,b)\rightarrow\begin{cases}C\Big(a-1,\frac{8}{3}b+6\Big)&amp;amp;\text{if }a\ge1\text{ and }b\equiv0\pmod{3},\\C\Big(a-2,\frac{8b+40}{3}\Big)&amp;amp;\text{if }a\ge2\text{ and }b\equiv1\pmod{3},\\C\Big(a-2,\frac{8b+50}{3}\Big)&amp;amp;\text{if }a\ge2\text{ and }b\equiv2\pmod{3},\\C\Big(\frac{2}{3}b,8\Big)&amp;amp;\text{if }a=0\text{ and }b\equiv0\pmod{3},\\C\Big(0,\frac{8b+7}{3}\Big)&amp;amp;\text{if }a=0\text{ and }b\equiv1\pmod{3},\\0^\infty\;1011^{(2b+10)/3}\;1\;\textrm{F&amp;gt;}\;0^\infty&amp;amp;\text{if }a=1\text{ and }b\equiv1\pmod{3},\\C\Big(0,\frac{8b-1}{3}\Big)&amp;amp;\text{if }a=0\text{ and }b\equiv2\pmod{3},\\C\Big(\frac{2b+8}{3},8\Big)&amp;amp;\text{if }a=1\text{ and }b\equiv2\pmod{3}.\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
Substituting &amp;lt;math&amp;gt;b=3b+k&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; is the remainder of &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; modulo 3, yields the final result.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
We can define these functions:&lt;br /&gt;
*&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f(n)=10n+6-18\Big\lfloor\frac{n}{3}\Big\rfloor-4\Big\lfloor\frac{n+1}{3}\Big\rfloor&amp;lt;/math&amp;gt; (the movement of &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; according to the first three rules)&lt;br /&gt;
*&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;S(n)={\displaystyle\sum_{i=0}^n}\bigg(1+\bigg\lfloor\frac{f^i(8)+1-3\lfloor f^{i}(8)/3\rfloor}{2}\bigg\rfloor\bigg)&amp;lt;/math&amp;gt; (which imitates &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; decreasing, with &amp;lt;math&amp;gt;f^i(n)&amp;lt;/math&amp;gt; representing function iteration)&lt;br /&gt;
*&amp;lt;math&amp;gt;M_f(n)=\min\{k\in \mathbb{N}:(f^k(8)\equiv0\ (\operatorname{mod}3)\land S(k-1)= n)\lor (f^k(8)\not\equiv 0\ (\operatorname{mod}3)\land S(k-1)\ge n-1)\}&amp;lt;/math&amp;gt; (the number of iterations of &amp;lt;math&amp;gt;f(n)&amp;lt;/math&amp;gt; needed to reach a boundary condition)&lt;br /&gt;
*&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;g(n)=8\Big\lfloor\frac{n-1}{3}\Big\rfloor+5&amp;lt;/math&amp;gt; (representing rules 5 and 7)&lt;br /&gt;
*&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;M_g(n)=\min\{k\in\mathbb{N}:g^{k}(n)\equiv0\ (\operatorname{mod}3)\}&amp;lt;/math&amp;gt; (the amount of times &amp;lt;math&amp;gt;g(n)&amp;lt;/math&amp;gt; must be applied to reach a multiple of 3)&lt;br /&gt;
*&amp;lt;math&amp;gt;q(n)=f^{M_f(n)}(8)&amp;lt;/math&amp;gt;&lt;br /&gt;
Using these functions, we can recursively describe a sequence that grows tetrationally, denoted &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\textstyle c_0=0,\qquad c_{n+1}=(c_n-S(M_f(c_n)-1))\times\frac{2q(c_n)+8}{3}+(1-c_n+S(M_f(c_n)-1))\times\frac{2}{3}g^{M_g(q(c_n))}(q(c_n)).&amp;lt;/math&amp;gt;&lt;br /&gt;
In effect, Lucy&#039;s Moonlight iterates through &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt; one by one. For each &amp;lt;math&amp;gt;c\in c_n&amp;lt;/math&amp;gt;, it reaches the configuration &amp;lt;math&amp;gt;C(c,8)&amp;lt;/math&amp;gt; and tests whether &amp;lt;math&amp;gt;c-S(M_f(c)-1)=1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;q(c_n)\equiv1\ (\operatorname{mod}3)&amp;lt;/math&amp;gt;. If so, then Lucy&#039;s Moonlight will halt; otherwise, it moves on to the next term in &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt;.&lt;br /&gt;
==Trajectory==&lt;br /&gt;
Starting with &amp;lt;math&amp;gt;C(0,0)&amp;lt;/math&amp;gt; after two steps, Lucy&#039;s Moonlight repeatedly applies the [[Collatz-like]] rules. The first few steps are shown below:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|l|}\hline C(0,0)\xrightarrow{52}C(0,8)\xrightarrow{182}C(0,21)\xrightarrow{843}C(14,8)\xrightarrow{434}C(12,38)\xrightarrow{3124}C(10,118)\xrightarrow{21358}C(8,328)\rightarrow\cdots\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
From &amp;lt;math&amp;gt;C(0,0)&amp;lt;/math&amp;gt;, it takes 11 rule steps to get &amp;lt;math&amp;gt;C(11292,8)&amp;lt;/math&amp;gt; and 6811 more to get &amp;lt;math&amp;gt;C(c_3,8)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;c_3\approx 8.282\times10^{2901}&amp;lt;/math&amp;gt;. Despite this rapid growth, Lucy&#039;s Moonlight appears to be [[probviously]] halting if one considers each instance of &amp;lt;math&amp;gt;C(c,8)&amp;lt;/math&amp;gt; as the beginning of an independent round of a luck-based game, detailed below:&lt;br /&gt;
#A large number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is generated randomly.&lt;br /&gt;
#At each time unit, &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; will decrease by 1 with probability &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{1}{3}&amp;lt;/math&amp;gt; or decrease by 2 with probability &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{2}{3}&amp;lt;/math&amp;gt; provided that &amp;lt;math&amp;gt;n\ge2&amp;lt;/math&amp;gt;.&lt;br /&gt;
#If &amp;lt;math&amp;gt;n=1&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; will decrease to 0, the game is won, or a new round begins, each with probability &amp;lt;math display=&amp;quot;inline&amp;gt;\frac{1}{3}&amp;lt;/math&amp;gt;.&lt;br /&gt;
#If &amp;lt;math&amp;gt;n=0&amp;lt;/math&amp;gt;, then a new round begins.&lt;br /&gt;
The probability of winning a round with starting value &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;P(n)&amp;lt;/math&amp;gt;, is described for &amp;lt;math&amp;gt;n\ge2&amp;lt;/math&amp;gt; by the recurrence relation &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P(n)=\frac{1}{3}P(n-1)+\frac{2}{3}P(n-2)&amp;lt;/math&amp;gt;. The general solution to this equation is &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P(n)=c_0+c_1{\Big({-\frac{2}{3}}\Big)}^n&amp;lt;/math&amp;gt;, and by using the conditions &amp;lt;math&amp;gt;P(0)=0&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P(1)=\frac{1}{3}&amp;lt;/math&amp;gt; we get &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P(n)=\frac{1}{5}\Big(1-{\Big({-\frac{2}{3}}\Big)}^n\Big)&amp;lt;/math&amp;gt;. This approximately equals &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{1}{5}&amp;lt;/math&amp;gt; for large &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, so the probability of winning the game in &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; rounds is approximately &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;1-\Big(\frac{4}{5}\Big)^r&amp;lt;/math&amp;gt;, which approaches 1 as &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; increases.&lt;br /&gt;
[[Category:Cryptids]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Antihydra&amp;diff=1812</id>
		<title>Antihydra</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Antihydra&amp;diff=1812"/>
		<updated>2025-04-14T22:12:55Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: Changed the Antihydra page to be more in line with my other TM pages&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{machine|1RB1RA_0LC1LE_1LD1LC_1LA0LB_1LF1RE_---0RA}}{{unsolved|Does Antihydra run forever?}}{{TM|1RB1RA_0LC1LE_1LD1LC_1LA0LB_1LF1RE_---0RA|undecided}}&lt;br /&gt;
&#039;&#039;&#039;Antihydra&#039;&#039;&#039; is a [[BB(6)]] [[Cryptid]]. Its pseudo-random behaviour was first reported [https://discord.com/channels/960643023006490684/1026577255754903572/1256223215206924318 on Discord] by mxdys on 28 June 2024, and Racheline discovered the high-level rules soon after. It was named after the 2-state, 5-symbol [[Turing machine]] called [[Hydra]] for sharing many similarities to it.&amp;lt;ref&amp;gt;[https://discord.com/channels/960643023006490684/960643023530762341/1257053002859286701 Discord conversation where the machine was named]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;margin: auto; text-align: center;&amp;quot;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;width: 200px;&amp;quot;&amp;gt;[[File:Antihydra-depiction.png|200px]]&amp;lt;br&amp;gt;Artistic depiction of Antihydra by Jadeix&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin-left: auto; margin-right: auto;&amp;quot;&lt;br /&gt;
! !!0!!1&lt;br /&gt;
|-&lt;br /&gt;
!A&lt;br /&gt;
|1RB&lt;br /&gt;
|1RA&lt;br /&gt;
|-&lt;br /&gt;
!B&lt;br /&gt;
|0LC&lt;br /&gt;
|1LE&lt;br /&gt;
|-&lt;br /&gt;
!C&lt;br /&gt;
|1LD&lt;br /&gt;
|1LC&lt;br /&gt;
|-&lt;br /&gt;
!D&lt;br /&gt;
|1LA&lt;br /&gt;
|0LB&lt;br /&gt;
|-&lt;br /&gt;
!E&lt;br /&gt;
|1LF&lt;br /&gt;
|1RE&lt;br /&gt;
|-&lt;br /&gt;
!F&lt;br /&gt;
| ---&lt;br /&gt;
|0RA&lt;br /&gt;
|}&lt;br /&gt;
The transition table of Antihydra.&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&amp;lt;td style=&amp;quot;width: 220px;&amp;quot;&amp;gt;[[File:Antihydra award.jpg|220px]]&amp;lt;br&amp;gt;A community trophy - to be awarded to the first person or group who solves the Antihydra problem&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
== Analysis ==&lt;br /&gt;
Let &amp;lt;math&amp;gt;A(a,b):=0^\infty\;1^a\;0\;1^b\;\textrm{E&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;. Then,&amp;lt;ref name=&amp;quot;bl&amp;quot;&amp;gt;S. Ligocki, &amp;quot;[https://www.sligocki.com/2024/07/06/bb-6-2-is-hard.html BB(6) is Hard (Antihydra)]&amp;quot; (2024). Accessed 22 July 2024.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|lll|}\hline&lt;br /&gt;
A(a,2b)&amp;amp; \xrightarrow{2a+3b^2+12b+11}&amp;amp; A(a+2,3b+2),\\&lt;br /&gt;
A(0,2b+1)&amp;amp;\xrightarrow{3b^2+9b-1}&amp;amp; 0^\infty\;\textrm{&amp;lt;F}\;110\;1^{3b}\;0^\infty,\\&lt;br /&gt;
A(a+1,2b+1)&amp;amp;\xrightarrow{3b^2+12b+5}&amp;amp; A(a,3b+3).\\\hline&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot;&amp;gt;&#039;&#039;&#039;Proof&#039;&#039;&#039;&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
Consider the partial configuration &amp;lt;math&amp;gt;P(m,n):=0\;1^m\;\textrm{E&amp;gt;}\;0\;1^n\;0^\infty&amp;lt;/math&amp;gt;. The configuration after two steps is &amp;lt;math&amp;gt;0\;1^{m-1}\;0\;\textrm{A&amp;gt;}\;1^{n+1}\;0^\infty&amp;lt;/math&amp;gt;. We note the following shift rule:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|c|}\hline\textrm{A&amp;gt;}\;1^s\xrightarrow{s}1^s\;\textrm{A&amp;gt;}\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
As a result, we get &amp;lt;math&amp;gt;0\;1^{m-1}\;0\;1^{n+1}\;\textrm{A&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt; after &amp;lt;math&amp;gt;n+1&amp;lt;/math&amp;gt; steps. Advancing two steps produces &amp;lt;math&amp;gt;0\;1^{m-1}\;0\;1^{n+2}\;\textrm{&amp;lt;C}\;0^\infty&amp;lt;/math&amp;gt;. A second shift rule is useful here:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|c|}\hline1^s\;\textrm{&amp;lt;C}\xrightarrow{s}\textrm{&amp;lt;C}\;1^s\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
This allows us to reach &amp;lt;math&amp;gt;0\;1^{m-1}\;0\;\textrm{&amp;lt;C}\;1^{n+2}\;0^\infty&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;n+2&amp;lt;/math&amp;gt; steps. Moving five more steps gets us to &amp;lt;math&amp;gt;0\;1^{m-2}\;\textrm{E&amp;gt;}\;0\;1^{n+3}\;0^\infty&amp;lt;/math&amp;gt;, which is the same configuration as &amp;lt;math&amp;gt;P(m-2,n+3)&amp;lt;/math&amp;gt;. Accounting for the head movement creates the condition that &amp;lt;math&amp;gt;m\ge 4&amp;lt;/math&amp;gt;. In summary:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|c|}\hline P(m,n)\xrightarrow{2n+12}P(m-2,n+3)\text{ if }m\ge 4.\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
With &amp;lt;math&amp;gt;A(a,b)&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;P(b,0)&amp;lt;/math&amp;gt;. As a result, we can apply this rule &amp;lt;math display=&amp;quot;inline&amp;gt;\big\lfloor\frac{1}{2}b\big\rfloor-1&amp;lt;/math&amp;gt; times (assuming &amp;lt;math&amp;gt;b\ge 4&amp;lt;/math&amp;gt;), which creates two possible scenarios:&lt;br /&gt;
#If &amp;lt;math&amp;gt;b\equiv0\ (\operatorname{mod}2)&amp;lt;/math&amp;gt;, then in &amp;lt;math&amp;gt;\sum_{i=0}^{(b/2)-2}(2\times 3i+12)=\textstyle\frac{3}{4}b^2+\frac{3}{2}b-6&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P\Big(2,\frac{3}{2}b-3\Big)&amp;lt;/math&amp;gt;. The matching complete configuration is &amp;lt;math&amp;gt;0^\infty\;1^a\;011\;\textrm{E&amp;gt;}\;0\;1^{(3b)/2-3}\;0^\infty&amp;lt;/math&amp;gt;. After &amp;lt;math&amp;gt;3b+4&amp;lt;/math&amp;gt; steps this is &amp;lt;math&amp;gt;0^\infty\;1^a\;\textrm{&amp;lt;C}\;00\;1^{(3b)/2}\;0^\infty&amp;lt;/math&amp;gt;, which then leads to &amp;lt;math&amp;gt;0^\infty\;\textrm{&amp;lt;C}\;1^a\;00\;1^{(3b)/2}\;0^\infty&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; steps. After five more steps, we reach &amp;lt;math&amp;gt;0^\infty\;1\;\textrm{E&amp;gt;}\;1^{a+2}\;00\;1^{(3b)/2}\;0^\infty&amp;lt;/math&amp;gt;, from which another shift rule must be applied:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|c|}\hline\textrm{E&amp;gt;}\;1^s\xrightarrow{s}1^s\;\textrm{E&amp;gt;}\\\hline\end{array}&amp;lt;/math&amp;gt;Doing so allows us to get the configuration &amp;lt;math&amp;gt;0^\infty\;1^{a+3}\;\textrm{E&amp;gt;}\;00\;1^{(3b)/2}\;0^\infty&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;a+2&amp;lt;/math&amp;gt; steps. In six steps we have &amp;lt;math&amp;gt;0^\infty\;1^{a+2}\;011\;\textrm{E&amp;gt;}\;1^{(3b)/2}\;0^\infty&amp;lt;/math&amp;gt;, so we use the shift rule again, ending at &amp;lt;math&amp;gt;0^\infty\;1^{a+2}\;0\;1^{(3b)/2+2}\;\textrm{E&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;A\Big(a+2,\frac{3}{2}b+2\Big)&amp;lt;/math&amp;gt;, &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{3}{2}b&amp;lt;/math&amp;gt; steps later. This gives a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;2a+\frac{3}{4}b^2+6b+11&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
#If &amp;lt;math&amp;gt;b\equiv1\ (\operatorname{mod}2)&amp;lt;/math&amp;gt;, then in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{3}{4}b^2-\frac{27}{4}&amp;lt;/math&amp;gt; steps we arrive at &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P\Big(3,\frac{3b-9}{2}\Big)&amp;lt;/math&amp;gt;. The matching complete configuration is &amp;lt;math&amp;gt;0^\infty\;1^a\;0111\;\textrm{E&amp;gt;}\;0\;1^{(3b-9)/2}\;0^\infty&amp;lt;/math&amp;gt;. After &amp;lt;math&amp;gt;3b+2&amp;lt;/math&amp;gt; steps this becomes &amp;lt;math&amp;gt;0^\infty\;1^a\;\textrm{&amp;lt;F}\;110\;1^{(3b-3)/2}\;0^\infty&amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt;a=0&amp;lt;/math&amp;gt; then we have reached the undefined &amp;lt;code&amp;gt;F0&amp;lt;/code&amp;gt; transition with a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{3}{4}b^2+3b-\frac{19}{4}&amp;lt;/math&amp;gt; steps. Otherwise, continuing for six steps gives us &amp;lt;math&amp;gt;0^\infty\;1^{a-1}\;0111\;\textrm{E&amp;gt;}\;1^{(3b-3)/2}\;0^\infty&amp;lt;/math&amp;gt;. We conclude with the configuration &amp;lt;math&amp;gt;0^\infty\;1^{a-1}\;0\;1^{(3b+3)/2}\;\textrm{E&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;, equal to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;A\Big(a-1,\frac{3b+3}{2}\Big)&amp;lt;/math&amp;gt;, in &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{3b-3}{2}&amp;lt;/math&amp;gt; steps. This gives a total of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{3}{4}b^2+\frac{9}{2}b-\frac{1}{4}&amp;lt;/math&amp;gt; steps.&lt;br /&gt;
The information above can be summarized as&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;A(a,b)\rightarrow\begin{cases}A\Big(a+2,\frac{3}{2}b+2\Big)&amp;amp;\text{if }b\ge 2,b\equiv0\pmod{2};\\0^\infty\;\textrm{&amp;lt;F}\;110\;1^{(3b-3)/2}\;0^\infty&amp;amp;\text{if }b\ge3,b\equiv1\pmod{2},\text{ and }a=0;\\A\Big(a-1,\frac{3b+3}{2}\Big)&amp;amp;\text{if }b\ge3,b\equiv1\pmod{2},\text{ and }a&amp;gt;0.\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
Substituting &amp;lt;math&amp;gt;b\leftarrow 2b&amp;lt;/math&amp;gt; for the first case and &amp;lt;math&amp;gt;b\leftarrow 2b+1&amp;lt;/math&amp;gt; for the other two yields the final result.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
In effect, the halting problem for Antihydra is about whether repeatedly applying the function &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f(n)=\Big\lfloor\frac{3n}{2}\Big\rfloor+2&amp;lt;/math&amp;gt; will at some point produce more odd values of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; than twice the number of even values.&lt;br /&gt;
&lt;br /&gt;
These rules can be modified to use the function &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;H(n)=\Big\lfloor\frac{3n}{2}\Big\rfloor&amp;lt;/math&amp;gt;, or the Hydra function, which strengthens Antihydra&#039;s similarities to Hydra.&lt;br /&gt;
== Trajectory ==&lt;br /&gt;
11 steps are required to enter the configuration &amp;lt;math&amp;gt;A(0, 4)&amp;lt;/math&amp;gt; before the rules are repeatedly applied. So far, Antihydra has been simulated to &amp;lt;math&amp;gt;2^{31}&amp;lt;/math&amp;gt; rule steps, at which point &amp;lt;math&amp;gt;b=1073720884&amp;lt;/math&amp;gt;. Here are the first few:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|c|}\hline A(0,4)\xrightarrow{47}A(2,8)\xrightarrow{111}A(4,14)\xrightarrow{250}A(6,23)\xrightarrow{500}A(5,36)\xrightarrow{1209}A(7,56)\xrightarrow{2713}A(9,86)\rightarrow\cdots\\\hline\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
The trajectory of &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; values resembles a random walk in which the walker can only move in step sizes +2 or -1 with equal probability, starting at position 0. If &amp;lt;math&amp;gt;P(n)&amp;lt;/math&amp;gt; is the probability that the walker will reach position -1 from position &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then it can be seen that &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P(n)=\frac{1}{2}P(n-1)+\frac{1}{2}P(n+2)&amp;lt;/math&amp;gt;. Solutions to this recurrence relation come in the form &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt; P(n)=c_0{\left(\frac{\sqrt{5}-1}{2}\right)}^n+c_1+c_2{\left(-\frac{1+\sqrt{5}}{2}\right)}^n&amp;lt;/math&amp;gt;, which after applying the appropriate boundary conditions reduces to &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;P(n)={\left(\frac{\sqrt{5}-1}{2}\right)}^{n+1}&amp;lt;/math&amp;gt;. This means that if the walker were to get to position 1073720884 then the probability of it ever reaching position -1 is &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;{\left(\frac{\sqrt{5}-1}{2}\right)}^{1073720885}\approx 4.841\times 10^{-224394395}&amp;lt;/math&amp;gt;. This combined with the fact that the expected position of the walker after &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; steps is &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{1}{2}k&amp;lt;/math&amp;gt; strongly suggests Antihydra [[probviously]] runs indefinitely.&lt;br /&gt;
==References==&lt;br /&gt;
[[Category:Individual machines]][[Category:Cryptids]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Hydra_function&amp;diff=1811</id>
		<title>Hydra function</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Hydra_function&amp;diff=1811"/>
		<updated>2025-04-14T22:12:13Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: Rewrote Properties Section, added material from the Antihydra page that is better suited here&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Hydra Spiral.png|thumb|185px|A spiral-like figure that gives the first few terms of the Hydra sequences with initial values 2, 5, 8, 11, 14, and 17.]]&lt;br /&gt;
The &#039;&#039;&#039;Hydra function&#039;&#039;&#039; is a [[Collatz-like]] function defined as:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\textstyle H(n)\equiv n+\big\lfloor\frac{1}{2}n\big\rfloor=\Big\lfloor\frac{3}{2}n\Big\rfloor=\begin{cases}&lt;br /&gt;
\frac{3n}{2}&amp;amp;\text{if }n\equiv0\pmod{2},\\&lt;br /&gt;
\frac{3n-1}{2}&amp;amp;\text{if }n\equiv1\pmod{2}.\\&lt;br /&gt;
\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
It is named as such because of its connection to the unsolved halting problems for the [[Cryptids]] [[Hydra]] and [[Antihydra]]. Due to its simplicity, simulations for both of these [[Turing machines]] utilize this function instead of what can initially be proven.&lt;br /&gt;
== Relationship to Hydra and Antihydra==&lt;br /&gt;
Using the Hydra function, we can obtain simplified rules for Hydra and Antihydra:&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Hydra !! Antihydra&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|Let &amp;lt;math&amp;gt;C_H(a,b):=0^\infty\;\textrm{&amp;lt;A}\;2\;0^{3(a-2)}\;3^b\;2\;0^\infty&amp;lt;/math&amp;gt;:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|lll|}\hline&lt;br /&gt;
0^\infty\;\textrm{A&amp;gt;}\;0^\infty&amp;amp;\xrightarrow{20}&amp;amp;C_H(3,0),\\&lt;br /&gt;
C_H(2a,0)&amp;amp;\xrightarrow{54a^2-48a-2}&amp;amp;0^\infty\;3^{9a-8}\;1\;\textrm{A&amp;gt;}\;2\;0^\infty,\\&lt;br /&gt;
C_H(2a,b+1)&amp;amp;\xrightarrow{54a^2-39a-5}&amp;amp;C_H(3a,b),\\&lt;br /&gt;
C_H(2a+1,b)&amp;amp;\xrightarrow{4b+54a^2-3a+4}&amp;amp;C_H(3a+1,b+2).\\\hline&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
|Let &amp;lt;math&amp;gt;A_H(a,b):=0^\infty\;1^a\;0\;1^{b-4}\;\textrm{E&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|lll|}\hline&lt;br /&gt;
0^\infty\;\textrm{A&amp;gt;}\;0^\infty&amp;amp;\xrightarrow{11}&amp;amp;A_H(0,8),\\&lt;br /&gt;
A_H(a,2b)&amp;amp; \xrightarrow{2a+3b^2-1}&amp;amp; A_H(a+2,3b),\\&lt;br /&gt;
A_H(0,2b+1)&amp;amp;\xrightarrow{3b^2-3b-7}&amp;amp; 0^\infty\;\textrm{&amp;lt;F}\;110\;1^{3b-6}\;0^\infty,\\&lt;br /&gt;
A_H(a+1,2b+1)&amp;amp;\xrightarrow{3b^2-7}&amp;amp; A_H(a,3b+1).\\\hline&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot;&amp;gt;&#039;&#039;&#039;Proof&#039;&#039;&#039;&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
Recall the high-level rules for Hydra and Antihydra:&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Hydra !! Antihydra&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|Let &amp;lt;math&amp;gt;C(a,b):=0^\infty\;\textrm{&amp;lt;A}\;2\;0^a\;3^b\;2\;0^\infty&amp;lt;/math&amp;gt;:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|lll|}\hline&lt;br /&gt;
0^\infty\;\textrm{A&amp;gt;}\;0^\infty&amp;amp;\xrightarrow{20}&amp;amp;C(3,0),\\&lt;br /&gt;
C(2a,0)&amp;amp;\xrightarrow{6a^2+20a+4}&amp;amp;0^\infty\;3^{3a+1}\;1\;\textrm{A&amp;gt;}\;2\;0^\infty,\\&lt;br /&gt;
C(2a,b+1)&amp;amp;\xrightarrow{6a^2+23a+10}&amp;amp;C(3a+3,b),\\&lt;br /&gt;
C(2a+1,b)&amp;amp;\xrightarrow{4b+6a^2+23a+26}&amp;amp;C(3a+3,b+2).\\\hline&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
|Let &amp;lt;math&amp;gt;A(a,b):=0^\infty\;1^a\;0\;1^b\;\textrm{E&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|lll|}\hline&lt;br /&gt;
0^\infty\;\textrm{A&amp;gt;}\;0^\infty&amp;amp;\xrightarrow{11}&amp;amp;A(0,4),\\&lt;br /&gt;
A(a,2b)&amp;amp; \xrightarrow{2a+3b^2+12b+11}&amp;amp; A(a+2,3b+2),\\&lt;br /&gt;
A(0,2b+1)&amp;amp;\xrightarrow{3b^2+9b-1}&amp;amp; 0^\infty\;\textrm{&amp;lt;F}\;110\;1^{3b}\;0^\infty,\\&lt;br /&gt;
A(a+1,2b+1)&amp;amp;\xrightarrow{3b^2+12b+5}&amp;amp; A(a,3b+3).\\\hline&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
Already, both machines appear to be very similar. They have one parameter that increases exponentially with growth factor &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\frac{3}{2}&amp;lt;/math&amp;gt; and another that takes a pseudo-random walk. Below, the exponentially increasing variables are described by integer sequences:&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Hydra !! Antihydra&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;a_0=3,a_{n+1}=\begin{cases}\frac{3a_n+6}{2}&amp;amp;\text{if }a_n\equiv0\pmod{2}\\\frac{3a_n+3}{2}&amp;amp;\text{if }a_n\equiv1\pmod{2}\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
|&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;a_0=4,a_{n+1}=\begin{cases}\frac{3a_n+4}{2}&amp;amp;\text{if }a_n\equiv0\pmod{2}\\\frac{3a_n+3}{2}&amp;amp;\text{if }a_n\equiv1\pmod{2}\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
This will make demonstrating the transformation easier. Now we will define a new integer sequence based on the old one and discover the recursive rules for that sequence. This new sequence is &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;b_n=\frac{1}{3}a_n+2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b_n=a_n+4&amp;lt;/math&amp;gt; for Hydra and Antihydra respectively. We start by using &amp;lt;math&amp;gt;b_{n+1}&amp;lt;/math&amp;gt; instead and substituting &amp;lt;math&amp;gt;a_{n+1}&amp;lt;/math&amp;gt; for its recursive formula. By doing so, we get:&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Hydra !! Antihydra&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;b_0=3,b_{n+1}=\begin{cases}\frac{a_n+6}{2}&amp;amp;\text{if }a_n\equiv0\pmod{2}\\\frac{a_n+5}{2}&amp;amp;\text{if }a_n\equiv1\pmod{2}\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
|&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;b_0=8,b_{n+1}=\begin{cases}\frac{3a_n+12}{2}&amp;amp;\text{if }a_n\equiv0\pmod{2}\\\frac{3a_n+11}{2}&amp;amp;\text{if }a_n\equiv1\pmod{2}\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
After that, we can substitute &amp;lt;math&amp;gt;a_n&amp;lt;/math&amp;gt; for its solution in terms of &amp;lt;math&amp;gt;b_n&amp;lt;/math&amp;gt;. What results is the following:&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Hydra !! Antihydra&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;b_0=3,b_{n+1}=\begin{cases}\frac{3(b_n-2)+6}{2}&amp;amp;\text{if }3(b_n-2)\equiv0\pmod{2}\\\frac{3(b_n-2)+5}{2}&amp;amp;\text{if }3(b_n-2)\equiv1\pmod{2}\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
|&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;b_0=8,b_{n+1}=\begin{cases}\frac{3(b_n-4)+12}{2}&amp;amp;\text{if }b_n-4\equiv0\pmod{2}\\\frac{3(b_n-4)+11}{2}&amp;amp;\text{if }b_n-4\equiv1\pmod{2}\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
The &amp;lt;math&amp;gt;\text{if}&amp;lt;/math&amp;gt; statements amount to checking if &amp;lt;math&amp;gt;b_n&amp;lt;/math&amp;gt; is even or odd. After simplifying, we are done:&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Hydra !! Antihydra&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;b_0=3,b_{n+1}=\begin{cases}\frac{3b_n}{2}&amp;amp;\text{if }b_n\equiv0\pmod{2}\\\frac{3b_n-1}{2}&amp;amp;\text{if }b_n\equiv1\pmod{2}\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
|&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;b_0=8,b_{n+1}=\begin{cases}\frac{3b_n}{2}&amp;amp;\text{if }b_n\equiv0\pmod{2}\\\frac{3b_n-1}{2}&amp;amp;\text{if }b_n\equiv1\pmod{2}\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
Now that we have demonstrated a strong similarity in the behaviour of both Turing machines, we can return to using the high-level rules. Doing that while considering the step counts yields the final result.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
Under these rules, the halting problem for Hydra is about whether repeatedly applying the function &amp;lt;math&amp;gt;H(n)&amp;lt;/math&amp;gt;, starting with &amp;lt;math&amp;gt;n=3&amp;lt;/math&amp;gt;, will eventually generate more even terms than twice the number of odd terms. Similarly, Antihydra halts if and only if repeatedly applying &amp;lt;math&amp;gt;H(n)&amp;lt;/math&amp;gt;, starting with &amp;lt;math&amp;gt;n=8&amp;lt;/math&amp;gt;, will eventually generate more odd terms than twice the number of even terms.&lt;br /&gt;
== Coding the Hydra function ==&lt;br /&gt;
The Hydra function&#039;s simple definition allows one to write computer programs that simulate Hydra and Antihydra. The following Python program is a straightforward Hydra simulator based on the Hydra function:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; line=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
# &#039;a&#039; and &#039;b&#039; fulfill the same purpose as in the Hydra rules.&lt;br /&gt;
a = 3&lt;br /&gt;
b = 0&lt;br /&gt;
# As long as Hydra has not halted, &#039;b&#039; remains greater than -1.&lt;br /&gt;
while b != -1:&lt;br /&gt;
    # If &#039;a&#039; is even, decrement &#039;b&#039;, otherwise increase &#039;b&#039; by 2.&lt;br /&gt;
    if a % 2 == 0:&lt;br /&gt;
        b -= 1&lt;br /&gt;
    else:&lt;br /&gt;
        b += 2&lt;br /&gt;
    # This performs H(a) = a + floor(a/2).&lt;br /&gt;
    a += a//2&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Replacing &amp;lt;code&amp;gt;a = 3&amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;a = 8&amp;lt;/code&amp;gt; and swapping &amp;lt;code&amp;gt;b -= 1&amp;lt;/code&amp;gt; for &amp;lt;code&amp;gt;b += 2&amp;lt;/code&amp;gt; turns this program into an Antihydra simulator.&lt;br /&gt;
==Properties==&lt;br /&gt;
The Hydra function can be rewritten as follows:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{l}&lt;br /&gt;
H(2n)&amp;amp;=&amp;amp;3n,\\&lt;br /&gt;
H(2n+1)&amp;amp;=&amp;amp;3n+1.\\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
Now assume that for some positive integer &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; and every odd integer &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;H^s(2^st)=3^st&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;H^s(2^st+1)=3^st+1&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;H^i(n)&amp;lt;/math&amp;gt; is function iteration. Notice that we can write &amp;lt;math&amp;gt;2^{s+1}t=2\cdot2^st&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;2^{s+1}t+1=2\cdot2^st+1&amp;lt;/math&amp;gt;, so if we apply &amp;lt;math&amp;gt;H&amp;lt;/math&amp;gt; to these numbers, we get &amp;lt;math&amp;gt;H(2\cdot2^st)=3\cdot 2^st&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;H(2\cdot2^st+1)=3\cdot2^st+1&amp;lt;/math&amp;gt;. Now, if we apply &amp;lt;math&amp;gt;H&amp;lt;/math&amp;gt; to these numbers &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; times, we get &amp;lt;math&amp;gt;H^{s+1}\big(2^{s+1}t\big)=H^s(2^s\cdot3t)=3^{s+1}t&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;H^{s+1}\big(2^{s+1}t+1\big)=H^s(2^s\cdot3t+1)=3^{s+1}t+1&amp;lt;/math&amp;gt;. Therefore, by mathematical induction we have proved the following formulas:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{l}&lt;br /&gt;
H^s(2^st)&amp;amp;=&amp;amp;3^st,\\&lt;br /&gt;
H^s(2^st+1)&amp;amp;=&amp;amp;3^st+1.\\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
This optimization can be directly applied to the high-level rules for Hydra and Antihydra, producing this result:&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Hydra !! Antihydra&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|Let &amp;lt;math&amp;gt;C_H(a,b):=0^\infty\;\textrm{&amp;lt;A}\;2\;0^{3(a-2)}\;3^b\;2\;0^\infty&amp;lt;/math&amp;gt;:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|lll|}\hline&lt;br /&gt;
C_H(2^st,b+s)&amp;amp;\xrightarrow{f_1(s,t)}&amp;amp;C_H(3^st,b),\\&lt;br /&gt;
C_H(2^st+1,b)&amp;amp;\xrightarrow{f_2(s,t,b)}&amp;amp;C_H(3^st+1,b+2s),\\\hline&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f_1(s,t)=\frac{3t(3^s-2^s)(18(3^s+2^s)t-65)}{5}-5s&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f_2(s,t,b)=(b+s)4s+\frac{3t(3^s-2^s)(18(3^s+2^s)t-5)}{5}&amp;lt;/math&amp;gt;.&lt;br /&gt;
|Let &amp;lt;math&amp;gt;A_H(a,b):=0^\infty\;1^a\;0\;1^{b-4}\;\textrm{E&amp;gt;}\;0^\infty&amp;lt;/math&amp;gt;:&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{|lll|}\hline&lt;br /&gt;
A_H(a,2^st)&amp;amp; \xrightarrow{f_3(s,t,a)}&amp;amp; A_H(a+2s,3^st),\\&lt;br /&gt;
A_H(a+s,2^st+1)&amp;amp;\xrightarrow{f_4(s,t)}&amp;amp; A_H(a,3^st+1),\\\hline&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f_3(s,t,a)=(2a-3+2s)s+\frac{3t^2(9^s-4^s)}{5}&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f_4(s,t)=\frac{3t^2(9^s-4^s)}{5}-7s&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
== Visualizations ==&lt;br /&gt;
The four images below depict the first 1000 values of four Hydra sequences with different initial values. Each row of pixels shows a number in binary on the right and its parity on the left (blue for even, red for odd):&lt;br /&gt;
&amp;lt;gallery mode=packed heights=&amp;quot;250&amp;quot;&amp;gt;&lt;br /&gt;
File:HydraFunction-StartingValue2.png|Starting value 2. There are 492 even numbers and 508 odd numbers.&lt;br /&gt;
File:HydraFunction-StartingValue5.png|Starting value 5. There are 497 even numbers and 503 odd numbers.&lt;br /&gt;
File:Antihydra increasing value.png|Starting value 8. There are 499 even numbers and 501 odd numbers.&lt;br /&gt;
File:HydraFunction-StartingValue11.png|Starting value 11. There are 481 even numbers and 519 odd numbers.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=File:HydraFunction-StartingValue11.png&amp;diff=1810</id>
		<title>File:HydraFunction-StartingValue11.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=File:HydraFunction-StartingValue11.png&amp;diff=1810"/>
		<updated>2025-04-14T22:09:08Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: The first 1000 iterates of the Hydra function, with starting value 11.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
The first 1000 iterates of the Hydra function, with starting value 11.&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=File:HydraFunction-StartingValue5.png&amp;diff=1809</id>
		<title>File:HydraFunction-StartingValue5.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=File:HydraFunction-StartingValue5.png&amp;diff=1809"/>
		<updated>2025-04-14T22:08:51Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: The first 1000 iterates of the Hydra function, with starting value 5.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
The first 1000 iterates of the Hydra function, with starting value 5.&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=File:HydraFunction-StartingValue2.png&amp;diff=1808</id>
		<title>File:HydraFunction-StartingValue2.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=File:HydraFunction-StartingValue2.png&amp;diff=1808"/>
		<updated>2025-04-14T22:08:12Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: The first 1000 iterates of the Hydra function, with starting value 2.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
The first 1000 iterates of the Hydra function, with starting value 2.&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=BB(6)&amp;diff=1805</id>
		<title>BB(6)</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=BB(6)&amp;diff=1805"/>
		<updated>2025-04-14T14:03:08Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The 6-state, 2-symbol Busy Beaver problem &#039;&#039;&#039;BB(6)&#039;&#039;&#039; is unsolved. With the discovery of [[Antihydra]] in 2024, we now know that we must solve a [[Collatz-like]] problem in order to solve BB(6).&lt;br /&gt;
&lt;br /&gt;
The current BB(6) champion {{TM|1RB0LD_1RC0RF_1LC1LA_0LE1RZ_1LF0RB_0RC0RE|halt}} was discovered by Pavel Kropitz in 2022 proving the lower bound:&amp;lt;ref&amp;gt;Shawn Ligocki. 2022. [https://www.sligocki.com/2022/06/21/bb-6-2-t15.html &amp;quot;BB(6, 2) &amp;gt; 10↑↑15&amp;quot;]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Pascal Michel. [https://bbchallenge.org/~pascal.michel/ha#tm62 Historical survey of Busy Beavers]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;S(6) &amp;gt; \Sigma(6) &amp;gt; 10 \uparrow\uparrow 15&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Techniques ==&lt;br /&gt;
In order to simulate the current BB(6) champion requires [[Accelerated simulator|accelerated simulation]] that can handle Collatz Level 2 [[Inductive rule|inductive rules]]. In other words, it requires a simulator that can prove the rules:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{lcl}&lt;br /&gt;
  C(4k)   &amp;amp; \to &amp;amp; {\operatorname{Halt}}\Big(\frac{3^{k+3} - 11}{2}\Big) \\&lt;br /&gt;
  C(4k+1) &amp;amp; \to &amp;amp; C\Big(\frac{3^{k+3} - 11}{2}\Big) \\&lt;br /&gt;
  C(4k+2) &amp;amp; \to &amp;amp; C\Big(\frac{3^{k+3} - 11}{2}\Big) \\&lt;br /&gt;
  C(4k+3) &amp;amp; \to &amp;amp; C\Big(\frac{3^{k+3} + 1}{2}\Big) \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and also compute the remainder mod 3 of numbers produced by applying these rules 15 times (which requires some fancy math related to [[wikipedia:Euler&#039;s_totient_function|Euler&#039;s totient function]]).&lt;br /&gt;
&lt;br /&gt;
== Cryptids ==&lt;br /&gt;
Several [[Turing machines]] have been found that are [[Cryptids]], considered so because each of them have a [[Collatz-like]] halting problem, a type of problem that is generally difficult to solve. However, probabilistic arguments have allowed all but one of them to be categorized as [[probviously]] halting or probviously non-halting.&lt;br /&gt;
&lt;br /&gt;
Probviously non-halting Cryptids:&lt;br /&gt;
&lt;br /&gt;
* [[Antihydra]]&lt;br /&gt;
* {{TM|1RB1RC_1LC1LE_1RA1RD_0RF0RE_1LA0LB_---1RA|undecided}}, a variant of [[Hydra]] and Antihydra&lt;br /&gt;
* {{TM|1RB1LD_1RC1RE_0LA1LB_0LD1LC_1RF0RA_---0RC|undecided}}, similar to Antihydra&lt;br /&gt;
* {{TM|1RB0LD_1RC1RF_1LA0RA_0LA0LE_1LD1LA_0RB---|undecided}}, similar to Antihydra&lt;br /&gt;
* {{TM|1RB0LB_1LC0RE_1LA1LD_0LC---_0RB0RF_1RE1RB|undecided}}, similar to Antihydra&lt;br /&gt;
&lt;br /&gt;
Probviously halting Cryptids:&lt;br /&gt;
&lt;br /&gt;
* [[Lucy&#039;s Moonlight]]&lt;br /&gt;
* {{TM|1RB1RA_0RC1RC_1LD0LF_0LE1LE_1RA0LB_---0LC|undecided}}, a family of 16 related TMs&lt;br /&gt;
* {{TM|1RB1RE_1LC1LD_---1LA_1LB1LE_0RF0RA_1LD1RF}}&lt;br /&gt;
* {{TM|1RB0RE_1LC1LD_0RA0LD_1LB0LA_1RF1RA_---1LB}}&lt;br /&gt;
* {{TM|1RB0LC_0LC0RF_1RD1LC_0RA1LE_---0LD_1LF1LA}}&lt;br /&gt;
* {{TM|1RB0LC_1LC0RD_1LF1LA_1LB1RE_1RB1LE_---0LE}}&lt;br /&gt;
Although {{TM|1RB1LE_0LC0LB_1RD1LC_1RD1RA_1RF0LA_---1RE}} behaves similarly to the probviously halting Cryptids, it is estimated to have a 3/5 chance of becoming a [[translated cycler]] and a 2/5 chance of halting.&lt;br /&gt;
&lt;br /&gt;
There are a few machines considered notable for their chaotic behaviour, but which have not been classified as Cryptids due to seemingly lacking a connection to any known open mathematical problems, such as Collatz-like problems.&lt;br /&gt;
&lt;br /&gt;
Potential Cryptids:&lt;br /&gt;
&lt;br /&gt;
* {{TM|1RB1RE_1LC0RA_0RD1LB_---1RC_1LF1RE_0LB0LE|undecided}}&lt;br /&gt;
* {{TM|1RB0LD_1LC0RA_1RA1LB_1LA1LE_1RF0LC_---0RE|undecided}}&lt;br /&gt;
* {{TM|1RB0RB_1LC1RE_1LF0LD_1RA1LD_1RC1RB_---1LC|undecided}}&lt;br /&gt;
* {{TM|1RB1LA_1LC0RE_1LF1LD_0RB0LA_1RC1RE_---0LD}}&lt;br /&gt;
&lt;br /&gt;
== Top Halters ==&lt;br /&gt;
Below is a table of the machines with the 10 highest known runtimes.&amp;lt;ref&amp;gt;Shawn Ligocki&#039;s list of 6-state, 2-symbol machines with large runtimes ([https://github.com/sligocki/busy-beaver/blob/main/Machines/bb/6x2.txt Link])&amp;lt;/ref&amp;gt; Their sigma scores are expressed using an extension of Knuth&#039;s up-arrow notation.&amp;lt;ref&amp;gt;Shawn Ligocki. 2022. [https://www.sligocki.com/2022/06/25/ext-up-notation.html &amp;quot;Extending Up-arrow Notation&amp;quot;]&amp;lt;/ref&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Top Known BB(6) Halters&lt;br /&gt;
!TM&lt;br /&gt;
!approximate sigma score&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB0LD_1RC0RF_1LC1LA_0LE1RZ_1LF0RB_0RC0RE}}&lt;br /&gt;
|10 ↑↑ 15.60465&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB1RC_1LC1RE_1LD0LB_1RE1LC_1LE0RF_1RZ1RA}}&lt;br /&gt;
|10 ↑↑ 7.23619&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB0LA_1LC1LF_0LD0LC_0LE0LB_1RE0RA_1RZ1LD}}&lt;br /&gt;
|10 ↑↑ 5.63534&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB1RE_1LC1LF_1RD0LB_1LE0RC_1RA0LD_1RZ1LC}}&lt;br /&gt;
|10 ↑↑ 5.56344&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB0LE_0RC1RA_0LD1RF_1RE0RB_1LA0LC_0RD1RZ}}&lt;br /&gt;
|10 ↑↑ 5.12468&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB0RF_1LC1LB_0RE0LD_0LC0LB_0RA1RE_0RD1RZ}}&lt;br /&gt;
|10 ↑↑ 5.03230&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB1LA_1LC0RF_1LD1LC_1LE0RE_0RB0LC_1RZ1RA}}&lt;br /&gt;
|10 ↑↑ 4.91072&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB0LE_1LC1RA_1RE0LD_1LC1LF_1LA0RC_1RZ1LC}}&lt;br /&gt;
|10 ↑↑ 3.33186&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB1RF_1LC1RE_0LD1LB_1LA0RA_0RA0RB_1RZ0RD}}&lt;br /&gt;
|10 ↑↑ 3.31128&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB0LF_1LC0RA_1RD0LB_1LE1RC_1RZ1LA_1LA1LE}}&lt;br /&gt;
|10 ↑↑ 3.18855&lt;br /&gt;
|}&lt;br /&gt;
The runtimes are presumed to be about &amp;lt;math&amp;gt;\text{score}^2&amp;lt;/math&amp;gt; which is roughly indistinguishable in tetration notation.&lt;br /&gt;
&lt;br /&gt;
== Holdouts ==&lt;br /&gt;
@mxdys&#039;s informal [[Holdouts lists|holdouts list]] is down to 4408 machines as of 8 Nov 2024.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
[[Category:BB Domain]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Probvious&amp;diff=1804</id>
		<title>Probvious</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Probvious&amp;diff=1804"/>
		<updated>2025-04-14T13:05:56Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;&#039;&#039;&#039;Probvious&#039;&#039;&#039;&amp;quot; (a portmanteau of the words &#039;&#039;probabilistic&#039;&#039; and &#039;&#039;obvious&#039;&#039;) is an adjective used to express a high degree of confidence about a mathematical statement that is not known to be true. It was introduced by John Conway in an article discussing possibly unprovable statements.&amp;lt;ref&amp;gt;Conway, J. H. (2013). On Unsettleable Arithmetical Problems. The American Mathematical Monthly, 120(3), 192–198. https://doi.org/10.4169/amer.math.monthly.120.03.192&amp;lt;/ref&amp;gt; The term has been used by [https://www.bbchallenge.org bbchallenge] contributors to describe the solutions to halting problems for [[Cryptids]] such as [[Bigfoot]] and [[Hydra]].&lt;br /&gt;
==Usage==&lt;br /&gt;
[[File:ProbviousExcerpt.png|right|300px|thumb|The excerpt from John Conway&#039;s article where &amp;quot;probvious&amp;quot; is introduced.]]&lt;br /&gt;
The word appears in Conway&#039;s article a few times as a way of forming conjectures about a known [[Collatz-like]] function.&amp;lt;ref&amp;gt;Atkin, A. O. L. “Problem 63-13.” SIAM Review, vol. 8, no. 2, 1966, pp. 234–36. JSTOR, http://www.jstor.org/stable/2028281&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Guy, R. K. (1983). Don’t Try to Solve These Problems! The American Mathematical Monthly, 90(1), 35–41. https://doi.org/10.1080/00029890.1983.11971148&amp;lt;/ref&amp;gt; This function, denoted &amp;lt;math&amp;gt;\mu(n)&amp;lt;/math&amp;gt;, is defined as:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{lll}\mu(2n)&amp;amp;=&amp;amp;3n\\ \mu(4n+1)&amp;amp;=&amp;amp;3n+1\\ \mu(4n+3)&amp;amp;=&amp;amp;3n+2\end{array}\Rightarrow\begin{array}{lll}\mu^{-1}(3n)&amp;amp;=&amp;amp;2n\\ \mu^{-1}(3n+1)&amp;amp;=&amp;amp;4n+1\\ \mu^{-1}(3n+2)&amp;amp;=&amp;amp;4n+3\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
Conway first uses &amp;quot;probvious&amp;quot; to describe the idea that the sequences of iterates &amp;lt;math&amp;gt;(\cdots,8,\mu(8),\mu^2(8),\cdots)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;(\cdots,14,\mu(14),\mu^2(14),\cdots)&amp;lt;/math&amp;gt; diverge to infinity.&lt;br /&gt;
&lt;br /&gt;
Likewise, there exist Turing machines for which determining whether they halt requires solving a mathematical problem believed to be difficult, oftentimes a Collatz-like problem, but arguments using probabilistic versions of their behaviour suggest a clear solution. For example, Bigfoot and Hydra are probviously non-halting because they simulate biased random walks that drift towards infinity yet must reach zero for these machines to halt. Alternatively, [[Lucy&#039;s Moonlight]] is probviously halting because it simulates a sequence of independent random trials for which it has a fixed probability of halting each time.&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=Probvious&amp;diff=1803</id>
		<title>Probvious</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=Probvious&amp;diff=1803"/>
		<updated>2025-04-14T13:03:40Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;&#039;&#039;&#039;Probvious&#039;&#039;&#039;&amp;quot; (a portmanteau of the words &#039;&#039;probabilistic&#039;&#039; and &#039;&#039;obvious&#039;&#039;) is an adjective used to express a high degree of confidence about a mathematical statement that is not known to be true. It was introduced by John Conway in an article discussing possibly unprovable statements.&amp;lt;ref&amp;gt;Conway, J. H. (2013). On Unsettleable Arithmetical Problems. The American Mathematical Monthly, 120(3), 192–198. https://doi.org/10.4169/amer.math.monthly.120.03.192&amp;lt;/ref&amp;gt; The term has been used by [https://www.bbchallenge.org bbchallenge] contributors to describe the solutions to halting problems for [[Cryptids]] such as [[Bigfoot]] and [[Hydra]].&lt;br /&gt;
==Usage==&lt;br /&gt;
[[File:ProbviousExcerpt.png|right|300px|thumb|The excerpt from the article by John Conway where &amp;quot;probvious&amp;quot; is introduced.]]&lt;br /&gt;
The word appears in Conway&#039;s article a few times as a way of forming conjectures about a known [[Collatz-like]] function.&amp;lt;ref&amp;gt;Atkin, A. O. L. “Problem 63-13.” SIAM Review, vol. 8, no. 2, 1966, pp. 234–36. JSTOR, http://www.jstor.org/stable/2028281&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Guy, R. K. (1983). Don’t Try to Solve These Problems! The American Mathematical Monthly, 90(1), 35–41. https://doi.org/10.1080/00029890.1983.11971148&amp;lt;/ref&amp;gt; This function, denoted &amp;lt;math&amp;gt;\mu(n)&amp;lt;/math&amp;gt;, is defined as:&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{lll}\mu(2n)&amp;amp;=&amp;amp;3n\\ \mu(4n+1)&amp;amp;=&amp;amp;3n+1\\ \mu(4n+3)&amp;amp;=&amp;amp;3n+2\end{array}\Rightarrow\begin{array}{lll}\mu^{-1}(3n)&amp;amp;=&amp;amp;2n\\ \mu^{-1}(3n+1)&amp;amp;=&amp;amp;4n+1\\ \mu^{-1}(3n+2)&amp;amp;=&amp;amp;4n+3\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
Conway first uses &amp;quot;probvious&amp;quot; to describe the idea that the sequences of iterates &amp;lt;math&amp;gt;(\cdots,8,\mu(8),\mu^2(8),\cdots)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;(\cdots,14,\mu(14),\mu^2(14),\cdots)&amp;lt;/math&amp;gt; diverge to infinity.&lt;br /&gt;
&lt;br /&gt;
Likewise, there exist Turing machines for which determining whether they halt requires solving a mathematical problem believed to be difficult, oftentimes a Collatz-like problem, but arguments using probabilistic versions of their behaviour suggest a clear solution. For example, Bigfoot and Hydra are probviously non-halting because they simulate biased random walks that drift towards infinity yet must reach zero for these machines to halt. Alternatively, [[Lucy&#039;s Moonlight]] is probviously halting because it simulates a sequence of independent random trials for which it has a fixed probability of halting each time.&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
	<entry>
		<id>https://wiki.bbchallenge.org/w/index.php?title=BB(6)&amp;diff=1802</id>
		<title>BB(6)</title>
		<link rel="alternate" type="text/html" href="https://wiki.bbchallenge.org/w/index.php?title=BB(6)&amp;diff=1802"/>
		<updated>2025-04-14T12:22:47Z</updated>

		<summary type="html">&lt;p&gt;MrSolis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The 6-state, 2-symbol Busy Beaver problem &#039;&#039;&#039;BB(6)&#039;&#039;&#039; is unsolved. With the discovery of [[Antihydra]] in 2024, we now know that we must solve a [[Collatz-like]] problem in order to solve BB(6).&lt;br /&gt;
&lt;br /&gt;
The current BB(6) champion {{TM|1RB0LD_1RC0RF_1LC1LA_0LE1RZ_1LF0RB_0RC0RE|halt}} was discovered by Pavel Kropitz in 2022 proving the lower bound:&amp;lt;ref&amp;gt;Shawn Ligocki. 2022. [https://www.sligocki.com/2022/06/21/bb-6-2-t15.html &amp;quot;BB(6, 2) &amp;gt; 10↑↑15&amp;quot;]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Pascal Michel. [https://bbchallenge.org/~pascal.michel/ha#tm62 Historical survey of Busy Beavers]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;S(6) &amp;gt; \Sigma(6) &amp;gt; 10 \uparrow\uparrow 15&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Techniques ==&lt;br /&gt;
In order to simulate the current BB(6) champion requires [[Accelerated simulator|accelerated simulation]] that can handle Collatz Level 2 [[Inductive rule|inductive rules]]. In other words, it requires a simulator that can prove the rules:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\begin{array}{lcl}&lt;br /&gt;
  C(4k)   &amp;amp; \to &amp;amp; {\operatorname{Halt}}\Big(\frac{3^{k+3} - 11}{2}\Big) \\&lt;br /&gt;
  C(4k+1) &amp;amp; \to &amp;amp; C\Big(\frac{3^{k+3} - 11}{2}\Big) \\&lt;br /&gt;
  C(4k+2) &amp;amp; \to &amp;amp; C\Big(\frac{3^{k+3} - 11}{2}\Big) \\&lt;br /&gt;
  C(4k+3) &amp;amp; \to &amp;amp; C\Big(\frac{3^{k+3} + 1}{2}\Big) \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and also compute the remainder mod 3 of numbers produced by applying these rules 15 times (which requires some fancy math related to [[wikipedia:Euler&#039;s_totient_function|Euler&#039;s totient function]]).&lt;br /&gt;
&lt;br /&gt;
== Cryptids ==&lt;br /&gt;
Several [[Turing machines]] have been found that are [[Cryptids]], considered so because each of them have a [[Collatz-like]] halting problem, a type of problem that is generally difficult to solve. However, probabilistic arguments have allowed all but one of them to be categorized as [[probviously]] halting or probviously non-halting.&lt;br /&gt;
&lt;br /&gt;
Probviously non-halting Cryptids:&lt;br /&gt;
&lt;br /&gt;
* [[Antihydra]]&lt;br /&gt;
* {{TM|1RB1RC_1LC1LE_1RA1RD_0RF0RE_1LA0LB_---1RA|undecided}}, a variant of [[Hydra]] and Antihydra&lt;br /&gt;
* {{TM|1RB1LD_1RC1RE_0LA1LB_0LD1LC_1RF0RA_---0RC|undecided}}, similar to Antihydra&lt;br /&gt;
* {{TM|1RB0LD_1RC1RF_1LA0RA_0LA0LE_1LD1LA_0RB---|undecided}}, similar to Antihydra&lt;br /&gt;
* {{TM|1RB0LB_1LC0RE_1LA1LD_0LC---_0RB0RF_1RE1RB|undecided}}, similar to Antihydra&lt;br /&gt;
&lt;br /&gt;
Probviously halting (or translated cycling) Cryptids:&lt;br /&gt;
&lt;br /&gt;
* [[Lucy&#039;s Moonlight]]&lt;br /&gt;
* {{TM|1RB1RA_0RC1RC_1LD0LF_0LE1LE_1RA0LB_---0LC|undecided}}, a family of 16 related TMs&lt;br /&gt;
* {{TM|1RB1RE_1LC1LD_---1LA_1LB1LE_0RF0RA_1LD1RF}}&lt;br /&gt;
* {{TM|1RB0RE_1LC1LD_0RA0LD_1LB0LA_1RF1RA_---1LB}}&lt;br /&gt;
* {{TM|1RB0LC_0LC0RF_1RD1LC_0RA1LE_---0LD_1LF1LA}}&lt;br /&gt;
* {{TM|1RB0LC_1LC0RD_1LF1LA_1LB1RE_1RB1LE_---0LE}}&lt;br /&gt;
Although {{TM|1RB1LE_0LC0LB_1RD1LC_1RD1RA_1RF0LA_---1RE}} behaves similarly to the probviously halting Cryptids, it is estimated to have a 3/5 chance of becoming a [[translated cycler]] and a 2/5 chance of halting.&lt;br /&gt;
&lt;br /&gt;
There are a few machines considered notable for their chaotic behaviour, but which have not been classified as Cryptids due to seemingly lacking a connection to any known open mathematical problems, such as Collatz-like problems.&lt;br /&gt;
&lt;br /&gt;
Potential Cryptids:&lt;br /&gt;
&lt;br /&gt;
* {{TM|1RB1RE_1LC0RA_0RD1LB_---1RC_1LF1RE_0LB0LE|undecided}}&lt;br /&gt;
* {{TM|1RB0LD_1LC0RA_1RA1LB_1LA1LE_1RF0LC_---0RE|undecided}}&lt;br /&gt;
* {{TM|1RB0RB_1LC1RE_1LF0LD_1RA1LD_1RC1RB_---1LC|undecided}}&lt;br /&gt;
* {{TM|1RB1LA_1LC0RE_1LF1LD_0RB0LA_1RC1RE_---0LD}}&lt;br /&gt;
&lt;br /&gt;
== Top Halters ==&lt;br /&gt;
Below is a table of the machines with the 10 highest known runtimes.&amp;lt;ref&amp;gt;Shawn Ligocki&#039;s list of 6-state, 2-symbol machines with large runtimes ([https://github.com/sligocki/busy-beaver/blob/main/Machines/bb/6x2.txt Link])&amp;lt;/ref&amp;gt; Their sigma scores are expressed using an extension of Knuth&#039;s up-arrow notation.&amp;lt;ref&amp;gt;Shawn Ligocki. 2022. [https://www.sligocki.com/2022/06/25/ext-up-notation.html &amp;quot;Extending Up-arrow Notation&amp;quot;]&amp;lt;/ref&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Top Known BB(6) Halters&lt;br /&gt;
!TM&lt;br /&gt;
!approximate sigma score&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB0LD_1RC0RF_1LC1LA_0LE1RZ_1LF0RB_0RC0RE}}&lt;br /&gt;
|10 ↑↑ 15.60465&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB1RC_1LC1RE_1LD0LB_1RE1LC_1LE0RF_1RZ1RA}}&lt;br /&gt;
|10 ↑↑ 7.23619&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB0LA_1LC1LF_0LD0LC_0LE0LB_1RE0RA_1RZ1LD}}&lt;br /&gt;
|10 ↑↑ 5.63534&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB1RE_1LC1LF_1RD0LB_1LE0RC_1RA0LD_1RZ1LC}}&lt;br /&gt;
|10 ↑↑ 5.56344&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB0LE_0RC1RA_0LD1RF_1RE0RB_1LA0LC_0RD1RZ}}&lt;br /&gt;
|10 ↑↑ 5.12468&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB0RF_1LC1LB_0RE0LD_0LC0LB_0RA1RE_0RD1RZ}}&lt;br /&gt;
|10 ↑↑ 5.03230&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB1LA_1LC0RF_1LD1LC_1LE0RE_0RB0LC_1RZ1RA}}&lt;br /&gt;
|10 ↑↑ 4.91072&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB0LE_1LC1RA_1RE0LD_1LC1LF_1LA0RC_1RZ1LC}}&lt;br /&gt;
|10 ↑↑ 3.33186&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB1RF_1LC1RE_0LD1LB_1LA0RA_0RA0RB_1RZ0RD}}&lt;br /&gt;
|10 ↑↑ 3.31128&lt;br /&gt;
|-&lt;br /&gt;
|{{TM|1RB0LF_1LC0RA_1RD0LB_1LE1RC_1RZ1LA_1LA1LE}}&lt;br /&gt;
|10 ↑↑ 3.18855&lt;br /&gt;
|}&lt;br /&gt;
The runtimes are presumed to be about &amp;lt;math&amp;gt;\text{score}^2&amp;lt;/math&amp;gt; which is roughly indistinguishable in tetration notation.&lt;br /&gt;
&lt;br /&gt;
== Holdouts ==&lt;br /&gt;
@mxdys&#039;s informal [[Holdouts lists|holdouts list]] is down to 4408 machines as of 8 Nov 2024.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
[[Category:BB Domain]]&lt;/div&gt;</summary>
		<author><name>MrSolis</name></author>
	</entry>
</feed>