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