Hacker News new | ask | show | jobs
by impendia 5350 days ago
You have a coin which is weighted, so it comes up heads 70% of the time and tails only 30%. Or worse yet, perhaps you don't even know what frequency it comes up heads.

Given such a coin, and nothing else, how can you simulate a fair single coin flip?