The least likely bootstrap sample is one where a1=a2=⋯=an.
Such a sample occurs with probability 1nn.
The most likely bootstrap sample is one where all the terms are different.
Such a sample occurs with probability n!nn.
Thus, the ratio of the probabilities is n!