Home · Almanac · Projects · Websites · About · Contact
150 300
Beware of all enterprises that require a new set of clothes.
Henry David Thoreau

Fool's Niche

Future value, single payment, compounded

No-nonsense BMI calculator

Time-dependent functions


Gocha Sutra Inspirational Quote


Experiment in music generation

Random Matrix

Coin Toss Test

In a room containing 1024 people, what are the odds that at least one person in the room could correctly call 10 coin tosses in a row? Here are some random trails for that scenario. After each flip all the winners go on to the next round.

For this purpose, a number is selected at random between 0 and 1023. That number is converted to binary, each binary digit representing one of the ten coin flips, zero being tails and one being heads. Thus, all the coin flips for any of the 1024 possible numbers are predetermined, though our 1024 individuals in the room will be flipping their coins without knowing the outcome. The process of flipping the coins proceeds left to right using the generated binary number. If the left-most digit is zero, then the first flip will have been determined to be tails; if one, the first flip will be heads. After each flip all the winners go on to the next round. The program takes the number of individuals left from the last previous round and performs a "flip" that many times, producing a one or zero at random for each. If the binary digit being tested in our 10-digit binary number is one then all the individuals who had been assigned a one will win in that round. There may or may not be individuals left standing after the tenth coin flip.

Trial for 759
759 = 1011110111

Flip 1—heads: 501 of 1024
Flip 2—tails: 240 of 501
Flip 3—heads: 117 of 240
Flip 4—heads: 52 of 117
Flip 5—heads: 18 of 52
Flip 6—heads: 5 of 18
Flip 7—tails: 1 of 5
Flip 8—heads: 0 of 1
Flip 9—heads: 0 of 0
Flip 10—heads: 0 of 0

Another JustWord website, © 2024 · Who's Who · Contact