Combinatorics + Game Theory Puzzle


Source: Random search on http://math.stackexchange.com/

Problem:

Two players A and B play the following game:

Start with the set S of the first 25 natural numbers: S={1,2,…,25}.

Player A first picks an even number x_0 and removes it from S: We have S:=S−{x_0}.

Then they take turns (starting with B) picking a number x_n∈S which is either divisible by x_n-1 or divides x_n-1 and removing it from S.

The player who can not find a number in S which is a multiple or is divisible by the previous number looses.

Which player has the winning strategy and what is it?

Comments

  1. This comment has been removed by the author.

    Reply Delete
  2. B wins. Pair up the numbers in 1...25, except for 1 and primes more than 11, as below:

    (2,14) (3,15)
    (4,16) (5,25)
    (6,12) (7,21)
    (8,24) (9,18)
    (10,20) (11,22)

    When A chooses one of the above numbers, B responds with the other in its pair, which will ensure B always has a number to choose. A will eventually have to pick 1, to which B responds with 23 for the win.

    Reply Delete
  3. A wins. He chooses 16 on his first chance, and on his next he chooses a multiple of 3. After a few moves, B will be forced to choose 1, when A chooses 23

    Reply Delete
    Replies
    1. Certainly B wins as pointed out by Mike Earnest, but the pairs of number as response for B is not unique.
      Certain pairs are uniquely determined. They are:
      (22,11); (18,9); (2,14); (10,20); (5,25); (3,15); (21,7)

      They have also been pointed out by Mike. But for other the following three sets of possibility are there:

      1st : (4,16); (8,24); (6,12) % Same as that pointed by mike
      2nd : (8,16); (4,24); (6,12)
      3rd : (8,16); (4,12); (6,24)

      so say if A chooses 24, then B can respond with 8, 6 or 4.

      The substantive question is if n is any natural number, is there always a wining strategy for B?

      Delete
    2. if n=27, then A has a winning strategy,

      A will choose 18. then the remaining numbers are paired thus:

      (2,14) (3,15)
      (4,16) (5,25)
      (6,12) (7,21)
      (8,24) (9,27)
      (10,20)(11,22)
      (13,26)

      unpaired nos. are {1,17,19,23}

      A will follow the strategy of completing pair. ultimately B will choose 1, then A will choose 23.

      Delete
  4. Note that B starts. I claim that B wins.
    B chooses 23, A has to choose 1
    B chooses 17, A has nothing to choose!

    Reply Delete
    Replies
    1. I think that u have to start with a even number

      Delete

Post a Comment

[フレーム]

Popular posts from this blog

Buying Dimsums

Source: Alok Goyal (Stellaris VP, Ex-Helion VC) puzzle blog Problem: A fast food restaurant sells dimsums in boxes of 7 and 3. What’s the greatest number of dimsums a person cannot buy. Generalize it for p and q where p and q are relatively prime. I loved the puzzle. Hope you enjoy it too.

Polya's Urn Problem

Puzzle: There are two urns with one ball each. Each of subsequent n-2 balls is placed into one of these urns, with probability proportional to the number of balls already in that urn. What is the expected number of balls in the smaller sized urn? Source: P. Winkler's Puzzles book. (Chapter: Probability). Solution: Highlight the part between the * symbols for the answer. * This problem can be reformulated as the following problem. Suppose I have a stack of black cards and one red card. Initially I take red card in my hand. Now I add black cards randomly between any two cards (so, initially its either above or below red). Note that the probability that I add the card above the red card, when x-1 is the number of cards above red and y-1 is the number of cards below red is x/(x+y). Let the problem be if red card is dividing the black cards into two sets, what is the expected number of black cards in the smaller section. So, we see that the two problems are equivalent. No...

(Advanced) Cheryl's Birthday Puzzle

Source: Sent to me by Prateek Chandra Jha (IIT Bombay) Problem: This problem is inspired by the Cheryl's Birthday Puzzle ( FB Post , Guardian Link ). Paul, Sam and Dean are assigned the task of figuring out two numbers. They get the following information: Both numbers are integers between (including) 1 and 1000 Both numbers may also be identical. Paul is told the product of the two numbers, Sam the sum and Dean the difference. After receiving their number, the following conversation takes place: Paul: I do not know the two numbers. Sam: You did not have to tell me that, I already knew that. Paul: Then I now know the two numbers. Sam: I also know them. Dean: I do not know the two numbers. I can only guess one which may probably be correct but I am not sure. Paul: I know which one you are assuming but it is incorrect. Dean: Ok, I also know the two numbers. What are the two numbers? Disclaimer: Its not a puzzle for 14-15 year olds like Cheryl's