Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > Pilot's Lounge

Pilot's Lounge Members meetup

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:46 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.