There will be an equal number of each random number. The max number must be a factor of the number of numbers, otherwise there will be an error.
All made by me