## You are here

Homefactorial

## Primary tabs

# factorial

For any non-negative integer $n$, the factorial of $n$, denoted $n!$, can be defined by

$n!=\prod_{{r=1}}^{n}r$ |

where for $n=0$ the empty product is taken to be $1$.

Alternatively, the factorial can be defined recursively by $0!=1$ and $n!=n(n-1)!$ for $n>0$.

$n!$ is equal to the number of permutations of $n$ distinct objects. For example, there are $5!$ ways to arrange the five letters A, B, C, D and E into a word.

For every non-negative integer $n$ we have

$\Gamma(n+1)=n!$ |

where $\Gamma$ is Euler’s gamma function. In this way the notion of factorial can be generalized to all complex values except the negative integers.

Related:

BinomialCoefficient, ExponentialFactorial

Synonym:

factorial function

Type of Math Object:

Definition

Major Section:

Reference

Groups audience:

## Mathematics Subject Classification

05A10*no label found*11B65

*no label found*92-01

*no label found*92B05

*no label found*

- Forums
- Planetary Bugs
- HS/Secondary
- University/Tertiary
- Graduate/Advanced
- Industry/Practice
- Research Topics
- LaTeX help
- Math Comptetitions
- Math History
- Math Humor
- PlanetMath Comments
- PlanetMath System Updates and News
- PlanetMath help
- PlanetMath.ORG
- Strategic Communications Development
- The Math Pub
- Testing messages (ignore)

- Other useful stuff

## Recent Activity

Oct 21

new question: Prime numbers out of sequence by Rubens373

Oct 7

new question: Lorenz system by David Bankom

Oct 19

new correction: examples and OEIS sequences by fizzie

Oct 13

new correction: Define Galois correspondence by porton

Oct 7

new correction: Closure properties on languages: DCFL not closed under reversal by babou

new correction: DCFLs are not closed under reversal by petey

Oct 2

new correction: Many corrections by Smarandache

Sep 28

new question: how to contest an entry? by zorba

new question: simple question by parag

new question: Prime numbers out of sequence by Rubens373

Oct 7

new question: Lorenz system by David Bankom

Oct 19

new correction: examples and OEIS sequences by fizzie

Oct 13

new correction: Define Galois correspondence by porton

Oct 7

new correction: Closure properties on languages: DCFL not closed under reversal by babou

new correction: DCFLs are not closed under reversal by petey

Oct 2

new correction: Many corrections by Smarandache

Sep 28

new question: how to contest an entry? by zorba

new question: simple question by parag