Home · Almanac · Projects · Websites · About · Contact
FranklinSeiberling.com
150 300
The cost of a thing is the amount of what I will call life which is required to be exchanged for it, immediately or in the long run.
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

550
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 357
357 = 0101100101

Flip 1—tails: 516 of 1024
Flip 2—heads: 250 of 516
Flip 3—tails: 122 of 250
Flip 4—heads: 68 of 122
Flip 5—heads: 30 of 68
Flip 6—tails: 16 of 30
Flip 7—tails: 7 of 16
Flip 8—heads: 6 of 7
Flip 9—tails: 4 of 6
Flip 10—heads: 3 of 4
  
 

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