by greenbay20 · 7y ago · 0 comments
If I was the Player 1 in this case, and was trying to prevent Player 2 from guessing with a greater than 50% probability, I would use this method:
Pick a random 100 digit number N (using a random number generator to pick 100 digits in order).
Flip a coin. Heads, the second number is N - 1. Tails, it is N + 1.
I would imagine you could slightly beat 50%, but the percentage would approach 50% as you added more digits to your initial number. It would probably be close to unmeasurable at 100 digits (i.e. you couldn't tell if you were doing better than 50% or not).
Practically, though, you could get close enough to 50% that it would be immeasurable by sampling.