The formula in book is incorrect because it doesn't include the factorial(0) case and leads to infinite recursion in this case.
The formula in book is incorrect because it doesn't include the factorial(0) case and leads to infinite recursion in this case.