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

 The odd number (Posted on 2004-04-20)
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 APPROVED | Comment 3 of 14 |
(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.

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

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

 Search: Search body:
Forums (0)