Number of ways to choose k from a multiset if order matter

Правка en1, от secomo, 2021-06-26 12:27:40

Example : {1,2,2,3,3}

the answer here is 5 :

{1,2,2} {1,2,3} {1,3,3} {2,2,3} {2,3,3}

I want a formula to calculate this.

I searched through Internet but I did not find a clear answer.

I am not good at math so I want a simple explination If that is possible. Thank you.

Теги #combinatorics

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский secomo 2021-06-26 12:29:33 16
en1 Английский secomo 2021-06-26 12:27:40 346 Initial revision (published)