<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://conwaylife.com/w/index.php?action=history&amp;feed=atom&amp;title=User%3ADroneBetter%2Fdimensional_INT_enumerator</id>
	<title>User:DroneBetter/dimensional INT enumerator - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://conwaylife.com/w/index.php?action=history&amp;feed=atom&amp;title=User%3ADroneBetter%2Fdimensional_INT_enumerator"/>
	<link rel="alternate" type="text/html" href="https://conwaylife.com/w/index.php?title=User:DroneBetter/dimensional_INT_enumerator&amp;action=history"/>
	<updated>2026-12-03T11:42:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://conwaylife.com/w/index.php?title=User:DroneBetter/dimensional_INT_enumerator&amp;diff=138039&amp;oldid=prev</id>
		<title>DroneBetter: clean up very small amount (with symbol for lambda, and more math syntax), mainly the part with the explanation from apg, however the miscellaneous curiosities section will be used hereafter</title>
		<link rel="alternate" type="text/html" href="https://conwaylife.com/w/index.php?title=User:DroneBetter/dimensional_INT_enumerator&amp;diff=138039&amp;oldid=prev"/>
		<updated>2023-10-04T10:33:44Z</updated>

		<summary type="html">&lt;p&gt;clean up very small amount (with symbol for lambda, and more math syntax), mainly the part with the explanation from apg, however the &lt;a href=&quot;/wiki/User:DroneBetter/miscellaneous_curiosities#hypercube_colouring_sequences&quot; title=&quot;User:DroneBetter/miscellaneous curiosities&quot;&gt;miscellaneous curiosities section&lt;/a&gt; will be used hereafter&lt;/p&gt;
&lt;a href=&quot;https://conwaylife.com/w/index.php?title=User:DroneBetter/dimensional_INT_enumerator&amp;amp;diff=138039&amp;amp;oldid=124675&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>DroneBetter</name></author>
	</entry>
	<entry>
		<id>https://conwaylife.com/w/index.php?title=User:DroneBetter/dimensional_INT_enumerator&amp;diff=124675&amp;oldid=prev</id>
		<title>DroneBetter: Mention new (better-explained) miscellaneous curiosities section about lexbin, fix all &lt;pre&gt;&#039;s by moving them onto their own lines (which seems unfortunately to be necessary)</title>
		<link rel="alternate" type="text/html" href="https://conwaylife.com/w/index.php?title=User:DroneBetter/dimensional_INT_enumerator&amp;diff=124675&amp;oldid=prev"/>
		<updated>2023-02-11T01:14:45Z</updated>

		<summary type="html">&lt;p&gt;Mention new (better-explained) miscellaneous curiosities section about lexbin, fix all &amp;lt;pre&amp;gt;&amp;#039;s by moving them onto their own lines (which seems unfortunately to be necessary)&lt;/p&gt;
&lt;a href=&quot;https://conwaylife.com/w/index.php?title=User:DroneBetter/dimensional_INT_enumerator&amp;amp;diff=124675&amp;amp;oldid=124427&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>DroneBetter</name></author>
	</entry>
	<entry>
		<id>https://conwaylife.com/w/index.php?title=User:DroneBetter/dimensional_INT_enumerator&amp;diff=124427&amp;oldid=prev</id>
		<title>HotdogPi: the the → the</title>
		<link rel="alternate" type="text/html" href="https://conwaylife.com/w/index.php?title=User:DroneBetter/dimensional_INT_enumerator&amp;diff=124427&amp;oldid=prev"/>
		<updated>2023-02-02T16:24:55Z</updated>

		<summary type="html">&lt;p&gt;the the → the&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:24, 2 February 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l206&quot;&gt;Line 206:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 206:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;This looks complicated but I will explain each operation enacted, in order. Within each parity, we transpose the second element of each action (with the counts of cycle lengths over each width), ie. from (((1,0),(2,0),(4,4)),((1, 0),(2, 0),(4,16)),((1, 0),(2, 0),(4,36)))) to (((1,0),(1,0),(1,0)),((2,0),(2,0),(2,0)),((4,4),(4,16),(4,36))), then for each element of this transposed list, we include the first element (the first size)&amp;#039;s first element (the period), and the fitting polynomial&amp;#039;s coefficients. To do this, first we enact a reduce statement.&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;This looks complicated but I will explain each operation enacted, in order. Within each parity, we transpose the second element of each action (with the counts of cycle lengths over each width), ie. from (((1,0),(2,0),(4,4)),((1, 0),(2, 0),(4,16)),((1, 0),(2, 0),(4,36)))) to (((1,0),(1,0),(1,0)),((2,0),(2,0),(2,0)),((4,4),(4,16),(4,36))), then for each element of this transposed list, we include the first element (the first size)&amp;#039;s first element (the period), and the fitting polynomial&amp;#039;s coefficients. To do this, first we enact a reduce statement.&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;reduce(lambda i,d: (lambda a,i,d: (lambda c: ((c,)+a,tuple(k-c*j**d for j,k in enumerate(i[:-1]))))(funcxp(lambda i: tap(int.__sub__,i[1:],i[:-1]),d)(i)[0]//fact(d)))(*i,d),range(dims,-1,-1),((),lap(lambda n: n[1],i)))[0]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;reduce(lambda i,d: (lambda a,i,d: (lambda c: ((c,)+a,tuple(k-c*j**d for j,k in enumerate(i[:-1]))))(funcxp(lambda i: tap(int.__sub__,i[1:],i[:-1]),d)(i)[0]//fact(d)))(*i,d),range(dims,-1,-1),((),lap(lambda n: n[1],i)))[0]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;It begins with the tuple ((),lap(lambda n: n[1],i)), that is mutated in-place with each iteration of the reduce, the first element will be the polynomial (with the element at index i corresponding with the coefficient of the n**i term), the second is the second element (the number of occurrences) of the cycle length (because the first each contain the same value, the cycle length). It recursively finds the dth iterated difference (for d beginning as dims and then decrementing to 1), in each iteration it unpacks the mutating tuple and passes it with &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the &lt;/del&gt;the difference order into &amp;lt;pre&amp;gt;lambda a,i,d: (lambda c: ((c,)+a,tuple(k-c*j**d for j,k in enumerate(i[:-1]))))(funcxp(lambda i: tap(int.__sub__,i[1:],i[:-1]),d)(i)[0]//fact(d))&amp;lt;/pre&amp;gt;, which takes the first element of the difference list (which, for each recursively-applied iteration of the difference function, decrements the length by 1, and will return a list of length 1), divides by the factorial of the difference order to get the polynomial coefficient (because the dth difference between two consecutive dth powers is d!), then prepends this to the polynomial coefficients tuple (which is generated in reverse order) and computed and subtracted from each element of the sequence (so it doesn&#039;t affect the computation of the previous exponent&#039;s coefficient). After the reduce has finished, the first element (the accumulating list) is taken, the second is discarded (because all differences down to the 0th have been found and it is empty).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;It begins with the tuple ((),lap(lambda n: n[1],i)), that is mutated in-place with each iteration of the reduce, the first element will be the polynomial (with the element at index i corresponding with the coefficient of the n**i term), the second is the second element (the number of occurrences) of the cycle length (because the first each contain the same value, the cycle length). It recursively finds the dth iterated difference (for d beginning as dims and then decrementing to 1), in each iteration it unpacks the mutating tuple and passes it with the difference order into &amp;lt;pre&amp;gt;lambda a,i,d: (lambda c: ((c,)+a,tuple(k-c*j**d for j,k in enumerate(i[:-1]))))(funcxp(lambda i: tap(int.__sub__,i[1:],i[:-1]),d)(i)[0]//fact(d))&amp;lt;/pre&amp;gt;, which takes the first element of the difference list (which, for each recursively-applied iteration of the difference function, decrements the length by 1, and will return a list of length 1), divides by the factorial of the difference order to get the polynomial coefficient (because the dth difference between two consecutive dth powers is d!), then prepends this to the polynomial coefficients tuple (which is generated in reverse order) and computed and subtracted from each element of the sequence (so it doesn&#039;t affect the computation of the previous exponent&#039;s coefficient). After the reduce has finished, the first element (the accumulating list) is taken, the second is discarded (because all differences down to the 0th have been found and it is empty).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;However, this only returns a polynomial that returns the number of occurrences of the cycle type in the action with respect to the index within this parity&amp;#039;s list (that extrapolates it), we would like one that returns it with respect to the board size itself, so we substitute the equation from one in terms of k to n, where n=parities*(k+1)+b (the index of this parity), so k=n/parities-1-b/parities. For each polynomial term with the power p, we convert it with the binomial expansion of ((n/parities)-(1-b/parities))**p (in terms of n), then we sum these polynomials together, achieved with&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;However, this only returns a polynomial that returns the number of occurrences of the cycle type in the action with respect to the index within this parity&amp;#039;s list (that extrapolates it), we would like one that returns it with respect to the board size itself, so we substitute the equation from one in terms of k to n, where n=parities*(k+1)+b (the index of this parity), so k=n/parities-1-b/parities. For each polynomial term with the power p, we convert it with the binomial expansion of ((n/parities)-(1-b/parities))**p (in terms of n), then we sum these polynomials together, achieved with&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>HotdogPi</name></author>
	</entry>
	<entry>
		<id>https://conwaylife.com/w/index.php?title=User:DroneBetter/dimensional_INT_enumerator&amp;diff=122000&amp;oldid=prev</id>
		<title>DroneBetter: Create (in my user area for now, can be moved to a more general programming tutorial page if you would like but doesn&#039;t fit under Coding Life simulators, I don&#039;t think (even less than the eightfold reducer), and needs some more polishing first in any case)</title>
		<link rel="alternate" type="text/html" href="https://conwaylife.com/w/index.php?title=User:DroneBetter/dimensional_INT_enumerator&amp;diff=122000&amp;oldid=prev"/>
		<updated>2023-01-13T14:49:43Z</updated>

		<summary type="html">&lt;p&gt;Create (in my user area for now, can be moved to a more general programming tutorial page if you would like but doesn&amp;#039;t fit under Coding Life simulators, I don&amp;#039;t think (even less than the eightfold reducer), and needs some more polishing first in any case)&lt;/p&gt;
&lt;a href=&quot;https://conwaylife.com/w/index.php?title=User:DroneBetter/dimensional_INT_enumerator&amp;amp;diff=122000&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>DroneBetter</name></author>
	</entry>
</feed>