Let n be a positive integer Suppose we choose a sequence i1i
\"Let n be a positive integer. Suppose we choose a sequence i1,i2,...,in of integers between 1 and n at random. What is the probability that the sequence contains exactly n-2 different integers?\"
Could you please explain your thought process too? Thank you!
Solution
you need to have n-2 different integers FAVORABLE CASES
and you chose a sequence of n-1 integers POSIBLE CASES
Probability = (n-2) / (n-1)
