Abstract

Recently, Gabriel Nivasch got the following remarkable formula for the Sprague–Grundy function of game Euclid: g + ( x , y ) = ⌊ | x / y - y / x | ⌋ for all integers x , y ⩾ 1 . We consider the corresponding misere game and show that its Sprague–Grundy function g - ( x , y ) is equal to g + ( x , y ) for all positions ( x , y ) , except for the case when ( x , y ) or ( y , x ) equals ( kF i , kF i + 1 ) , where F i is the ith Fibonacci number and k is a positive integer. It is easy to see that these exceptional Fibonacci positions are exactly those in which all further moves in the game are forced (unique) and hence, the results of the normal and misere versions are opposite; in other words, for these positions g + and g - take values 0 and 1 so that g - = 1 - g + = ( - 1 ) i + 1 + g + . Let us note that the good old game of Nim has similar property: if there is at most one bean in each pile then all further moves are forced. Hence, in these forced positions the results of the normal and misere versions are opposite, while for all other positions they are the same, as it was proved by Charles Bouton in 1901. Respectively, in the forced positions g + and g - take values 0 and 1 so that g - = 1 - g + = ( - 1 ) i + 1 + g + , where i is the number of non-empty piles, while in all other positions g + ≡ g - .

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call