We can't create a random number generator, only generators which produce number patterns which reveal no systematic patterns. Thus, there is no definition of what randomness is, only definitions of what it isn't. In other words, in computer lingo, the sequence can't be compressed. The problem with this definition is that just because you can't find a program which can compress a given sequence doesn't mean that there isn't one out there. Beating the lottery Elaborate mathematical algorithms are used in computers to produce number series which roughly approximate randomness.
Most state lotteries use computer-generated numbers, and some algorithms are better than others.
For example, a Canadian mathematician deduced the algorithm used in his province's lottery, and he proceeded to win the next two lotteries. The authorities arrested him for fraud. The judge ruled that the mathematician, although clever, was not a criminal and let him keep the money. The closest we can come to a random process is radioactive decay, which is assumed to be random, according to current theory in physics. Link to radioactive decay random number generators.