Roulette.math
1r. Some data for the casino game of Roulette. Both single 0 and double 0 Roulette wheels.
1st up the so called 'law of the 3rd'
meaning how many numbers have shown/not shown up in 37 or 38 spins (or X number of spins), depending on the number of Roulette wheel numbers.
The R code is for the unique/not hit numbers in X spins
(a simple coupon collecting type problem with the twist of the distribution of how many coupons are collected after X draws and their probabilities).
example call: cc.draws (number of coupons, draws). Number of coupons should be between 2 and 800 to avoid an error during run.
very small values (or less, at least) will show 1 instead of less than 1. May change that in the future.
Looking for the 1st repeat in a series of spins at the Roulette wheel?
See the Birthday paradox page at this site for the R code module.
*****
2 sheets for unique numbers for 1 to 300 spins, repeats and the average number of Hits for a number in X spins. Uses binomial probability function in Excel.
1st sheet is for 37 number 0 Roulette game
2nd sheet here is for the 38 number 00 Roulette game.