View Single Post
  #1  
Old 04-30-2012, 11:54 AM
raaaid's Avatar
raaaid raaaid is offline
Approved Member
 
Join Date: Apr 2008
Posts: 2,329
Default on a random string of digits number 123 appears every 1000 digits, 221 every995digits

i learnt small basic to study probability in order to find a way to beat the casino and i made this interesting disocovery

if you take a long string of decimal numbers the string 123 will apeear every 1000 digits while the 221 every 995 digits

this small basic program proves it



start:
TextWindow.WriteLine( digitcount/twotwoone)
a= Math.GetRandomNumber(10)
digitcount= digitcount+1
If a=2 Then
Goto seconddigit
Else
Goto start
EndIf
seconddigit:
a= Math.GetRandomNumber(10)
digitcount= digitcount+1
If a=2 Then
Goto thirddigit
Else
Goto start
EndIf
thirddigit:
a= Math.GetRandomNumber(10)
digitcount= digitcount+1
If a=2 Then
Goto thirddigit
EndIf
If a=1 Then
Goto bingo
EndIf
If a<>1 And a<>2 Then
Goto start
EndIf
bingo:
twotwoone= twotwoone+1
Goto start


so for example in the roulete is much more likely to appear the combination 2nd,2nd,1st column than 1st,2nd,3rd column

i love these kind of problems either they keep you entertained for the rest of your life or hav a huge victory
__________________
http://i40.photobucket.com/albums/e222/raaaid/fmkld-1.jpg2.4ghz dual core cpu
3gb ram
ASUS Radeon EAH4650 DI - 1 GB GDDR2

I PREFER TO LOVE WITHOUT BEING LOVED THAT NOT LOVE AT ALL
Reply With Quote