No. Care must be take in finding a quality "random" generator.
There was a case where a gambler found that the generator, of some video machine, was seeded by the current time, and the machines were turned on at the same time everyday. So he found the sequence and got a bunch of cash.
Another similar case I believe where the machines used a static string of numbers and so someone found the sequence, used it, and told others how to use it.
MosaicFuneral
Posting Virtuoso
1,691 posts since Nov 2008
Reputation Points: 888
Solved Threads: 116
Well , I believe that , Random Numbers arent really random at all, Even if you ask a human to tell a sequence of random numbers they are again dependant on the mentality of a human being i mean his likes or dislikes , Date of Importance to him, What number he feels is lucky and so on.
So How can we say that a random number is actually random. When we have many different constraints added to it.
For Example In the Game Bingo - each time a number is removed from the total set. The Probability of the other numbers increases.
So The Definition of a Number being random might be un-defined.
So Randomness again comes back into being constrained by many boundaries , So I think that Randomness is kind of Impossible to Achieve.
Sky Diploma
Practically a Posting Shark
859 posts since Mar 2008
Reputation Points: 673
Solved Threads: 129
there's no such thing as a truly random number. all random number generators are pseudo-random.
the difference is that some generators are better than others, in that their sequences are harder to predict than others, given current computing technology.
in other words, we have number generators that are, for all intents and purposes, "practically" random.
.
jephthah
Posting Maven
2,587 posts since Feb 2008
Reputation Points: 2,143
Solved Threads: 179
jephthah
Posting Maven
2,587 posts since Feb 2008
Reputation Points: 2,143
Solved Threads: 179
Oh yes, the well ordered world of random numbers. The casinos couldn't live without.
vegaseat
DaniWeb's Hypocrite
5,976 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,416
Lotteries are based on RANDOM NUMBERS and it amazes me what it comes up with!
People say the the lottery IS RIGGED so you cant win,but im telling you,IT ISNT :icon_cheesygrin:
I created a program on my commodore64 years ago,a LOTTO program.. It randomizes and picks up to 10 numbers from 1 to 80 and you have you enter which #'s you want....... It amazes me how many times i see consecutive numbers come up!! (61,62,63,64,65,66 came up one time)
I DIDNT RIG ANYTHING!!!!! :icon_cheesygrin: :icon_cheesygrin:
You wouldnt ever choose a string like that (And if you did,they probably wouldnt come up :D)
The mystery of randomization!
The Dude
Nearly a Senior Poster
3,485 posts since Dec 2005
Reputation Points: 1,054
Solved Threads: 31
your Commodore64 probably didnt have a very strong randomize function.
i also assume you were about 10 years old, or so. sorry if i don't spend much time analyzing your memories of code you wrote in the early 1980's.
:D
jephthah
Posting Maven
2,587 posts since Feb 2008
Reputation Points: 2,143
Solved Threads: 179
It amazes me how many times i see consecutive numbers come up!! (61,62,63,64,65,66 came up one time)
What did you use in your generator: current time?
MosaicFuneral
Posting Virtuoso
1,691 posts since Nov 2008
Reputation Points: 888
Solved Threads: 116
Nope i used standard randomize routines....
I have seen the same thing in the REAL QUICK DRAW also!! (Consecutive strings)
I still use it quite often and i cant ever get anything good :D (Just like in the real quick draw (UUGGHH))
The Dude
Nearly a Senior Poster
3,485 posts since Dec 2005
Reputation Points: 1,054
Solved Threads: 31
I'm surprized at how much game code I see has weak RNG source code.
The first rule of RNG is that you need a true random stream of bits as source data. This stream must at the very least pass the FIPS 140-1 testing, Marsaglia Die-Hard test, and th Berlekamp-Massey examination and show no statistical weakness.
Once statistically valid, then that stream is utilized in the generation of numbers as well as shuffling, etc., which also has to be quantified as having no statistical weakness.
Some RNG's are dedicated systems that generate a data stream, do analysis upon that stream and if it either fails or demonstrates an anomaly, then jettisons that stream and generates another!
Some of the best RNG bit streams are from hardware generated noise and implemented in an entropy situation.
wildgoose
Practically a Posting Shark
896 posts since Jun 2009
Reputation Points: 546
Solved Threads: 99
How many times did you flip your coin?
Try it 10,000 or 100,000 times! The less sampling the more it'll be off. You will find that it is almost never 50.000%
wildgoose
Practically a Posting Shark
896 posts since Jun 2009
Reputation Points: 546
Solved Threads: 99
One of the methods I know have been used is to generate a pseudo-random # then move the decimal a pseudo-random # of places to the right and go to that location of the calculation of pi (see here if you want the first 100 billion digits of π).
Most of the successful methods that I have heard of use variations of this (rng seed is generated by choosing from the list, etc). As far as I know, the next digit of pi is the most random number available; of course, once you have a list - is it random any more?
GrimJack
Posting Maven
2,920 posts since Feb 2004
Reputation Points: 1,448
Solved Threads: 22
AH, "Grim Jack" I detect a pattern!
Would be interesting to run a statistical analysis on the numbers that method genertes!
wildgoose
Practically a Posting Shark
896 posts since Jun 2009
Reputation Points: 546
Solved Threads: 99
One of 'interesting' searches suggested by one of my heroes (Isaac Asimov) was that, if there was a god/God, he would hide a message to us in PI.
Odd facts:
The Guinness-recognized record for remembered digits of π is 67,890 digits, held by Lu Chao, a 24-year-old graduate student from China. It took him 24 hours and 4 minutes to recite to the 67,890th decimal place of π without an error.
The Feynman point, a sequence of six 9s that appears at the 762nd through 767th decimal places of PI (Feynman wanted to memorize up through the 767th place and end with "999999 and so").
The sequence 9876543210 occurs beginning at digits 21981157633, 29832636867, 39232573648, 42140457481, and 43065796214.
The distribution of digits in 1/PI is roughly as randomly distributed as the digits of PI.
Generally, when talking about calculating PI, people are actually calculating PI - 3.
ArcResolution
Find the prime
but I digress.
GrimJack
Posting Maven
2,920 posts since Feb 2004
Reputation Points: 1,448
Solved Threads: 22