<?xml version="1.0" encoding="UTF-8" standalone="yes"?><oembed><version><![CDATA[1.0]]></version><provider_name><![CDATA[Chaos at the Sky]]></provider_name><provider_url><![CDATA[https://chaosatthesky.wordpress.com]]></provider_url><author_name><![CDATA[chaotic_iak]]></author_name><author_url><![CDATA[https://chaosatthesky.wordpress.com/author/chaoticiak/]]></author_url><title><![CDATA[Introduction to Combinatorial Game Theory, Part&nbsp;2]]></title><type><![CDATA[link]]></type><html><![CDATA[<p>Follow-up of <a href="https://chaosatthesky.wordpress.com/2015/01/02/intro-to-cgt-1/">the first part</a>.</p>
<p><!--more--></p>
<p>So, we know a couple of things about Hackenbush. We know a few outcomes: &#8220;Left wins&#8221;, &#8220;Right wins&#8221;, and &#8220;second player wins&#8221;. We&#8217;re missing one more: &#8220;first player wins&#8221;&#8230; What would &#8220;first player wins&#8221; be?</p>
<p>Consider <img src="https://s0.wp.com/latex.php?latex=%5C%7B0%7C0%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5C%7B0%7C0%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5C%7B0%7C0%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;{0|0&#92;}" class="latex" />. Here, whoever to move is forced to move to the zero game, which is a loss for the player to move. Thus here, the first player wins, as the second player loses. But what is its value?</p>
<p>This is not positive, as a positive value indicates that Left wins. Not negative either, as it means Right wins. Not zero too, since the first player instead of the second player is the one that wins! So this is not a number like our previous games are. Mathematicians call this <img src="https://s0.wp.com/latex.php?latex=%2A+%3D+%5C%7B0%7C0%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A+%3D+%5C%7B0%7C0%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A+%3D+%5C%7B0%7C0%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="* = &#92;{0|0&#92;}" class="latex" />, the <em>star game</em>.</p>
<p>But can a star game appear in Hackenbush?</p>
<p>As it turns out, no, it cannot! Hackenbush doesn&#8217;t allow star games. Thus to look at star games, we need to change games.</p>
<p>One possible approach is to make a variant of Hackenbush. The original Hackenbush is called Blue-Red Hackenbush, since it uses the colors blue and red. Let&#8217;s modify this into <em>Blue-Red-Green Hackenbush</em>, which adds edges of a third color, green, which can be removed by either player.</p>
<p>Thus, what is a Blue-Red-Green Hackenbush with a single green segment?</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2015/01/hackenbush6.png"><img loading="lazy" data-attachment-id="1640" data-permalink="https://chaosatthesky.wordpress.com/2015/01/04/intro-to-cgt-2/hackenbush6/" data-orig-file="https://chaosatthesky.files.wordpress.com/2015/01/hackenbush6.png" data-orig-size="54,54" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="hackenbush6" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2015/01/hackenbush6.png?w=54" data-large-file="https://chaosatthesky.files.wordpress.com/2015/01/hackenbush6.png?w=54" src="https://chaosatthesky.files.wordpress.com/2015/01/hackenbush6.png?w=54&#038;h=54" alt="hackenbush6" width="54" height="54" class="aligncenter size-full wp-image-1640" /></a></p>
<p>Exactly, it&#8217;s the star game. Whichever player to move must leave the zero game to the other player, thus this is <img src="https://s0.wp.com/latex.php?latex=%5C%7B0%7C0%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5C%7B0%7C0%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5C%7B0%7C0%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;{0|0&#92;}" class="latex" />.</p>
<p>We can analyze a few more positions here, but let&#8217;s turn our attention to another possible game that introduces stars&#8230; <em>Nim</em>.</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2015/01/nim0.png"><img loading="lazy" data-attachment-id="1641" data-permalink="https://chaosatthesky.wordpress.com/2015/01/04/intro-to-cgt-2/nim0/" data-orig-file="https://chaosatthesky.files.wordpress.com/2015/01/nim0.png" data-orig-size="251,168" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="nim0" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2015/01/nim0.png?w=251" data-large-file="https://chaosatthesky.files.wordpress.com/2015/01/nim0.png?w=251" src="https://chaosatthesky.files.wordpress.com/2015/01/nim0.png?w=251&#038;h=168" alt="nim0" width="251" height="168" class="aligncenter size-full wp-image-1641" srcset="https://chaosatthesky.files.wordpress.com/2015/01/nim0.png 251w, https://chaosatthesky.files.wordpress.com/2015/01/nim0.png?w=150&amp;h=100 150w" sizes="(max-width: 251px) 100vw, 251px" /></a></p>
<p>In Nim, we have several piles, each containing some stones. In the position above, we have stones with 1, 3, and 6 stones; for convenience, we will call this position <img src="https://s0.wp.com/latex.php?latex=%281%2C3%2C6%29&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%281%2C3%2C6%29&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%281%2C3%2C6%29&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="(1,3,6)" class="latex" />, so I don&#8217;t have to keep making images. The rules are simple: each player takes any number of stones from a single pile. Thus for example, a player might take four stones from the pile of 6, turning to the position <img src="https://s0.wp.com/latex.php?latex=%281%2C3%2C2%29&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%281%2C3%2C2%29&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%281%2C3%2C2%29&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="(1,3,2)" class="latex" />, or they can remove the entire first pile, leaving <img src="https://s0.wp.com/latex.php?latex=%280%2C3%2C6%29&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%280%2C3%2C6%29&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%280%2C3%2C6%29&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="(0,3,6)" class="latex" />. The winner, of course, is the player that makes the last move. Note that the only way to have no move left is if all stones are removed.</p>
<p>Here we see what&#8217;s called an <em>impartial game</em>, where the same moves are available to both players, compared to <em>partisan game</em> like Blue-Red Hackenbush where not the same moves are available to the players. (Note that in Blue-Red-Green Hackenbush, if the position contains only green edges (and thus the same moves are available to both players), it is also an impartial game.) Note that in an impartial game, there is no concept of &#8220;Left wins&#8221; or &#8220;Right wins&#8221;; only &#8220;first player wins&#8221; or &#8220;second player wins&#8221;.</p>
<p>First, as moves are available to both players, we can shorten our notation of a position: instead of repeating the same thing twice like <img src="https://s0.wp.com/latex.php?latex=%5C%7B0%7C0%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5C%7B0%7C0%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5C%7B0%7C0%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;{0|0&#92;}" class="latex" />, we&#8217;ll just do it once like <img src="https://s0.wp.com/latex.php?latex=%5C%7B0%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5C%7B0%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5C%7B0%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;{0&#92;}" class="latex" />. This makes it closer in notation to a set; but then again a position is simply a set of available moves!</p>
<p>Also, for convenience, let&#8217;s call <img src="https://s0.wp.com/latex.php?latex=p_n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=p_n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=p_n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="p_n" class="latex" /> to be a pile of <img src="https://s0.wp.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="n" class="latex" /> stones. Thus the position above is <img src="https://s0.wp.com/latex.php?latex=p_1+%2B+p_3+%2B+p_6&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=p_1+%2B+p_3+%2B+p_6&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=p_1+%2B+p_3+%2B+p_6&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="p_1 + p_3 + p_6" class="latex" />. Note how two different piles never affect each other from the rules, hence why we can just assume they are separate games that are added together. You still remember game additions, no?</p>
<p>The simplest pile is <img src="https://s0.wp.com/latex.php?latex=p_0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=p_0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=p_0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="p_0" class="latex" />, having no stone at all! This is clearly a zero game, so <img src="https://s0.wp.com/latex.php?latex=p_0+%3D+%5C%7B%5C%7D+%3D+0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=p_0+%3D+%5C%7B%5C%7D+%3D+0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=p_0+%3D+%5C%7B%5C%7D+%3D+0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="p_0 = &#92;{&#92;} = 0" class="latex" />.</p>
<p>The next simplest pile is <img src="https://s0.wp.com/latex.php?latex=p_1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=p_1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=p_1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="p_1" class="latex" />. A pile of one stone is just like a position of a single green segment in Blue-Red-Green Hackenbush, with the only available move reducing to <img src="https://s0.wp.com/latex.php?latex=p_0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=p_0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=p_0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="p_0" class="latex" />, or the zero game. So <img src="https://s0.wp.com/latex.php?latex=p_1+%3D+%5C%7Bp_0%5C%7D+%3D+%5C%7B0%5C%7D+%3D+%2A&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=p_1+%3D+%5C%7Bp_0%5C%7D+%3D+%5C%7B0%5C%7D+%3D+%2A&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=p_1+%3D+%5C%7Bp_0%5C%7D+%3D+%5C%7B0%5C%7D+%3D+%2A&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="p_1 = &#92;{p_0&#92;} = &#92;{0&#92;} = *" class="latex" />.</p>
<p>What about <img src="https://s0.wp.com/latex.php?latex=p_2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=p_2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=p_2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="p_2" class="latex" />? What position is this? Listing out the moves, we get <img src="https://s0.wp.com/latex.php?latex=p_2+%3D+%5C%7Bp_0%2C+p_1%5C%7D+%3D+%5C%7B0%2C+%2A%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=p_2+%3D+%5C%7Bp_0%2C+p_1%5C%7D+%3D+%5C%7B0%2C+%2A%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=p_2+%3D+%5C%7Bp_0%2C+p_1%5C%7D+%3D+%5C%7B0%2C+%2A%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="p_2 = &#92;{p_0, p_1&#92;} = &#92;{0, *&#92;}" class="latex" />&#8230; Uh oh, what is this? This is nothing we have encountered before.</p>
<p>Well, mathematicians also decide to just ditch it, making yet another notation. <img src="https://s0.wp.com/latex.php?latex=%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*n" class="latex" /> is the value, called the <em>nimber</em> <img src="https://s0.wp.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="n" class="latex" />, which represents the value of <img src="https://s0.wp.com/latex.php?latex=p_n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=p_n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=p_n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="p_n" class="latex" />, the pile with <img src="https://s0.wp.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="n" class="latex" /> piles. So <img src="https://s0.wp.com/latex.php?latex=0+%3D+%2A0%2C+%2A+%3D+%2A1%2C+%5C%7B0%2C%2A%5C%7D+%3D+%2A2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=0+%3D+%2A0%2C+%2A+%3D+%2A1%2C+%5C%7B0%2C%2A%5C%7D+%3D+%2A2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=0+%3D+%2A0%2C+%2A+%3D+%2A1%2C+%5C%7B0%2C%2A%5C%7D+%3D+%2A2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="0 = *0, * = *1, &#92;{0,*&#92;} = *2" class="latex" />, and many more&#8230; We also see that the value for the position depicted in the image is <img src="https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A3+%2B+%2A6&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A3+%2B+%2A6&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A3+%2B+%2A6&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*1 + *3 + *6" class="latex" />. Can we simplify this?</p>
<p>Let&#8217;s start analyzing a few things. What is <img src="https://s0.wp.com/latex.php?latex=%2A0+%2B+%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A0+%2B+%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A0+%2B+%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*0 + *n" class="latex" />?</p>
<p>Remember how zero games never affect additions? Yes, since <img src="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*0" class="latex" /> is just the zero game, the result is simply <img src="https://s0.wp.com/latex.php?latex=%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*n" class="latex" />. Thus <img src="https://s0.wp.com/latex.php?latex=%2A0+%2B+%2An+%3D+%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A0+%2B+%2An+%3D+%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A0+%2B+%2An+%3D+%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*0 + *n = *n" class="latex" />. Also, of course, <img src="https://s0.wp.com/latex.php?latex=%2An+%2B+%2A0+%3D+%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2An+%2B+%2A0+%3D+%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2An+%2B+%2A0+%3D+%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*n + *0 = *n" class="latex" />.</p>
<p>What about <img src="https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*1 + *1" class="latex" />? Let&#8217;s list the moves. We can either move in the first game, reducing it to <img src="https://s0.wp.com/latex.php?latex=%2A0+%2B+%2A1+%3D+%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A0+%2B+%2A1+%3D+%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A0+%2B+%2A1+%3D+%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*0 + *1 = *1" class="latex" />, or in the second game, reducing it to&#8230; <img src="https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A0+%3D+%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A0+%3D+%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A0+%3D+%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*1 + *0 = *1" class="latex" />. Well, either way, we&#8217;re left with <img src="https://s0.wp.com/latex.php?latex=%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*1" class="latex" />, so <img src="https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A1+%3D+%5C%7B%2A1%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A1+%3D+%5C%7B%2A1%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A1+%3D+%5C%7B%2A1%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*1 + *1 = &#92;{*1&#92;}" class="latex" />. What is its value?</p>
<p>Well, since <img src="https://s0.wp.com/latex.php?latex=%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*1" class="latex" /> is a win for the player to move, and the first player must move to that, we have the second player wins; in other words, <img src="https://s0.wp.com/latex.php?latex=%5C%7B%2A1%5C%7D+%3D+0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5C%7B%2A1%5C%7D+%3D+0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5C%7B%2A1%5C%7D+%3D+0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;{*1&#92;} = 0" class="latex" />. Or we can think in Nim piles: a Nim position with two piles, each of size 1. The first player must take one of the stones; note that they cannot take both. The second player must also take the remaining stone, but that means the second player wins.</p>
<p>Let&#8217;s try generalizing it. If we have <img src="https://s0.wp.com/latex.php?latex=%2An+%2B+%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2An+%2B+%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2An+%2B+%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*n + *n" class="latex" />, what is its value? Think in terms of Nim piles first; you have two equal-sized piles, who wins?</p>
<p>We can see that the second player wins. To see this, the second player simply mirror the first player&#8217;s move on the other pile, leaving both piles equal. If we start with <img src="https://s0.wp.com/latex.php?latex=%285%2C5%29&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%285%2C5%29&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%285%2C5%29&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="(5,5)" class="latex" />, and the first player reduces the first pile to 3, then the second player mirrors it, reducing the second pile to 3 too, giving <img src="https://s0.wp.com/latex.php?latex=%283%2C3%29&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%283%2C3%29&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%283%2C3%29&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="(3,3)" class="latex" />. If the first player then reduces the second pile down to zero, the second player also cleans up the first pile, leaving <img src="https://s0.wp.com/latex.php?latex=%280%2C0%29&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%280%2C0%29&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%280%2C0%29&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="(0,0)" class="latex" /> which is the zero game, as there is no move left. So first player loses. So <img src="https://s0.wp.com/latex.php?latex=%2An+%2B+%2An+%3D+0+%3D+%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2An+%2B+%2An+%3D+0+%3D+%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2An+%2B+%2An+%3D+0+%3D+%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*n + *n = 0 = *0" class="latex" />. This can also be proven by induction; if we have the result <img src="https://s0.wp.com/latex.php?latex=%2An+%2B+%2An+%3D+%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2An+%2B+%2An+%3D+%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2An+%2B+%2An+%3D+%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*n + *n = *0" class="latex" /> for all <img src="https://s0.wp.com/latex.php?latex=n+%3C+k&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=n+%3C+k&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=n+%3C+k&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="n &lt; k" class="latex" />, then we can conclude the same when <img src="https://s0.wp.com/latex.php?latex=n%3Dk&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=n%3Dk&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=n%3Dk&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="n=k" class="latex" /> too, proving the claim for all <img src="https://s0.wp.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="n" class="latex" />. Well, this addition is surely a weird thing&#8230;</p>
<p>Note how we had <img src="https://s0.wp.com/latex.php?latex=%5C%7B%2A1%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5C%7B%2A1%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5C%7B%2A1%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;{*1&#92;}" class="latex" /> from our discussion of <img src="https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*1 + *1" class="latex" />? That is, a position having <img src="https://s0.wp.com/latex.php?latex=%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*1" class="latex" /> but not <img src="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*0" class="latex" />? This is not our usual Nim pile, but turns out we can still simplify it. Let&#039;s generalize it. Suppose we have a position whose values are nimbers, but not necessarily in the form <img src="https://s0.wp.com/latex.php?latex=%5C%7B%2A0%2C+%2A1%2C+%2A2%2C+%5Cldots%2C+%2Ak%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5C%7B%2A0%2C+%2A1%2C+%2A2%2C+%5Cldots%2C+%2Ak%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5C%7B%2A0%2C+%2A1%2C+%2A2%2C+%5Cldots%2C+%2Ak%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;{*0, *1, *2, &#92;ldots, *k&#92;}" class="latex" /> for some <img src="https://s0.wp.com/latex.php?latex=k&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=k&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=k&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="k" class="latex" />. For example, <img src="https://s0.wp.com/latex.php?latex=%5C%7B%2A1%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5C%7B%2A1%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5C%7B%2A1%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;{*1&#92;}" class="latex" /> doesn&#8217;t have <img src="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*0" class="latex" />. What is its value?</p>
<p>Suppose that our position <img src="https://s0.wp.com/latex.php?latex=P&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=P&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=P&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="P" class="latex" /> includes <img src="https://s0.wp.com/latex.php?latex=%2A0%2C+%2A1%2C+%2A2%2C+%5Cldots%2C+%2A%28n-1%29&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A0%2C+%2A1%2C+%2A2%2C+%5Cldots%2C+%2A%28n-1%29&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A0%2C+%2A1%2C+%2A2%2C+%5Cldots%2C+%2A%28n-1%29&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*0, *1, *2, &#92;ldots, *(n-1)" class="latex" />, but is missing <img src="https://s0.wp.com/latex.php?latex=%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*n" class="latex" />. Let&#039;s consider the game <img src="https://s0.wp.com/latex.php?latex=P+%2B+%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=P+%2B+%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=P+%2B+%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="P + *n" class="latex" />. If the first player moves in <img src="https://s0.wp.com/latex.php?latex=P&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=P&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=P&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="P" class="latex" />, reducing it to <img src="https://s0.wp.com/latex.php?latex=%2Ak&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2Ak&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2Ak&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*k" class="latex" /> where <img src="https://s0.wp.com/latex.php?latex=k+%3C+n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=k+%3C+n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=k+%3C+n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="k &lt; n" class="latex" />, then the second player can move in <img src="https://s0.wp.com/latex.php?latex=%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*n" class="latex" /> to <img src="https://s0.wp.com/latex.php?latex=%2Ak&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2Ak&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2Ak&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*k" class="latex" />; remember how a pile of <img src="https://s0.wp.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="n" class="latex" /> stones can be reduced to <img src="https://s0.wp.com/latex.php?latex=k&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=k&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=k&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="k" class="latex" /> stones if <img src="https://s0.wp.com/latex.php?latex=k++n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=k++n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=k++n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="k  n" class="latex" />? Then the second player simply moves in the same game, reducing it to <img src="https://s0.wp.com/latex.php?latex=%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*n" class="latex" />, since <img src="https://s0.wp.com/latex.php?latex=k+%3E+n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=k+%3E+n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=k+%3E+n&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="k &gt; n" class="latex" /> and thus <img src="https://s0.wp.com/latex.php?latex=%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*n" class="latex" /> is a move from <img src="https://s0.wp.com/latex.php?latex=%2Ak&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2Ak&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2Ak&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*k" class="latex" />. And now <img src="https://s0.wp.com/latex.php?latex=%2An+%2B+%2An+%3D+%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2An+%2B+%2An+%3D+%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2An+%2B+%2An+%3D+%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*n + *n = *0" class="latex" />.</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2015/01/nim1.png"><img data-attachment-id="1642" data-permalink="https://chaosatthesky.wordpress.com/2015/01/04/intro-to-cgt-2/nim1/" data-orig-file="https://chaosatthesky.files.wordpress.com/2015/01/nim1.png" data-orig-size="692,399" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="nim1" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2015/01/nim1.png?w=300" data-large-file="https://chaosatthesky.files.wordpress.com/2015/01/nim1.png?w=692" src="https://chaosatthesky.files.wordpress.com/2015/01/nim1.png?w=1024&#038;h=590" alt="nim1"   class="aligncenter size-large wp-image-1642" srcset="https://chaosatthesky.files.wordpress.com/2015/01/nim1.png 692w, https://chaosatthesky.files.wordpress.com/2015/01/nim1.png?w=150&amp;h=86 150w, https://chaosatthesky.files.wordpress.com/2015/01/nim1.png?w=300&amp;h=173 300w" sizes="(max-width: 692px) 100vw, 692px" /></a></p>
<p>Thus we see the second player wins, and thus <img src="https://s0.wp.com/latex.php?latex=P+%2B+%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=P+%2B+%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=P+%2B+%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="P + *n" class="latex" /> must have been the zero game after all! This strongly suggests that <img src="https://s0.wp.com/latex.php?latex=P+%3D+%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=P+%3D+%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=P+%3D+%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="P = *n" class="latex" />, since we know that <img src="https://s0.wp.com/latex.php?latex=%2An+%2B+%2An+%3D+%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2An+%2B+%2An+%3D+%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2An+%2B+%2An+%3D+%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*n + *n = *0" class="latex" />. As it turns out, we can prove that <img src="https://s0.wp.com/latex.php?latex=P+%3D+%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=P+%3D+%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=P+%3D+%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="P = *n" class="latex" /> indeed. Thus we know a rule: <em>the value of any position whose available moves are nimbers is itself a nimber, equal to the smallest missing value of the available moves</em>. Applying to <img src="https://s0.wp.com/latex.php?latex=%5C%7B%2A1%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5C%7B%2A1%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5C%7B%2A1%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;{*1&#92;}" class="latex" />, as the smallest missing value is <img src="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*0" class="latex" />, we have <img src="https://s0.wp.com/latex.php?latex=%5C%7B%2A1%5C%7D+%3D+%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5C%7B%2A1%5C%7D+%3D+%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5C%7B%2A1%5C%7D+%3D+%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;{*1&#92;} = *0" class="latex" />. Similarly, even though <img src="https://s0.wp.com/latex.php?latex=%5C%7B%2A1%2C+%2A2%2C+%2A3%2C+%5Cldots%2C+%2A2015%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5C%7B%2A1%2C+%2A2%2C+%2A3%2C+%5Cldots%2C+%2A2015%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5C%7B%2A1%2C+%2A2%2C+%2A3%2C+%5Cldots%2C+%2A2015%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;{*1, *2, *3, &#92;ldots, *2015&#92;}" class="latex" /> might seem to be such a wide array of moves, it is missing <img src="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*0" class="latex" />, so it is still the zero game anyway. Additionally, this fits with what we know: <img src="https://s0.wp.com/latex.php?latex=%5C%7B%2A0%2C+%2A1%2C+%5Cldots%2C+%2A%28n-1%29%5C%7D+%3D+%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5C%7B%2A0%2C+%2A1%2C+%5Cldots%2C+%2A%28n-1%29%5C%7D+%3D+%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5C%7B%2A0%2C+%2A1%2C+%5Cldots%2C+%2A%28n-1%29%5C%7D+%3D+%2An&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;{*0, *1, &#92;ldots, *(n-1)&#92;} = *n" class="latex" /> follows the rule too!</p>
<p>So, armed with this, let&#8217;s return back to addition. What is the value of <img src="https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*1 + *2" class="latex" />? Listing its moves, we have <img src="https://s0.wp.com/latex.php?latex=%5C%7B%2A0%2B%2A2%2C+%2A1%2B%2A0%2C+%2A1%2B%2A1%5C%7D+%3D+%5C%7B%2A2%2C+%2A1%2C+%2A0%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5C%7B%2A0%2B%2A2%2C+%2A1%2B%2A0%2C+%2A1%2B%2A1%5C%7D+%3D+%5C%7B%2A2%2C+%2A1%2C+%2A0%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5C%7B%2A0%2B%2A2%2C+%2A1%2B%2A0%2C+%2A1%2B%2A1%5C%7D+%3D+%5C%7B%2A2%2C+%2A1%2C+%2A0%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;{*0+*2, *1+*0, *1+*1&#92;} = &#92;{*2, *1, *0&#92;}" class="latex" />. So <img src="https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A2+%3D+%2A3&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A2+%3D+%2A3&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A2+%3D+%2A3&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*1 + *2 = *3" class="latex" />. And then, we also have <img src="https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A3+%3D+%5C%7B%2A0%2B%2A3%2C+%2A1%2B%2A0%2C+%2A1%2B%2A1%2C+%2A1%2B%2A2%5C%7D+%3D+%5C%7B%2A3%2C+%2A1%2C+%2A0%2C+%2A3%5C%7D+%3D+%2A2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A3+%3D+%5C%7B%2A0%2B%2A3%2C+%2A1%2B%2A0%2C+%2A1%2B%2A1%2C+%2A1%2B%2A2%5C%7D+%3D+%5C%7B%2A3%2C+%2A1%2C+%2A0%2C+%2A3%5C%7D+%3D+%2A2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A3+%3D+%5C%7B%2A0%2B%2A3%2C+%2A1%2B%2A0%2C+%2A1%2B%2A1%2C+%2A1%2B%2A2%5C%7D+%3D+%5C%7B%2A3%2C+%2A1%2C+%2A0%2C+%2A3%5C%7D+%3D+%2A2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*1 + *3 = &#92;{*0+*3, *1+*0, *1+*1, *1+*2&#92;} = &#92;{*3, *1, *0, *3&#92;} = *2" class="latex" />. Well, this will be hard.</p>
<p>A relatively nice method for a human to compute the sum is to make a table of addition. For convenience, let&#8217;s assume the rows are ordered in ascending order from top to bottom, and so as the columns from left to right.</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2015/01/nimber0.png"><img loading="lazy" data-attachment-id="1644" data-permalink="https://chaosatthesky.wordpress.com/2015/01/04/intro-to-cgt-2/nimber0/" data-orig-file="https://chaosatthesky.files.wordpress.com/2015/01/nimber0.png" data-orig-size="323,355" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="nimber0" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2015/01/nimber0.png?w=273" data-large-file="https://chaosatthesky.files.wordpress.com/2015/01/nimber0.png?w=323" src="https://chaosatthesky.files.wordpress.com/2015/01/nimber0.png?w=323&#038;h=355" alt="nimber0" width="323" height="355" class="aligncenter size-full wp-image-1644" srcset="https://chaosatthesky.files.wordpress.com/2015/01/nimber0.png 323w, https://chaosatthesky.files.wordpress.com/2015/01/nimber0.png?w=136&amp;h=150 136w, https://chaosatthesky.files.wordpress.com/2015/01/nimber0.png?w=273&amp;h=300 273w" sizes="(max-width: 323px) 100vw, 323px" /></a></p>
<p>The above has been partially filled with what we have known.</p>
<p>Now pick a cell we want to compute, look on all cells above or to the left of our cell (but not both!), and find the smallest missing value.</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2015/01/nimber1.png"><img loading="lazy" data-attachment-id="1645" data-permalink="https://chaosatthesky.wordpress.com/2015/01/04/intro-to-cgt-2/nimber1/" data-orig-file="https://chaosatthesky.files.wordpress.com/2015/01/nimber1.png" data-orig-size="323,355" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="nimber1" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2015/01/nimber1.png?w=273" data-large-file="https://chaosatthesky.files.wordpress.com/2015/01/nimber1.png?w=323" src="https://chaosatthesky.files.wordpress.com/2015/01/nimber1.png?w=323&#038;h=355" alt="nimber1" width="323" height="355" class="aligncenter size-full wp-image-1645" srcset="https://chaosatthesky.files.wordpress.com/2015/01/nimber1.png 323w, https://chaosatthesky.files.wordpress.com/2015/01/nimber1.png?w=136&amp;h=150 136w, https://chaosatthesky.files.wordpress.com/2015/01/nimber1.png?w=273&amp;h=300 273w" sizes="(max-width: 323px) 100vw, 323px" /></a></p>
<p>Yes, keep doing this.</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2015/01/nimber2.png"><img loading="lazy" data-attachment-id="1646" data-permalink="https://chaosatthesky.wordpress.com/2015/01/04/intro-to-cgt-2/nimber2/" data-orig-file="https://chaosatthesky.files.wordpress.com/2015/01/nimber2.png" data-orig-size="323,355" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="nimber2" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2015/01/nimber2.png?w=273" data-large-file="https://chaosatthesky.files.wordpress.com/2015/01/nimber2.png?w=323" src="https://chaosatthesky.files.wordpress.com/2015/01/nimber2.png?w=323&#038;h=355" alt="nimber2" width="323" height="355" class="aligncenter size-full wp-image-1646" srcset="https://chaosatthesky.files.wordpress.com/2015/01/nimber2.png 323w, https://chaosatthesky.files.wordpress.com/2015/01/nimber2.png?w=136&amp;h=150 136w, https://chaosatthesky.files.wordpress.com/2015/01/nimber2.png?w=273&amp;h=300 273w" sizes="(max-width: 323px) 100vw, 323px" /></a></p>
<p>If you know the <a href="https://en.wikipedia.org/wiki/Bitwise_operation#XOR">XOR operation</a>, the table is precisely that. We can prove that it is indeed the case, but for now we&#8217;re satisfied enough with having a table.</p>
<p>Thus, to compute <img src="https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A3+%2B+%2A6&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A3+%2B+%2A6&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A3+%2B+%2A6&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*1 + *3 + *6" class="latex" />, we can just use the table:<br />
<img src="https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A3+%2B+%2A6&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A3+%2B+%2A6&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A3+%2B+%2A6&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*1 + *3 + *6" class="latex" /><br />
<img src="https://s0.wp.com/latex.php?latex=%3D+%2A2+%2B+%2A6&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%3D+%2A2+%2B+%2A6&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%3D+%2A2+%2B+%2A6&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="= *2 + *6" class="latex" /><br />
<img src="https://s0.wp.com/latex.php?latex=%3D+%2A4&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%3D+%2A4&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%3D+%2A4&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="= *4" class="latex" /></p>
<p>What if we want to find a winning strategy for Nim? For example, who wins the above? Since <img src="https://s0.wp.com/latex.php?latex=%2A4&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A4&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A4&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*4" class="latex" /> is a win for the first player to move (the first player moves to <img src="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*0" class="latex" />), the first player wins. But what move?</p>
<p>We know that <img src="https://s0.wp.com/latex.php?latex=%28%2A1+%2B+%2A3+%2B+%2A6%29+%2B+%2A4+%3D+%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%28%2A1+%2B+%2A3+%2B+%2A6%29+%2B+%2A4+%3D+%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%28%2A1+%2B+%2A3+%2B+%2A6%29+%2B+%2A4+%3D+%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="(*1 + *3 + *6) + *4 = *0" class="latex" />. Now we try adding each of the piles with <img src="https://s0.wp.com/latex.php?latex=%2A4&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A4&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A4&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*4" class="latex" /> and see which one reduces the count. For example, <img src="https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A4+%3D+%2A5&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A4+%3D+%2A5&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A4+%3D+%2A5&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*1 + *4 = *5" class="latex" />, so we cannot move on the first pile, as we would need to add four stones to it instead of removing stones. <img src="https://s0.wp.com/latex.php?latex=%2A3+%2B+%2A4+%3D+%2A7&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A3+%2B+%2A4+%3D+%2A7&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A3+%2B+%2A4+%3D+%2A7&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*3 + *4 = *7" class="latex" />, so it doesn&#8217;t work either, but <img src="https://s0.wp.com/latex.php?latex=%2A6+%2B+%2A4+%3D+%2A2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A6+%2B+%2A4+%3D+%2A2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A6+%2B+%2A4+%3D+%2A2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*6 + *4 = *2" class="latex" />, so we can move in the third pile, reducing it to 2 stones. We can show that there always exists one such pile as long as the original value is not <img src="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*0" class="latex" />, so there&#8217;s always a winning strategy for the player not having <img src="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*0" class="latex" />.</p>
<p>Well, that was math heavy, wasn&#8217;t it? But you still need to be prepared. The third part, and the final part of the series for now, will walk you through the game induced by <a href="https://chaosatthesky.wordpress.com/2014/12/08/the-genius-by-a-skymins-mind-7/">my Monorail move</a> (put 1-3 tiles that are contiguous in a straight line and stuff).</p>
]]></html><thumbnail_url><![CDATA[https://chaosatthesky.files.wordpress.com/2015/01/nimber2.png?fit=440%2C330]]></thumbnail_url><thumbnail_width><![CDATA[300]]></thumbnail_width><thumbnail_height><![CDATA[330]]></thumbnail_height></oembed>