In most lottery games, including U.S. Powerball and Mega Millions, the bonus number is selected in a second drawing and has no relationship with the numbers selected in the first drawing. To accurately recreate a lottery drawing, select a number combination from an all possible number combinations list, then randomly select a single bonus number.
In other lottery games, such as Australia's Tatt's Lotto, one or more bonus numbers are selected as supplementary numbers. That is, the last one or two numbers selected in a single drawing become the bonus numbers. At this time, we do not have the ability to generate all possible number combinations that include supplementary bonus numbers.