Computing Factorials
In this lesson, we will use recursion to solve the basic mathematical problem of computing a factorial.
What is a factorial?
A factorial is the product of an integer and all the positive integers less than it. It is denoted by the symbol:
For example, 4! (read as four factorial) is denoted as follows:
Expanding a Factorial
A factorial of any integer can be written as a product of that integer ...