What is a 'Factorial'?


Question :

What is a 'Factorial' ?

Answer :

Factorial is the product of all positive integers from 1 upto a given number n, inclusive.

Factorial is denoted by the symbol n !

For example:

5 ! = 1 x 2 x 3 x 4 x 5 = 120

The special case 0! is defined to have value 0! = 1.

The Factorial function can be defined as:

What is a 'Factorial'?

Some applications of factorials:

Factorials are used in combinatorics.
Factorials turn up in calculus.
Factorials are used in probability theory.