product of all integers between 1 and the integral input of the function
FactorialReIm
In mathematics, the factorial of a non-negative integer ... {\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, ... ... … Wikipedia
🌐
Wikipedia
en.wikipedia.org β€Ί wiki β€Ί Factorial
Factorial - Wikipedia
1 week ago - 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 ...
🌐
CalculatorSoup
calculatorsoup.com β€Ί calculators β€Ί discretemathematics β€Ί factorials.php
Factorial Calculator n!
Factorial Calculator. Find the factorial n! of a number, including 0, up to 4 digits long. n! factorial calculator and examples. Free online factorial calculator.
Discussions

elementary number theory - Why is there no explicit formula for the factorial? - Mathematics Stack Exchange
These two formulas give n! This was discovered by Euler. Reference this link for further reading. http://eulerarchive.maa.org/hedi/HEDI-2007-09.pdf ... If I am not mistaken, Manjul Bhargava generalized the factorial function to include numbers such as (pi)! More on math.stackexchange.com
🌐 math.stackexchange.com
July 29, 2013
Factorials: factorial equation and finding difference between n factorials
n! is simply defined as n(n-1)(n-2)...(3)(2)(1). This is done to shorten expressions, since this type of thing is used a lot in combinatorics. Simply stated, for n objects, there are n! ways to arrange it in a sequence. Like, for example if you have three balls of colours red, orange and blue, the possible sequences are: Red, Orange, Blue Red, Blue, Orange Orange, Blue, Red Orange, Red, Blue Blue, Red, Orange Blue, Orange, Red And so you can see, for 3 objects, there were 3! = 3 * 2 * 1 = 6 ways to arrange it. Now, 0! = 1 because the math works out that way, but an intuitive (and kinda philosophical) way to think about it is that if you have 0 objects, how many ways can you arrange them? Well, that's 1, because it's the arrangement of having 'nothing'. I'll go into the math a little bit here. We'll denote the number of permutations of n different objects taken r at a time by nP(r) to make life easier. So, for example, if we have the 4 balls, A, B, C, D, but we instead take two at a time (or 4P(2)), then there are the following ways to arrange it: A, B A, C A, D B, A B, C B, D C, A C, B C, D D, A D, B D, C So, that's 12 ways to arrange it. You might note that's 4 * 3, so we can work out nP(r) to be: (n)(n-1)(n-2)...(n-r+1). By definition, n! = n * (n-1)!, so this can also be stated as: (n!)/(n-r)! Now, we have 4P(4). Well, obviously that's going to be 4 * 3 *2 * 1 or 4!, but by our formula, we have 4!/0!. So, we need 4!/0! = 4!, or 0! = 1. So, in order to ensure nP(n) = n!, we define 0! = 1 More on reddit.com
🌐 r/learnmath
7
2
April 19, 2016
How can you take the factorial of integers and halves?
The answer is complicated. Essentially, there is a way to extend the factorial function to all of the complex plane except the negative integers called the Ξ“ function . To understand why this is the "right" extension one needs to learn some complex analysis. In essence, this is the only "nice" function that agrees with the factorial on positive integer (well, kinda, due to technical reasons its more comfortable to define Ξ“ such that it satisfies a historical mistake Ξ“ is defined such that Ξ“(n)=(n-1)!). However, the extension of factorial specifically for half positive integers (e.g. to 1/2) was worked out before the full blown Ξ“ function was defined (so I imagine that late 19th century mathematicians were very pleased to find that defining Ξ“ this way is consistent with the definition I'm about to describe): it essentially followed from working out the volumes and areas of n-dimensional balls and spheres. People noted that for even values of n, the volume of an n-dimensional ball is pi^(n/2)/(n/2)! and the surface area of an n-dimensional ball (that is, an (n-1)-dimensional sphere) is 2pi^(n/2)/(n/2-1)!. It then made sense to define (n/2)! for general n as V(n)/pi^(n/2) where V(n) is the folume of an n-dimensional ball. Once doing so, it became apparent that the properties of factorial are preserved for this extension, for example (n/2)!(n/2+1) = (n/2+1)!. More on reddit.com
🌐 r/math
49
109
March 27, 2024
How is log (n factorial) equal to omega (n log n)?
  log (n!) = log [n * (n - 1) * (n - 2) * ... * 1], n things are being multiplied.
              >= log [n * (n - 1) * ... * (n / 2)], n/2 things are being multiplied here, so I'm just dropping the second half.
              >= log [(n / 2)^(n / 2)], because each one is greater than or equal to n / 2.
              = n/2 log (n / 2).
More on reddit.com
🌐 r/algorithms
11
21
October 30, 2015
People also ask

What is a factorial of 0?
The value of factorial of 0 is 1, i.e. 0! = 1.
🌐
byjus.com
byjus.com β€Ί maths β€Ί factorial
Factorial
How do you calculate a factorial?
A factorial is calculated by starting with the number and multiplying it by each previous integer until reaching 1. The factorial is represented by an exclamation point. x! = x * (x-1) * (x-2) ...1. For example, 4! = 4 * 3 * 2 * 1 =24.
🌐
study.com
study.com β€Ί courses β€Ί math courses β€Ί math 101: college algebra
Factorial | Definition, Examples & Operations - Lesson | Study.com
What is a factorial of 10?
The value of factorial of 10 is 3628800, i.e. 10! = 10 Γ— 9 Γ— 8 Γ— 7 Γ— 6 Γ— 5 Γ— 4 Γ— 3 Γ— 2 Γ— 1 = 3628800.
🌐
byjus.com
byjus.com β€Ί maths β€Ί factorial
Factorial
🌐
Cuemath
cuemath.com β€Ί numbers β€Ί factorial
Factorial - Meaning, Formula | Factorial of Hundred & 0
Factorial of a positive number n is the product of that number with all the whole numbers that come before till 1. i.e., n factorial is calculated by the formula n! = n * (n - 1) * (n - 2) * ... * 3 * 2 * 1.
🌐
Study.com
study.com β€Ί courses β€Ί math courses β€Ί math 101: college algebra
Factorial | Definition, Examples & Operations - Lesson | Study.com
July 9, 2012 - A factorial is calculated by starting with the number and multiplying it by each previous integer until reaching 1. The factorial is represented by an exclamation point. x! = x * (x-1) * (x-2) ...1. For example, 4!
🌐
Math is Fun
mathsisfun.com β€Ί numbers β€Ί factorial.html
Factorial Function !
Zero Factorial is interesting ... it is generally agreed that 0! = 1. It may seem funny that multiplying no numbers together results in 1, but let's follow the pattern backwards from, say, 4! like this: And in many equations using 0! = 1 just makes sense. ... The formula is simply n!
Find elsewhere
🌐
GeeksforGeeks
geeksforgeeks.org β€Ί mathematics β€Ί factorial-formula
Factorial Formula - GeeksforGeeks
The factorial is one of the most fundamental mathematical operations in combinatorics, algebra, and number theory. Represented by an exclamation mark (!), the factorial of a non-negative integer n, denoted as n!, is the product of all positive integers less than or equal to n.
Published Β  July 23, 2025
🌐
Khan Academy
khanacademy.org β€Ί computing β€Ί computer-science β€Ί algorithms β€Ί recursive-algorithms β€Ί a β€Ί the-factorial-function
The factorial function (article)
We've partnered with Dartmouth college professors Tom Cormen and Devin Balkcom to teach introductory computer science algorithms, including searching, sorting, recursion, and graph theory. Learn with a combination of articles, visualizations, quizzes, and coding challenges.
🌐
BYJUS
byjus.com β€Ί maths β€Ί factorial
Factorial
The multiplication of all positive integers, say β€œn”, that will be smaller than or equivalent to n is known as the factorial. The factorial of a positive integer is represented by the symbol β€œn!”. ... From the above formulas, the recurrence ...
Published Β  October 6, 2021
Views Β  1K
🌐
RapidTables
rapidtables.com β€Ί math β€Ί algebra β€Ί Factorial.html
Factorial (n!) - RapidTables.com
The factorial of n is denoted by n! and calculated by the product of integer numbers from 1 to n.
🌐
MathWorks
mathworks.com β€Ί matlab β€Ί mathematics β€Ί elementary math β€Ί discrete math
factorial - Factorial of input - MATLAB
f = factorial(n) returns the product of all positive integers less than or equal to n, where n is a nonnegative integer value. If n is an array, then f contains the factorial of each value of n.
🌐
Testbook
testbook.com β€Ί home β€Ί maths β€Ί factorial
Factorial – Definition, Notation, Formula, Properties & Examples | Testbook
Factorials are very important in permutations and combinations. Permutation (nPr): Arranging objects in a particular order. Formula: nPr = n!
🌐
Mathinschool
mathinschool.com β€Ί page β€Ί 1010.html
n! that is factorial of n
Factorial of n!. Formula: n! = 1 * 2 * 3 * ... * n. Examples: 0! = 1, 1! = 1, 2! = 1 * 2 = 2, 3! = 1 * 2 * 3, 4! = 1 * 2 * 3 * 4, 5! = 1 * 2 * 3 * 4 * 5, 6!
🌐
freeCodeCamp
freecodecamp.org β€Ί news β€Ί what-is-a-factorial
What is a Factorial? How to Calculate Factorials with Examples
August 3, 2022 - It represents the multiplication of all numbers between 1 and n. So if you were to have 3!, for example, you'd compute 3 x 2 x 1 (which = 6). Let's see how it works with some more examples.
🌐
GeeksforGeeks
geeksforgeeks.org β€Ί dsa β€Ί program-for-factorial-of-a-number
Factorial of a Number - GeeksforGeeks
Given the non-negative integers n , compute the factorial of a given number. Note: Factorial of n is defined as n * (n -1) * (n - 2) * ...
Published Β  January 13, 2026
🌐
Wikipedia
en.wikipedia.org β€Ί wiki β€Ί Falling_and_rising_factorials
Falling and rising factorials - Wikipedia
1 week ago - {\displaystyle {\begin{aligned}(x)_{m+n}&=(x)_{m}(x-m)_{n}=(x)_{n}(x-n)_{m}\\[6pt]x^{(m+n)}&=x^{(m)}(x+m)^{(n)}=x^{(n)}(x+n)^{(m)}\\[6pt]x^{(-n)}&={\frac {\Gamma (x-n)}{\Gamma (x)}}={\frac {(x-n-1)!}{(x-1)!}}={\frac {1}{(x-n)^{(n)}}}={\frac {1}{(x-1)_{n}}}={\frac {1}{(x-1)(x-2)\cdots (x-n)}}\\[6pt](x)_{-n}&={\frac {\Gamma (x+1)}{\Gamma (x+n+1)}}={\frac {x!}{(x+n)!}}={\frac {1}{(x+n)_{n}}}={\frac {1}{(x+1)^{(n)}}}={\frac {1}{(x+1)(x+2)\cdots (x+n)}}\end{aligned}}} Finally, duplication and multiplication formulas for the falling and rising factorials provide the next relations: ( x Β·
🌐
AllMath
allmath.com β€Ί factorial.php
Factorial Calculator
There are little more complex factorial equations that can be solved easily enough if you know how factorials work. Let’s solve an example. ... As you know n! = n(n-1)!, this formula can be used to expand (n-2)! in such a way that can simplify ...
🌐
UTSA Department of Mathematics
mathresearch.utsa.edu β€Ί wiki β€Ί index.php
Factorials - Department of Mathematics at UTSA
November 14, 2021 - Its most basic use counts the possible distinct sequences – the permutations – of n distinct objects: there are n!. The factorial function can also be extended to non-integer arguments while retaining its most important properties by defining x!
🌐
BYJUS
byjus.com β€Ί maths β€Ί factorial-questions
Factorial Questions With Solutions
Given (n+1)! = 5n! We know that by the factorial formula, n!
Published Β  August 18, 2022
Views Β  4K