Question: Suppose your computer (only) has a fair coin that can be flipped for an unbounded number of times. Prove that there does not exist any

 Suppose your computer (only) has a fair coin that can be

Suppose your computer (only) has a fair coin that can be flipped for an unbounded number of times. Prove that there does not exist any algorithm that always terminates in a finite number of steps and outputs an element from ,2,3,4,5 uniformly at random, i.e. the algorithm cannot output fail or anything outside the range 1,2,3, 4,5) Hint: Given any positive number k, and an algorithm that tosses k coins, what is the sample space of the outcomes? Use a counting argument to prove the statement

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!