I have some code to count permutations and combinations, and I\'m trying to make it work better for large numbers.
I\'ve found a better algorithm for permutations th
from scipy import misc misc.comb(n, k)
should allow you to count combinations