Metraipolis › archive › dc_c171dffea682

Factorial — Wikipedia (en)

Source
Wikipedia (en)
Original
https://en.wikipedia.org/wiki/Factorial
License (as archived)
CC-BY-SA-4.0
Archived
2026-10-07T11:45:51.517Z
SHA-256 of the archived text
2b3b4942a1ace9c728e56debea02f00920aba67710bf79b03699d6b75ea08185
Stable URL of this page
https://metraipolis.com/documento/dc_c171dffea682

How to cite

Factorial — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Factorial (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_c171dffea682 (Metraipolis archive dc_c171dffea682, sha256 2b3b4942a1ace9c728e56debea02f00920aba67710bf79b03699d6b75ea08185)
BibTeX
@misc{dcc171dffea682,
  title = {Factorial — Wikipedia (en)},
  howpublished = {Wikipedia (en)},
  url = {https://en.wikipedia.org/wiki/Factorial},
  note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_c171dffea682; sha256 2b3b4942a1ace9c728e56debea02f00920aba67710bf79b03699d6b75ea08185},
  year = {2026}
}

Archived text

Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Factorial. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

In mathematics, the factorial of a non-negative integer n {\displaystyle n} , denoted by n ! {\displaystyle n!} , is the product of all positive integers less than or equal to n {\displaystyle n} . The factorial of n {\displaystyle n} also equals the product of n {\displaystyle n} with the next smaller factorial: n ! = n × ( n − 1 ) × ( n − 2 ) × ( n − 3 ) × ⋯ × 3 × 2 × 1 = { 1 , if n = 0 n × ( n − 1 ) ! , if n ≥ 1. {\displaystyle {\begin{aligned}n!&=n\times (n-1)\times (n-2)\times (n-3)\times \cdots \times 3\times 2\times 1\\&={\begin{cases}1,&{\text{if }}n=0\\n\times (n-1)!,&{\text{if }}n\geq 1.\end{cases}}\\\end{aligned}}} For example, 5 ! = 5 × 4 ! = 5 × 4 × 3 × 2 × 1 = 120. {\displaystyle 5!=5\times 4!=5\times 4\times 3\times 2\times 1=120.} The value of 0! is 1, according to the convention for an empty product. Factorials have been discovered in several ancient cultures, notably in Indian mathematics in the canonical works of Jain literature, and by Jewish mystics in the Talmudic book Sefer Yetzirah. The factorial operation is encountered in many areas of mathematics, notably in combinatorics, where its most basic use counts the possible distinct sequences – the permutations – of n {\displaystyle n} distinct objects: there are n ! {\displaystyle n!} . In mathematical analysis, factorials are used in power series for the exponential function and other functions, and they also have applications in algebra, number theory, probability theory, and computer science. Much of the mathematics of the factorial function was developed beginning in the late 18th and early 19th centuries. Stirling's approximation provides an accurate approximation to the factorial of large numbers, showing that it grows more quickly than exponential growth. Legendre's formula describes the exponents of the prime numbers in a prime factorization of the factorials, and can be used to count the trailing zeros of the factorials. Daniel Bernoulli and Leonhard Euler interpolated the factorial function to a continuous function of complex numbers, except at the negative integers, the (offset) gamma function. Many other notable functions and number sequences are closely related to the factorials, including the binomial coefficients, double factorials, falling factorials, primorials, and subfactorials. Implementations of the factorial function are commonly used as an example of different computer programming styles, and are included in scientific calculators and scientific computing software libraries. Although directly computing large factorials using the product formula or recurrence is not efficient, faster algorithms are known, matching to within a constant factor the time for fast multiplication algorithms for numbers with the same number of digits.

Tema degli esploratori: matematica e informatica teorica (deposito sistematico; ricerca «number theory»).
Fonte: Wikipedia in inglese, voce «Factorial» — https://en.wikipedia.org/wiki/Factorial
Wikidata Q120976 (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q120976
Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Factorial?action=history).
Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza.
Estratto dell'introduzione non modificato nel contenuto; revisione 1378902727, consultata il 2026-10-07T11:20:17.611Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 6d30c1850c3baaef9d49c72dd9899a25efe8bcacbc276c82a64149a745dc041e