Let $X_1, X_2, \dots, X_m$ be i.i.d random variables uniformly distributed on the set $\{1,2, \dots, n\}$. What is $\mathbb{P}(X_1\neq X_2 \neq \dots \neq X_m)$?
Edit: n > m
Let $X_1, X_2, \dots, X_m$ be i.i.d random variables uniformly distributed on the set $\{1,2, \dots, n\}$. What is $\mathbb{P}(X_1\neq X_2 \neq \dots \neq X_m)$?
Edit: n > m
For $m>n$, it's just zero because you can't pick $m> n$ distincts numbers out of a set of cardinal n.
For $m\le n$, notice that
you have $n$ choice for $X_1$,
but then there are $n-1$ choices left for $X_2$,
then $n-2$ choices left for $X_3$,
...
finally, $n-m+1$ choices left for $X_m$
Putting everything together, the probabilty we're looking for is : $\frac{n}{n}\times\frac{n-1}{n}\times\frac{n-2}{n}...\times\frac{n-m+1}{n}=\frac{n!}{n^m (n-m)!}$