Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Thank you very much Douglas for your interrest! You're right about my method of generation: I take all the numbers from 1 to n and I put each in one of k bins. The $n_1,...,n_k$ are the count of values placed in each bin. It's a part of a graph algorithm.
Sorry for my mistake. I am programmer and I have only few knowledges about probabilities. I think that the distribution of ${n_1,...,n_k}$ is an uniform one as I generate them using a good PRNG, isn't?
I have no specific distribution on the multiset ${n_1,...,n_k}$, but, if is mandatory in order to calculate the probability, you can assume one. Thank you!