by John on (#795B6)
SplittingN! intoN factors is trivial. It'sdefined as the product ofN integers, the integers 1 throughN. Can you still splitN! intoN factors if you put a minimum size requirement on the factors? You can't split 3! into three factors unless one of the factors is 1, but you can split 4! into factors >= 2: 4! [...]The post Refactoring factorials first appeared on John D. Cook.