Let's say we want to generate a random number between 1 and n, n-times,then the probability that every integer between 1 and n appears once in the generated sequence of random numbers is $\frac{n!}{n^n}$. So if we were to generate a number between 1 and 10, 10-times, the probability that every number between 1 and 10 appears once in the generated sequence of numbers is $\frac{10!}{10^{10} }$, which is about 1 in 3000. So we should expect that if we do this process of generating 10 numbers 3000 times we should get a sequence of numbers where all numbers between 1 and 10 apeear once only one time. But when I tried this on my calculator(it has a button for generating integers) I got that pattern of all integers between 1 and 10 appearing without repeating after my 15th trial! So does that mean my calculator dose not actually generate random numbes?
Or in another words: what is the probability that after generating 10 numbers (between 1and 10) randomly 15 times you get a sequence where all integers between 1 and 10 appear once without repeating?
The probability that after generating 10 numbers (between 1 and 10) randomly 15 times you get a sequence where all integers between 1 and 10 appear at least once is
$$ 1-\left(1-\frac{10!}{10^{10}}\right)^{15}\approx0.00543. $$