All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Games
The odd number (Posted on 2004-04-20) Difficulty: 3 of 5
You and a friend play a game in which there are an odd number of rocks. You can take 1, 2 or 3 rocks on your turn (alternating turns with your opponent); when all rocks have been taken, the person who has taken an odd number of rocks is the winner.

If you are the first to go, what strategy should you use in order to have the best chance of winning?

See The Solution Submitted by Gamer    
Rating: 3.6667 (3 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re(2): strategy | Comment 4 of 14 |
(In reply to re: strategy by SilverKnight)

There is no winning strategy for the first player with 5 initial rocks.  Considered from the opponents view, that player has an even number of rocks (zero) and has left 5 for the first player.  That's a winning strategy for the non-first player.

Looked at the other way, if the first player took 1 he'd have an odd number and be leaving the opponent 4--not a winning strategy.  If he took 2 or 3, that would leave 3 or 2-- not part of any winning strategy regardless of odd or even holdings.


  Posted by Charlie on 2004-04-20 19:46:46
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (22)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information