Game of Alternating Bits: Is There a Winning Strategy?

  • Thread starter Thread starter Dragonfall
  • Start date Start date
  • Tags Tags
    Bits Game
Click For Summary

Homework Help Overview

The problem involves a game where two players alternately choose bits to form a binary string representing a real number between 0 and 1. The objective is to determine if either player has a winning strategy, with player 1 winning if the resulting number is rational and player 2 winning if it is irrational.

Discussion Character

  • Exploratory, Conceptual clarification, Problem interpretation

Approaches and Questions Raised

  • Some participants discuss strategies for player 2, suggesting that a specific bit string could prevent player 1 from achieving a rational outcome. Others question the relationship between repeating sequences and subsequences in the context of the game.

Discussion Status

The discussion is ongoing, with participants exploring various strategies and clarifying concepts related to repeating sequences. There is acknowledgment of a potential winning strategy for player 2, but no consensus has been reached on a definitive approach.

Contextual Notes

There is a constraint regarding the use of probabilistic strategies, as indicated by the original poster's professor. This has led to a focus on deterministic methods for player 2's strategy.

Dragonfall
Messages
1,023
Reaction score
5

Homework Statement



Player 1 starts by choosing 0 or 1, then player 2, repeat infinitely many times and stick a decimal point in front and see the bit string as a real number between 0 and 1. If it's rational player 1 wins, irrational player 2 wins. Does either player have a winning strategy?

The Attempt at a Solution



Player 2 has a winning strategy. He can simply randomly choose bits, and hence he wins with probability 1 (not hard to show). But my professor does not want a probabilistic algorithm. I'm drawing a blank.
 
Physics news on Phys.org
Pick a definite string of bits for player 2 that will sabotage any chance player 1 has of making the sequence repeat. If you have a repeating binary expansion, then every second bit is also a repeating sequence. Any ideas? The simpler the better.
 
It is not clear to me that a sequence is eventually repeating if and only if each subsequence (even and odd) is eventually repeating.
 
If the odds repeat with period m and the evens repeat with period n, then the whole expansion repeats with period at most 2*m*n. Compare a_i with a_{i+2*m*n}. Can you do the converse?
 
Last edited:
Yes, I got it. Thanks.
 

Similar threads

Replies
2
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 16 ·
Replies
16
Views
4K
Replies
7
Views
2K
  • · Replies 7 ·
Replies
7
Views
6K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K