Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > General Gambling > Probability
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-26-2006, 05:16 PM
iversonian iversonian is offline
Senior Member
 
Join Date: Sep 2003
Posts: 367
Default Randomizing with a coin

You are playing rock paper scissors, and you want to choose which to throw using a coin. You want a probability distribution of 1/3 for each type.

Is it possible to devise an algorithm for choosing what to throw based on a series of coin flips such that you are guaranteed to have a result in a finite number of coin flips? If not, prove. If so, what is the smallest number of coin flips in which you can guarantee a result that has a perfect 1/3 distribution for each type.

e.g. If you flip twice, where head-head = rock, head-tail = paper, tail-head = scissors, and tail-tail = redo, then it may never terminate.
Reply With Quote
  #2  
Old 10-26-2006, 05:22 PM
TomCollins TomCollins is offline
Senior Member
 
Join Date: Jul 2003
Location: Approving of Iron\'s Moderation
Posts: 7,517
Default Re: Randomizing with a coin

[ QUOTE ]
You are playing rock paper scissors, and you want to choose which to throw using a coin. You want a probability distribution of 1/3 for each type.

Is it possible to devise an algorithm for choosing what to throw based on a series of coin flips such that you are guaranteed to have a result in a finite number of coin flips? If not, prove. If so, what is the smallest number of coin flips in which you can guarantee a result that has a perfect 1/3 distribution for each type.

e.g. If you flip twice, where head-head = rock, head-tail = paper, tail-head = scissors, and tail-tail = redo, then it may never terminate.

[/ QUOTE ]

It's impossible to guarantee it in a finite number of coin flips.
Reply With Quote
  #3  
Old 10-26-2006, 06:04 PM
iversonian iversonian is offline
Senior Member
 
Join Date: Sep 2003
Posts: 367
Default Re: Randomizing with a coin

Care to attempt a proof?
Reply With Quote
  #4  
Old 10-26-2006, 06:08 PM
TomCollins TomCollins is offline
Senior Member
 
Join Date: Jul 2003
Location: Approving of Iron\'s Moderation
Posts: 7,517
Default Re: Randomizing with a coin

Not really. But you cannot represent 1/3 exactly in binary, and all coin flips can be represented in binary, so you have a problem.
Reply With Quote
  #5  
Old 10-26-2006, 07:23 PM
alThor alThor is offline
Senior Member
 
Join Date: Mar 2004
Location: not Vegas
Posts: 192
Default Re: Randomizing with a coin

[ QUOTE ]
Not really. But you cannot represent 1/3 exactly in binary, and all coin flips can be represented in binary, so you have a problem.

[/ QUOTE ]

Well, you tried not to prove it, but then you accidentally proved it (essentially). Better luck not proving things next time!
Reply With Quote
  #6  
Old 10-27-2006, 11:45 AM
TomCollins TomCollins is offline
Senior Member
 
Join Date: Jul 2003
Location: Approving of Iron\'s Moderation
Posts: 7,517
Default Re: Randomizing with a coin

[ QUOTE ]
[ QUOTE ]
Not really. But you cannot represent 1/3 exactly in binary, and all coin flips can be represented in binary, so you have a problem.

[/ QUOTE ]

Well, you tried not to prove it, but then you accidentally proved it (essentially). Better luck not proving things next time!

[/ QUOTE ]

I didn't prove why its impossible to represent it in binary though.
Reply With Quote
  #7  
Old 10-27-2006, 01:21 AM
UATrewqaz UATrewqaz is offline
Senior Member
 
Join Date: Feb 2005
Location: Atlanta
Posts: 5,542
Default Re: Randomizing with a coin

If this was a question looking for an actual system, not just the math, just roll a fair die (1-2: Rock, 3-4: Paper, 5-6: Scissors)
Reply With Quote
  #8  
Old 10-27-2006, 05:26 PM
BruceZ BruceZ is offline
Senior Member
 
Join Date: Sep 2002
Posts: 4,078
Default Re: Randomizing with a coin

Actually it's easy. Just take a marker and divide each side into three 120 degree sectors. [img]/images/graemlins/laugh.gif[/img]

For the methods that depend on heads and tails, worrying about the game never terminating makes no more sense than worrying about the coin landing on its edge. I suggest flipping the coin until it comes up heads. Then:

Rock: First head is on an even numbered flip.

Paper: First head is on an odd numbered flip, and the next flip is also heads.

Scissors: First head is on an odd numbered flip, and the next flip is tails.
Reply With Quote
  #9  
Old 10-27-2006, 05:46 PM
AlienBoy AlienBoy is offline
Senior Member
 
Join Date: Feb 2006
Location: Poker Happens...
Posts: 2,264
Default Re: Randomizing with a coin

[ QUOTE ]
Actually it's easy. Just take a marker and divide each side into three 120 degree sectors. [img]/images/graemlins/laugh.gif[/img]

For the methods that depend on heads and tails, worrying about the game never terminating makes no more sense than worrying about the coin landing on its edge. I suggest flipping the coin until it comes up heads. Then:

Rock: First head is on an even numbered flip.

Paper: First head is on an odd numbered flip, and the next flip is also heads.

Scissors: First head is on an odd numbered flip, and the next flip is tails.

[/ QUOTE ]





MMMmmmmmmmmm.


Then 50% will be ROCK, and paper or scissors will be 25% each.

AB
Reply With Quote
  #10  
Old 10-27-2006, 05:51 PM
AlienBoy AlienBoy is offline
Senior Member
 
Join Date: Feb 2006
Location: Poker Happens...
Posts: 2,264
Default Re: Randomizing with a coin

It can be done with double flips.

H=Head T=Tail

If the next TWO flips are:

HH = ROCK

HT = PAPER

TH = SCISSORS

TT = NULL (discarded result)


AB
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:22 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.