Generate numbers from statistics of lottery using stats algorithms.