Can you Nim?

It is your turn. What has to be your choice to guarantee a win?

Assume your opposition is quite knowledgeable in this game.

None of the others is correct Take 1 penny from C Take 2 pennies from A Take 3 pennies from B

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Venture Hi
Sep 14, 2014

Convert each into its corresponding binary form A = 3 = 2+1, B = 4 = 4+0+0, and C = 5 = 4+0+1. Notice that the 4's and the 1's have pairs but not the 2's. The winning strategy in NIM is to balance the pairs thus forcing the opponent to unbalance it. So to balance this situation would be to remove 2 from A .

Taking 2 from A is not the same as taking 3 from B because taking 3 from B would leave all unbalanced pairs - i.e., what would be left are one 4, one 2 and three 1's.

http://www.archimedes-lab.org/game nim/play nim_game.html

Venture HI - 6 years, 9 months ago
Guiseppi Butel
Jul 4, 2014

The solution involves binary notation.

Someone disputed my answer by saying "Taking 2 from a is equal to taking 3 from b".

I challenge this assertion.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...