Jump to content
BrainDen.com - Brain Teasers
  • 0


bonanova
 Share

Question

Here's a simple game between two players.

Player A picks an integer p of at least four digits, like 1739.

Player B picks an integer n of no more than two digits, like 23.

Play proceeds as follows.

Player A says a number from 1 to n, inclusive, like 16.

Player B adds to it a number from 1 to n, inclusive, like 9, and says 25.

Players alternate turns, adding to the running total numbers from 1 to n, inclusive.

The player who says the number p, in this case 1739, wins the game.

You can be Player A or B.

Which do you choose, and what is your strategy?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

I would like to be player A. For p, I would choose a prime number of at

least four digits. Now, because my number is prime, it is not divisible

by n+1. Let k=p modulo (n+1). k is non-zero. Then, I will choose k

as my first pick. Whatever number B chooses will make the running total

modulo (n+1) different from k. In subsequent moves, I will always be able

to bring the running total modulo (n+1) back to k, eventually getting to p

for the win.

Edited by superprismatic
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...