Reach 100

Logic Level 2

Dan and Sam play a game in which the first to start says the number 1, the next says 2, and the one who's next must say an integer strictly between the previous number and twice of it (not including the endpoints).

For example, Dan begins saying 1, then Sam says 2. Dan's options are now all integers between 2 and 4, exclusive. But there's only one such option, 3, so Dan is forced to say 3. Sam's options are now between 3 and 6, which are 4 and 5.

The game finishes when someone says 100 or greater; that player wins.

If Dan begins, who will win, assuming both players play optimally?


This is the first problem of the set Winning Strategies .
Sam Both Dan Neither Dimitri

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Easily we can deduce that the one who says 50 50 , wins, as the next can say at least 51 51 and at most 99 99 , and then, the one who said 50 50 says 100 100 and wins. Analyzing backwards the numbers that winner must have told, we have found a winner position: if someone says 50 50 , will win. So, now the problem is who will say 50 50 first, that is, who has that winner strategy? Again, we can easily deduce that the one who says 25 25 , wins; and, who's the first one to say 25 25 ? The one who says 12 12 , therefore, the one who says 6 6 , then, the one who says 3 3 , thus, the one who says 1 1 ... but Dan begins with the number 1 1 ! Hence, he will always win playing optimally, as follows:

Dan begins saying 1 1 , then Sam says 2 2 , then Dan says 3 3 , then Sam says 4 4 or 5 5 and, after this, Dan must say the double of the number he said in his previous turn; that is, 6 6 , then 12 12 . At this point, he should not say 24 24 , because he wants to reach 100 100 before Sam, and we had concluded that, in order to win, he must say the half of the goal number before his opponent, and so the half of the half, and so on. Thus, he says 25 25 , then Sam says any number between 25 25 and 50 50 , then Dan replies 50 50 (like bounding the possible numbers that Sam can say), then Sam says a number, but it does not matter, Dan says 100 100 !

I will post a note analyzing the general game and its possible situations and variations.

I cannot believe that the answer is not Dimitri.

Shourya Pandey - 4 years, 1 month ago

Log in to reply

1 year and still funny tho

Mateo Matijasevick - 4 years, 1 month ago

I said Dan but it said it was incorrect

Angus LONG - 3 years, 2 months ago

I actually laid out the deterministic map for 1-50 which all even numbers are losing position and odd numbers are winning position

Tony Yin - 1 year, 6 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...