Factorial of 356
356! = 241146140004960093651568478844146974614450337587792932162475600589638523655750269344638807636341067524466128303383440900195245785265672541993712919506877122056577153725764358392367622568404859582105558517480538296940314784143993137246472225000044999539208307525688987348094484633300776540725754755233782399491288103790246067822363713602299615074844053944905570444324676204208872514018781497052444805636763715613447847001936164545266342413239693992843151257849347984792371001953038447349919424411389740421623555418395426088517410420988499108957234036071620644909674991635918110808085065486155320381538113620507028221629365492216977319573669860570632162817005461054685184000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
756 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
356! = 356 × 355 × … × 2 × 1 = 2411461400049600936515684788441469746144…
Facts about 356!
| Digits | 756 |
|---|---|
| Trailing zeros | 87 (one for every factor 5 × 2) |
| Stirling estimate | ≈ Infinity |
| 356! ÷ 355! | 356 |
Nearby factorials
| 354! | 190810365568096291859129… (751 digits) |
| 355! | 677376797766741836099911… (753 digits) |
| 357! | 860891719817707534336099… (758 digits) |
| 358! | 308199235694739297292323… (761 digits) |
What are factorials used for?
Counting arrangements: 356! is the number of different orders in which 356 distinct items can be lined up. Factorials also appear in probability, combinations and series.
Counting with 356!
There are 2.4114 × 10^755 different ways to arrange 356 different books on a shelf: 356 choices for the first place, 355 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 356 runners, there are 356 × 355 × 354 = 44,738,520 possible podiums. If the order does not matter, divide by 3! = 6 to get 7,456,420 ways to choose a group of three. Choosing a pair from 356 people can be done in 63,190 ways.
In probability, if 356 names are drawn out of a hat one at a time, the chance of drawing them in one particular order is 1 in 2.4114 × 10^755. That is why shuffled decks and passwords with many symbols are so hard to guess.
How big is 356!?
356! has 756 digits, so it is larger than the estimated number of atoms in the observable universe (about 10^80). The digits add up to 2952, 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 356!
Every prime up to 356 divides 356!. Legendre's formula counts how often: add ⌊n/p⌋ + ⌊n/p²⌋ + ⌊n/p³⌋ + … for each prime p. For 356! that gives 2^352 × 3^175 × 5^87 × 7^58 × 11^34 × 13^29 × 17^21 × 19^18 × 23^15 × 29^12 × … (71 primes in all). The 87 trailing zeros come from pairing the 87 factors of 5 with factors of 2.
Shuffles where nothing stays put
A related count is the number of derangements of 356 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 356! ÷ e, so about 36.8% of all 2.4114 × 10^755 orders are derangements. From about four items on, that share stays close to 1 ÷ e, roughly 37%, however many items there are.
Computing 356! yourself
In Excel or Google Sheets, type =FACT(356). 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(356) returns the exact integer with all 756 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 356 factorial?
356! is the product of every whole number from 1 to 356.
How many digits does 356! have?
756. The number of digits of n! is the whole part of log10(n!) plus one.
How many zeros are at the end of 356!?
87. Count the factors of 5 in the numbers 1 to 356: there are always more factors of 2, so every 5 makes one trailing zero.
Is 356! divisible by 357?
Yes. 357 is not prime, so its factors already appear among the numbers 1 to 356.
What is the last non-zero digit of 356!?
4. Strip the 87 trailing zeros and look at the digit that is left at the end.
What is 357! in terms of 356!?
357! = 357 × 356!. Each factorial is the previous one multiplied by the next whole number.