Hello, in today lottery systems, they use 2 processes. The first one is a mathematical formula to generate the numbers and to be certain there is no possibility that someone would find the formula and would be able to predict the next lottery numbers : the machines are equipped with a special chip which is a physical resistance or basic circuit just to produce noise, all the chip are identical BUT the signal output is directly linked to the physical chip itself, in other words 2 identical chips won't generate the exact same signal at all, this is made on purpose. Then, they just plug one generator after the other, like that nobody on this planet can reproduce the exact same sequence. in human terms : it is random. ps : I use to work for Loto-Québec. ps 2: It did happen historically that a person had some information about the mathematical process on one particular lottery and was able to predict the next numbers. At the time they were using only one process, a mathematical formula, according to what I know, it was stupidly based on the inverses of primes and the decimal expansion, the person that used the formula and made some money was in fact more or less in contact with some people inside the company that was producing the numbers, an inside job. It went to court eventually but the man was able to more or less acquitted since they had no proof. They later changed the system and avoided that company of course. Best regards, Simon plouffe