Sumwise

Factorial of 280

280! = 16772277799452185316008559642481690996154162653443224216229144166533010495138176552175779628900866154937655467080893509725117402094786797430449965992591855047863335070498197537053948882096262565780315504934744482331080425680552490971597062111349307447058139219943834846427081475234675780303186241495364354473220247981334182737896146496569057168205263172422932268545207065230644665792052186286503978375114413827309599287477421264601465575912229816923404173201977337878379210932930098887603481739264000000000000000000000000000000000000000000000000000000000000000000000

566 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

280! = 280 × 279 × … × 2 × 1 = 1677227779945218531600855964248169099615…

Facts about 280!

Digits566
Trailing zeros69 (one for every factor 5 × 2)
Stirling estimate≈ Infinity
280! ÷ 279!280

Nearby factorials

278!214698896562367963594579… (561 digits)
279!599009921409006618428877… (563 digits)
281!471301006164606407379840… (568 digits)
282!132906883738419006881115… (571 digits)

What are factorials used for?

Counting arrangements: 280! is the number of different orders in which 280 distinct items can be lined up. Factorials also appear in probability, combinations and series.

Counting with 280!

There are 1.6772 × 10^565 different ways to arrange 280 different books on a shelf: 280 choices for the first place, 279 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 280 runners, there are 280 × 279 × 278 = 21,717,360 possible podiums. If the order does not matter, divide by 3! = 6 to get 3,619,560 ways to choose a group of three. Choosing a pair from 280 people can be done in 39,060 ways.

In probability, if 280 names are drawn out of a hat one at a time, the chance of drawing them in one particular order is 1 in 1.6772 × 10^565. That is why shuffled decks and passwords with many symbols are so hard to guess.

How big is 280!?

280! has 566 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 280!

Every prime up to 280 divides 280!. Legendre's formula counts how often: add ⌊n/p⌋ + ⌊n/p²⌋ + ⌊n/p³⌋ + … for each prime p. For 280! that gives 2^277 × 3^138 × 5^69 × 7^45 × 11^27 × 13^22 × 17^16 × 19^14 × 23^12 × 29^9 × … (59 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 280 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 280! ÷ e, so about 36.8% of all 1.6772 × 10^565 orders are derangements. From about four items on, that share stays close to 1 ÷ e, roughly 37%, however many items there are.

Computing 280! yourself

In Excel or Google Sheets, type =FACT(280). 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(280) returns the exact integer with all 566 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.

Calculate another factorial

How answers are calculated and checked: methodology.

Questions

What is 280 factorial?

280! is the product of every whole number from 1 to 280.

How many digits does 280! have?

566. The number of digits of n! is the whole part of log10(n!) plus one.

How many zeros are at the end of 280!?

69. Count the factors of 5 in the numbers 1 to 280: there are always more factors of 2, so every 5 makes one trailing zero.

Is 280! divisible by 281?

No. 281 is prime and bigger than every factor of 280!, so it cannot divide it (Wilson's theorem says 280! leaves a remainder of 280 when divided by 281).

What is the last non-zero digit of 280!?

4. Strip the 69 trailing zeros and look at the digit that is left at the end.

What is 281! in terms of 280!?

281! = 281 × 280!. Each factorial is the previous one multiplied by the next whole number.