![]() |
Pick a stone, or two, .... or three
Here is a little two person game to play.
Start with a small pile of stones in the middle. Make that an odd number of stones, for example, 13. Players alternate turns taking some stones from the pile. They must take either 1, 2, or 3 stones in each turn. After the last stone is taken, the winner is the player that has an odd number of stones. question Can either player force a win? If so, what is the winning strategy? idea What happens if we start with a different (odd) number of stones? |
That's [size=18]EASY[/size]!The first one will win no matter how many stone there are.
First,pick one stone or three so that 4k stone are left.Then the 2nd one pick i stones(i=1,2or3).Just follow him until GAME OVER! I'm sorry I made a terrible mistake :( |
[quote="hyh1048576"]That's [size=18]EASY[/size]!The first one will win no matter how many stone there are.
First,pick one stone or three so that 4k stone are left.Then the 2nd one pick i stones(i=1,2or3).Just follow him until GAME OVER![/quote] Wrong, -- It's not that easy. If I understand you correctly, there are 13 stones and you take 1. That leaves 12. I take 3, leaving 9. (Right, Nick?) It's your turn. |
I think the strategy is to force the other player to pick when there are five stones remaining and have a even number of stones. If he picks three, you pick either one or two (whatever makes you odd). If he picks two, you pick either two or three (whatever makes you odd). If he picks one, you pick three and that should make you odd (that is my weakness in this tactic, but i havent thought it through entirely).
Just a thought, Matthes |
[size=18][b]I got it!!!!![/b][/size]
Suppose the number of stone is n Actually I prove that when n=5(mod8),the first one will lose the game.Otherwise the first one will win. PROVE:(by induction to m) We prove that: if you have picked 2a(a is integer) stones and there are (8m-3) or 8m stones left or you have picked (2a+1) stones and there are (8m-7) or (8m-4) stones left,you will lose the game,otherwise you will win the game. When m=1,just verify it. We use (x,O/E) means "x stones are left and an odd/even number of stones have been picked by you".And W/L means "you will win/lost in this position if it's your turn to pick".Realise that (2b+1,O/E) is L iff (2b,O/E),(2b-1,O/E),(2b-2,O/E) are all W,otherwise it's W.And (2b,O/E) is L iff (2b-1,E/O),(2b-2,E/O),(2b-3,E/O) are all W,otherwise,it's W.We can easily prove "when m=k+1, the proposition is correct" if "when m=k, the proposition is correct". PS: My English is poor and the signs are messy,but I hope every one understand 8) |
[quote="hyh1048576"][size=18][b]I got it!!!!![/b][/size]
Suppose the number of stone is n Actually I prove that when n=5(mod8),the first one will lose the game.Otherwise the first one will win. PROVE:(by induction to m)[/quote] [b]Spot on[/b] this time. Nick Glover was actually the first to present a solution shortly after I posted the problem. He sent his solution privately so as to give others a chance to solve it on their own. |
| All times are UTC. The time now is 16:16. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.