MHB Pebble Challenge: Who Wins & Why?

  • Thread starter Thread starter sadsadsadsa
  • Start date Start date
  • Tags Tags
    Challenge
Click For Summary
SUMMARY

The Pebble Challenge involves two players, A and B, who alternately remove 1 to 5 pebbles from a total of 100. Player A moves first, and the objective is to be the player who takes the last pebble to win. If both players play optimally, Player A can guarantee a win by ensuring that after their turn, the number of remaining pebbles is a multiple of 6. Conversely, if the player who takes the last pebble loses, Player B can secure victory by maintaining the same strategy, forcing Player A into a losing position.

PREREQUISITES
  • Understanding of combinatorial game theory
  • Familiarity with optimal strategy concepts
  • Knowledge of winning and losing positions in games
  • Basic arithmetic for calculating moves
NEXT STEPS
  • Study combinatorial game theory fundamentals
  • Learn about winning strategies in similar games
  • Explore the concept of Nim games and their strategies
  • Analyze game tree structures for optimal decision-making
USEFUL FOR

Game theorists, mathematicians, competitive gamers, and anyone interested in strategic decision-making in turn-based games.

sadsadsadsa
Messages
15
Reaction score
0
There are 100 pebbles on the table. There are two players, A and B, who move alternatively. Player A moves first. The rules of the game are the same for both players: at each move they can remove one, two, three, four of five pebbles. The winner is the player who takes the last pebble. Who is guaranteed to win provided that he plays properly? Convince me why you think this. Same question if the one who takes the last pebble loses.
 
Mathematics news on Phys.org
sadsadsadsa said:
There are 100 pebbles on the table. There are two players, A and B, who move alternatively. Player A moves first. The rules of the game are the same for both players: at each move they can remove one, two, three, four of five pebbles. The winner is the player who takes the last pebble. Who is guaranteed to win provided that he plays properly? Convince me why you think this. Same question if the one who takes the last pebble loses.

Suppose we start the game with 5 or less pebbles, then A can take them all and wins.
When we start with 6 pebbles, A has to take one, but can't take them all, so the next player will win.
With 7-11 pebbles, A can reduce the number to 6, bringing B to a position that he will be forced to let A win.

Generally, the winning strategy is to reduce the pebbles to a multiple of 6.
Then, when the pebbles are down to 6, the opponent will be forced to let you win.
When we start with 100 pebbles, A should start with 4 pebbles, guaranteeing his win (since $96 = 16\times 6$).

When the one who takes the last pebble loses, we want to end at 1 pebble.
The winning strategy is then to reduce to a multiple of 6 plus 1.
So A should start with 3 pebbles (since $97 = 16\times 6 + 1$).
 

Similar threads

  • · Replies 195 ·
7
Replies
195
Views
24K
  • · Replies 1 ·
Replies
1
Views
7K
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
12
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K