This is a heavily interactive web application, and JavaScript is required. Simple HTML interfaces are possible, but that is not what this is.
Post
Clément Canonne
ccanonne.github.io
did:plc:ac6qioenkpl3jmmnib3tpbhb
Turns out, yes. (see: Bernoulli factories)
Perhaps more "fun", for linear functions of p, there's a ~simple way, tossing the original 🪙 very few times.
M. Huber. “Nearly Optimal Bernoulli Factories for Linear Functions,” Combinatorics, Probability and Computing 25(4), 2016. arxiv.org/abs/1308.1562
https://arxiv.org/abs/1308.1562v2
2025-06-15T12:44:58.279Z