Game of Alternating Bits: Is There a Winning Strategy?

  • Thread starter Thread starter Dragonfall
  • Start date Start date
  • Tags Tags
    Bits Game
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
4 replies · 2K views
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: