- factorial nprocedure
- n
- integer
Returns the factorial of n, which must be nonnegative. The factorial of n is the number (* n (- n 1) (- n 2) ... 1).
> (factorial 3) 6 > (factorial 0) 1
Wikipedia: Factorial
Returns the factorial of n, which must be nonnegative. The factorial of n is the number (* n (- n 1) (- n 2) ... 1).
> (factorial 3) 6 > (factorial 0) 1
Wikipedia: Factorial