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?
|   | 1 |  initial version  | 
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?
 Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
 
                
                Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.