Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to find all combinations in multinomial case

We can find all combinations in Sagemath using

C = Combinations(range(10),4)

Now instead of binomial, I want multinomial case. So out of 10 possible places, I want to find all combinations (4,3,3). How can we do this in Sagemath?