1
vote
1answer
51 views

Proving something about the Game Nim

I was reading Elementary Number Theory and Its Applications by Rosen wherein I came across the problem (located on Page 31 summarized below) Consider the Game Nim. In this game there exist a finite ...
0
votes
1answer
37 views

Game of coins with two players

Two Players play a game as follow : Given total N coins where x coins are of red color and y coins of blue color. Now Player1 selects a coin from the heap of coin and put it in a line on table. Then, ...
0
votes
0answers
111 views

Finding all number combination which XOR results to 0

Let's say I have a fixed list of numbers: $2, 3, 1, 2$ and I can reduce every number from $n$ to $0$, for instance: $1,3,1,2$ or $0,3,0,1$ etc. I am looking for all combinations of this sort, where ...
1
vote
1answer
208 views

How does this game work? (Number game: subtract prime)

Problem Alice and Bob play the following game.They choose a number N to play with.The runs are as follows : 1.Bob plays first and the two players alternate. 2.In his/her turn ,a ...