Handling factorials using prime factor vectors
Introduction Working with big factorials can be a challenge. For instance if we want to calculate the number of combinations one uses the following formula: nCr = n!/(r!(n-r)!) A naïve approach cau…
On software efficiency