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 1015 1015 = 1111110111

Flip 1—heads: 520 of 1024 Flip 2—heads: 259 of 520 Flip 3—heads: 128 of 259 Flip 4—heads: 64 of 128 Flip 5—heads: 34 of 64 Flip 6—heads: 20 of 34 Flip 7—tails: 11 of 20 Flip 8—heads: 7 of 11 Flip 9—heads: 3 of 7 Flip 10—heads: 1 of 3

<?php
ini_set( 'error_reporting', E_ERROR ) ;
mt_srand( intval(substr(microtime(),4,3)) + 1 ) ;
$sd = mt_rand( 50, 200 ) ;
$im = $_REQUEST[ 'im' ] ;
?>
<div style="border: 1px solid #C60000 ; background-color: #DEDEFF ; margin: 20px ; " >
<img src="https://franklinseiberling.com/img/transparentHorizontal.png" alt="550" width="550" height="1" >
<div style="font: 14px Verdana ; margin: 20px ; " >
<b>Coin Toss Test</b><br>
<p style="font: 11px Verdana ; color: #606060 ; " >
<br>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.<br><br>
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.<br> </p>