English
Related papers

Related papers: Simulating a die roll by flipping two coins

200 papers

When a thick cylindrical coin is tossed in the air and lands without bouncing on an inelastic substrate, it ends up on its face or its side. We account for the rigid body dynamics of spin and precession and calculate the probability…

Classical Physics · Physics 2011-09-20 Ee Hou Yong , L. Mahadevan

Two possibly unfair $n$-sided dice, both labelled $1, 2, \ldots, n$, are rolled, and the sum is recorded. How should the dice's sides be weighted so that the resulting sum is closest to the uniform distribution on $2, 3, \ldots, 2n$? We…

History and Overview · Mathematics 2023-08-03 Shamil Asgarli , Michael Hartglass , Daniel Ostrov , Byron Walden

We derive a recursive formula for the moments of the number of flips using a possibly biased coin to produce a prescribed finite binary string $S$ when $S$ is either a run of heads or a run of heads followed by a tails. Our recursive…

Combinatorics · Mathematics 2026-05-20 Jia Huang

Coin flipping is a cryptographic primitive in which two distrustful parties wish to generate a random bit in order to choose between two alternatives. This task is impossible to realize when it relies solely on the asynchronous exchange of…

We consider a Polya urn, started with b black and w white balls, where b>w. We compute the probability that there are ever the same number of black and white balls in the urn, and show that it is twice the probability of getting no more…

Probability · Mathematics 2012-09-17 Timothy C. Wallstrom

The toss of a coin is usually regarded as the epitome of randomness, and has been used for ages as a means to resolve disputes in a simple, fair way. Perhaps as ancient as consulting objects such as coins and dice is the art of maliciously…

Data Structures and Algorithms · Computer Science 2014-03-11 Vinícius Gusmão Pereira de Sá , Celina Miraglia Herrera de Figueiredo

We introduce relativistic multi-party biased die rolling protocols, generalizing coin flipping to $M \geq 2$ parties and to $N \geq 2$ outcomes for any chosen outcome biases, and show them unconditionally secure. Our results prove that the…

Quantum Physics · Physics 2021-09-13 Damián Pitalúa-García

We study a game in which one keeps flipping a coin until a given finite string of heads and tails occurs. We find the expected number of coin flips to end the game when the ending string consists of at most four maximal runs of heads or…

Combinatorics · Mathematics 2025-01-31 Jia Huang

In this paper, we present a universal scheme for transforming an arbitrary algorithm for biased 2-face coins to generate random bits from the general source of an m-sided die, hence enabling the application of existing algorithms to general…

Information Theory · Computer Science 2012-09-05 Hongchao Zhou , Jehoshua Bruck

Consider the following probability puzzle: A fair coin is flipped n times. For each HT in the resulting sequence, Bob gets a point, and for each HH Alice gets a point. Who is more likely to win? We provide a proof that Bob wins more often…

Combinatorics · Mathematics 2024-05-28 Simon Segert

Alon and Malinovsky recently proved that it takes on average $2.42849\ldots$ rolls of fair six-sided dice until the first time the total sum of all rolls arrives at a prime. Naturally, one may extend the scenario to dice with a different…

Number Theory · Mathematics 2023-06-27 Shane Chern

Noga Alon and Yaakov Malinovsky recently studied the following game: you start at 0, and keep rolling a fair standard die, and add the outcomes until the sum happens to be prime. We generalize this in several ways, illustrating the power of…

Combinatorics · Mathematics 2023-02-02 Lucy Martinez , Doron Zeilberger

We consider a two player simultaneous-move game where the two players each select any permissible $n$-sided die for a fixed integer $n$. A player wins if the outcome of his roll is greater than that of his opponent. Remarkably, for $n>3$,…

Probability · Mathematics 2018-10-23 Artem Hulko , Mark Whitmeyer

We study the win rate $R_{N_d}/N_d$ of a biased simple random walk $S_n$ on $\mathbb{Z}$ at the first-passage time $N_d=\inf\{n\ge 0:S_n=d\}$, with $p=P[X_1=+1]\in[1/2,1)$. Using generating-function techniques and integral representations,…

Probability · Mathematics 2025-12-29 F. Thomas Bruss , Davy Paindaveine

We construct irreducible balanced non-transitive sets of $n$-sided dice for any positive integer $n$, which was raised in \cite[Question 5.2]{SS17}. One main tool of the construction is to study so-called fair sets of dice. Furthermore, we…

Probability · Mathematics 2020-11-11 Injo Hur , Yeansu Kim

Tossing a coin is the most elementary Monte Carlo experiment. In a computer the coin is replaced by a pseudo random number generator. It can be shown analytically and by exact enumerations that popular random number generators are not…

Statistical Mechanics · Physics 2007-05-23 Heiko Bauke , Stephan Mertens

What is the number of rolls of fair 6-sided dice until the first time the total sum of all rolls is a prime? We compute the expectation and the variance of this random variable up to an additive error of less than 10^{-4}. This is a…

Probability · Mathematics 2023-01-25 Noga Alon , Yaakov Malinovsky

Suppose we have $n$ dice, each with $s$ faces (assume $s\geq n$). On the first turn, roll all of them, and remove from play those that rolled an $n$. Roll all of the remaining dice. In general, if at a certain turn you are left with $k$…

The prediction of the final state probabilities of a general cuboid randomly thrown onto a surface is a problem that naturally arises in the minds of men and women familiar with regular cubic dice and the basic concepts of probability.…

Classical Physics · Physics 2014-07-24 G. A. T. Pender , M. Uhrin

We consider systems of "pinned balls," i.e., balls that have fixed positions and pseudo-velocities. Pseudo-velocities change according to the same rules as those for velocities of totally elastic collisions between moving balls. The times…

Dynamical Systems · Mathematics 2018-07-25 Jayadev S. Athreya , Krzysztof Burdzy , Mauricio Duarte