On Mon, 03 Dec 2018 16:02:30 -0800, H. S. Teoh wrote: > Furthermore, it's not just off by 1, since i=1 is a redundant case. The > loop really ought to start with 2. factorial(0) is 1 because it's the product of an empty sequence.