Coverage After Sampling With Replacement $k$ Times
We have $n$ number of balls in a box, each has a unique label. $\{1, 2, ..., n\}$.
I want to randomly select a ball, record the label and place it back in the box. This action is repeated for $k$ times, and $k \geqslant n$. If the largest label in all previous samples is $v$, then the current label can be anything from $1$ to $v+1$. And we want the outcomes where the labels start from $1$ and have reached $n$ at least once.
For examples, the balls are $\{1, 2, 3\}$ and sampled $4$ times. Although there are $3^4$ outcomes, the desired outcomes are $(1, 1, 2, 3), (1, 2, 1, 3), (1, 2, 2, 3), (1, 2, 3, 1), (1, 2, 3, 2)$ and $(1, 2, 3, 3)$.
The questions are:
what is the average value of $k$ so that after $k$ samples, we have at least one desired outcome?
what is the probability that after $k$ samples, we have at least one desired outcome?