10

I came across this riddle during a job interview and thought it was worth sharing with the community as I thought it was clever:

Suppose you are sitting at a perfectly round table with an adversary about to play a game. Next to each of you is an infinitely large bag of pennies. The goal of the game is to be the player who is able to put the last penny on the table. Pennies cannot be moved once placed and cannot be stacked on top of each other; also, players place 1 penny per turn. There is a strategy to win this game every time. Do you move first or second, and what is your strategy?

JMoravitz has provided the answer (hidden in spoilers) below in case you are frustrated!

Chris
  • 472
  • Or someone could post the answer in spoiler quotes. – Mike Pierce Nov 20 '15 at 15:10
  • 8
  • The moves of the game are not defined. 2. I believe this site is for questions to which you don't know the answer. Check out puzzling SE. 3. Is it important that the table is perfectly round? 4. While the bag is infinitely large, what about the number of pennies it has?
  • – Aravind Nov 20 '15 at 15:13
  • 1
    got it! For the answer,write your name on a $20 bill and send it to me – DanielWainfleet Nov 20 '15 at 15:13
  • @Aravind if it is the same problem I remember, presumably, each players' turn they are allowed to place exactly one penny at any valid location. Yes, it does matter that the table is a circle due to symmetry of the moves, and yes there are enough pennies in each bag sufficient to completely cover the table with no legal moves left. – JMoravitz Nov 20 '15 at 15:15
  • @mvw it doesn't in his version, but you'd have to admit that if you are allowed to win on turn one that it wouldn't be a very interesting problem. – JMoravitz Nov 20 '15 at 15:16
  • 1
    Sorry I forgot that piece (I edited the post). There are actually other shapes that would work besides a circle. – Chris Nov 20 '15 at 15:17
  • 1
    Is the bag infinitely large or there is a countable collection of pennies? – AlvinL Nov 20 '15 at 15:23
  • 4
    This is a classic puzzle, known even on stackexchange: searching game table pennies found http://math.stackexchange.com/questions/34911/game-about-placing-pennies-on-table – Ethan Bolker Nov 20 '15 at 15:23
  • Please feel free to edit it to make it more clear! – Chris Nov 20 '15 at 15:28
  • If the table is sufficiently level, could you also balance pennies on their edges? – Darrel Hoffman Nov 20 '15 at 17:44
  • @Burn-Man: How about a slight change / new question: what if you disallow Player 1 from playing in center ? Does there still exist a solution for either player to guarantee a win? (I didn't want to "steal" your question by starting a new one .. so just suggesting a new one here ) :) – Ditto Nov 20 '15 at 20:40
  • @Ditto: I would doubt that there is a guaranteed win with that restriction but its a interesting thought! My only thought is for player 2 to take the middle and use a different rotational symmetry based off the first two moves of player 1. – Chris Nov 20 '15 at 20:59
  • I had the very exact interview question! I wonder what your venture was :D! – gented Nov 20 '15 at 22:25
  • 1
    I first read about this in a Martin Gardner column. His columns should be required reading for everyone interested in math. – Cheerful Parsnip Nov 21 '15 at 00:22