Factorial of 284
284! = 106819920598242124210489770560509239340125068873129940913477771264793225492627085959522325232388445694101615488156274868632141498325375407648235238843125908741528348352441641097452338579646969857229474618545160297794381172076408781827824073181451191214890244002663994514300997042820617432906802783189323120503259605070230385272077403570423396834695443929454039241487293919994378077529194041013817895502702414133840745562289507591459979165996867744648335193809035101466117006080761727529449156735814216974336000000000000000000000000000000000000000000000000000000000000000000000
576 digits
Sumwise · Maintained by Theo Abbott (pen name) · automated checks · Data: exact arithmetic; unit definitions from NIST SP 811 · Updated · How the checks work
How it is calculated
284! = 284 × 283 × … × 2 × 1 = 1068199205982421242104897705605092393401…
Facts about 284!
| Digits | 576 |
|---|---|
| Trailing zeros | 69 (one for every factor 5 × 2) |
| Stirling estimate | ≈ Infinity |
| 284! ÷ 283! | 284 |
Nearby factorials
| 282! | 132906883738419006881115… (571 digits) |
| 283! | 376126480979725789473555… (573 digits) |
| 285! | 304436773704990053999895… (578 digits) |
| 286! | 870689172796271554439702… (580 digits) |
What are factorials used for?
Counting arrangements: 284! is the number of different orders in which 284 distinct items can be lined up. Factorials also appear in probability, combinations and series.
Counting with 284!
There are 1.0681 × 10^575 different ways to arrange 284 different books on a shelf: 284 choices for the first place, 283 for the second, and so on down to one choice for the last. If you only fill the first three places, as with gold, silver and bronze among 284 runners, there are 284 × 283 × 282 = 22,664,904 possible podiums. If the order does not matter, divide by 3! = 6 to get 3,777,484 ways to choose a group of three. Choosing a pair from 284 people can be done in 40,186 ways.
In probability, if 284 names are drawn out of a hat one at a time, the chance of drawing them in one particular order is 1 in 1.0681 × 10^575. That is why shuffled decks and passwords with many symbols are so hard to guess.
How big is 284!?
284! has 576 digits, so it is larger than the estimated number of atoms in the observable universe (about 10^80). The digits add up to 2241, a multiple of 9, as they are for every factorial from 6! on. Stirling's formula, √(2πn) × (n/e)^n, gives a close estimate without multiplying everything out, and gets more accurate as n grows.
Prime factors of 284!
Every prime up to 284 divides 284!. Legendre's formula counts how often: add ⌊n/p⌋ + ⌊n/p²⌋ + ⌊n/p³⌋ + … for each prime p. For 284! that gives 2^280 × 3^139 × 5^69 × 7^45 × 11^27 × 13^22 × 17^16 × 19^14 × 23^12 × 29^9 × … (61 primes in all). The 69 trailing zeros come from pairing the 69 factors of 5 with factors of 2.
Shuffles where nothing stays put
A related count is the number of derangements of 284 items: orders in which no item ends up in its original place, as in a Secret Santa where nobody draws their own name. The count is the whole number nearest to 284! ÷ e, so about 36.8% of all 1.0681 × 10^575 orders are derangements. From about four items on, that share stays close to 1 ÷ e, roughly 37%, however many items there are.
Computing 284! yourself
In Excel or Google Sheets, type =FACT(284). Spreadsheets keep only 15 significant digits, so from 18! on the result is rounded, and FACT stops at 170!, the largest factorial that fits in a standard floating-point number. In Python, math.factorial(284) returns the exact integer with all 576 digits, because Python integers have no size limit. The gamma function extends factorials to fractions: Γ(n + 1) = n!, so (1/2)! = √π ÷ 2 ≈ 0.8862.
Why is 0! equal to 1?
There is exactly one way to arrange nothing, and the rule n! = n × (n − 1)! only works for n = 1 if 0! = 1. Defining it this way keeps formulas for combinations and series correct at the edges.
How answers are calculated and checked: methodology.
Questions
What is 284 factorial?
284! is the product of every whole number from 1 to 284.
How many digits does 284! have?
576. The number of digits of n! is the whole part of log10(n!) plus one.
How many zeros are at the end of 284!?
69. Count the factors of 5 in the numbers 1 to 284: there are always more factors of 2, so every 5 makes one trailing zero.
Is 284! divisible by 285?
Yes. 285 is not prime, so its factors already appear among the numbers 1 to 284.
What is the last non-zero digit of 284!?
6. Strip the 69 trailing zeros and look at the digit that is left at the end.
What is 285! in terms of 284!?
285! = 285 × 284!. Each factorial is the previous one multiplied by the next whole number.