0

I want to figure out a way to determine how many unique numbers there would be in a given pool of random numbers.

For example, lets say I generate 20 random numbers, each with a value between 1 and 20. There will almost certainly be multiple instances of a single number.

Is there any way to calclulate how many UNIQUE numbers there will be on average? If duplicate numbers are discarded?

kjetil b halvorsen
  • 63,378
  • 26
  • 142
  • 467
  • 1
    Should we understand "number" in this context to mean "integer"? The duplicate is a generalization of your question; apply it by setting all inclusion probabilities $p_i$ to $1/20.$ – whuber Aug 20 '21 at 11:24

0 Answers0