1
$\begingroup$

Hope someone can help me answer this question.

The problem is described as below.

I want to form a set (P) of n numbers. I randomly choose a number between 1 and n^3 and I choose n times.

My question is that what is the probability that all entries in P are unique and how can I get the probability?

$\endgroup$

1 Answer 1

0
$\begingroup$

The magic words are "birthday paradox".

$\endgroup$

Not the answer you're looking for? Browse other questions tagged .