Lottery selections - New Zealand Powerball
In a lottery, or a raffle, numbers are usually selected from a pool of possible values in such a way that once a number has been chosen, it is no longer possible for it to be picked again. For example the balls in a lotto machine are removed one at at time, and there is no way for the same number to be picked twice. Similarly in a raffle, winning tickets are drawn and then discarded so that the same ticket cannot win twice.
See here for mathematical information on lottery probabilities.
In the New Zealand Powerball, 6 balls are drawn from a set of 40, and an additional selection of 1 drawn from a set of 10 - you can use the tool below to generate a similar selection of numbers.
The probability of matching all 6+1 numbers in any one draw is one chance in 38,383,800.
You can choose another lottery here, or specify the number of balls to be drawn below.