Factorial

The factorial gives the product of all positive integers up to n, with 0! defined as 1. It is used in counting permutations, combinatorics, series expansions and probability.

n! = \begin{cases} \prod_{k=1}^{n} k & n > 0 \\ 1 & n = 0 \end{cases}

What the symbols mean

non-negative integer whose factorial is taken
integer index running from 1 to n in the product

About this formula

  • FieldMathematics
  • TopicCombinatorics
  • LevelHigh school
  • Also calledfactorial function, n factorial, product of first n integers, n!, factorial definition, factorial of a natural number
  • SourceWikidata Q120976

Write it in Obsidian

MathLive is a free visual math editor for Obsidian. Run Find a formula, type “factorial”, and it goes into your note as editable LaTeX. You can also scan formulas from screenshots, PDFs and handwriting.

Related formulas