Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

calculating n!/(n-k)! for k-permutations

I was wondering if there is a way to calculate n!/(n-k)! in sage without using the factorial(n) method for n and n-k and then dividing.