Arc Forumnew | comments | leaders | submitlogin
1 point by lacker 6002 days ago | link | parent

Doing a single multiplication is not O(1) when the numbers have more than a constant number of digits. I'm not precisely sure how long multiplying large numbers takes, but it's at least linear in the number of digits involved. And (n-1)! has O(n log n) digits.