Deterministic Algorithm for Random Number Generation Using Coin Flips
- From: david bandel <sharpnova@xxxxxxxxx>
- Date: Thu, 25 Jun 2009 00:24:35 -0700 (PDT)
Or a subset of the general problem.
Is there some algorithm, using only coin flips (and assuming that the
coin only lands on either face with exactly 0.5 probability) to
generate an integer on the interval [1,3]. Such that:
-all three values have equal chance
-the algorithm can guarantee that there is 0 probability that the
algorithm will run forever.
For example, I could flip all three coins until they didn't all match.
At this point, the differing coin (be it coin #1, coin #2, or coin #3
(or assuming the coins were not labeled: toss #1, toss #2, or toss
#3) ) would correspond to our answer.
But whenever you toss the three coins there is a 1/4 chance that they
will all be the same.
If you toss them all n times, there will be a 1/4^n chance that they
all matched every toss. 1/4^n will never be 0 for a finite amount of
tosses.
I suspect that this algorithm does not exist. Would there be a way to
prove it?
.
- Follow-Ups:
- Re: Deterministic Algorithm for Random Number Generation Using Coin Flips
- From: rossum
- Re: Deterministic Algorithm for Random Number Generation Using Coin Flips
- From: Justintruth
- Re: Deterministic Algorithm for Random Number Generation Using Coin Flips
- From: David C . Ullrich
- Re: Deterministic Algorithm for Random Number Generation Using Coin Flips
- From: Ray Vickson
- Re: Deterministic Algorithm for Random Number Generation Using Coin Flips
- Prev by Date: Re: Conjecture Prime
- Next by Date: dyslogica
- Previous by thread: algebra about finite group theory
- Next by thread: Re: Deterministic Algorithm for Random Number Generation Using Coin Flips
- Index(es):
Relevant Pages
|