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.)
Solution re(2): strategy APPROVED | Comment 3 of 12 |
(In reply to re: strategy by SilverKnight)

Charlie's strategy works for any number of rocks fitting the formula 8*m+k k=1,3 and 7.

If k=5 the person moving 1st loses provided the oppoonent follows Ch's strategy.

If the initial odd number is randomely chosen, better be the guy who moves first.

ady
(Previous post corrected- k=4 was erroneously considered...). Initial quantity is ODD..

ady

Edited on April 21, 2004, 12:14 am
  Posted by Ady TZIDON on 2004-04-20 17:17:56

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 (3)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

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