CCalclabhub

Combinatorics

Recursive definition

Each factorial is the previous one multiplied by n. Together with the convention 0! = 1, this defines the whole sequence.

Last updated

The Formula

n! = n x (n - 1)!

Each factorial is the previous one multiplied by n. Together with the convention 0! = 1, this defines the whole sequence.

SymbolMeaning
nCurrent integer
(n - 1)!Previous factorial

What Each Symbol Means

ncount

Current integer

The factor added at this step, 6 in the worked case.

(n - 1)!count

Previous factorial

The product already accumulated, 120 before the final factor of 6.

See It Worked With Real Numbers

A formula on its own does not tell you which number goes where. The how to calculate the factorial page applies this equation to a concrete case, shows every intermediate step, and names the mistakes that produce a wrong answer even when the algebra is right.

Where This Formula Appears

This equation is the working core of How To Calculate The Factorial, filed under Math. Every number the guide produces comes from substituting into this one line.

Common Questions

What is the formula for Recursive definition?

The formula for Recursive definition is n! = n x (n - 1)!. Each factorial is the previous one multiplied by n. Together with the convention 0! = 1, this defines the whole sequence.

What units should I use with Recursive definition?

Substitute n as a plain count, (n - 1)! as a plain count. Convert every input to those units before you start, because the equation only returns the right answer when the units on both sides agree.

What is a common mistake when using Recursive definition?

Including zero in the product. The factorial of n multiplies the positive integers 1 through n, never zero. Adding a zero factor would force the entire product to vanish. The only place zero appears is the separate convention for 0!, which stands for taking no factors at all.