Sumwise

Factorial of 472

472! = 707563638805013741166597819126723074047630198451659194495419959044698889729827634385114603789213484285917535175692661163275400881746191520646339623454726900583881451338771389332363747789129591736049706629431124545672429165176169630685167459296009799156560989101071042864300472185484457721460641403758764207146433404549177682125043185244042473267531946060158877265316996389003366137614497022089204110311440730375107301872919946377685868297964739953268423350491470858630038034284218099885548782199405325044703163406085561077308160546627691513253513088270458029690256776612492588338890355278579580615700215791268924806046134403083974897840334605922089693188079274742294851943889051639791451725736640270048438949339018817003541804706768568465171082856397294429055686331283198628990761828493274836177685337010651651043725088640857208830301042042018881683634348748436586396145277412492417894226891579368216692775680648744747234254699207346018414755840000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

1059 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

472! = 472 × 471 × … × 2 × 1 = 7075636388050137411665978191267230740476…

Facts about 472!

Digits1059
Trailing zeros115 (one for every factor 5 × 2)
Stirling estimate≈ Infinity
472! ÷ 471!472

Nearby factorials

470!318275054340302701233670… (1054 digits)
471!149907550594282572281058… (1057 digits)
473!334677601154771499571800… (1062 digits)
474!158637182947361690797033… (1065 digits)

What are factorials used for?

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

Counting with 472!

There are 7.0756 × 10^1058 different ways to arrange 472 different books on a shelf: 472 choices for the first place, 471 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 472 runners, there are 472 × 471 × 470 = 104,486,640 possible podiums. If the order does not matter, divide by 3! = 6 to get 17,414,440 ways to choose a group of three. Choosing a pair from 472 people can be done in 111,156 ways.

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

How big is 472!?

472! has 1059 digits, so it is larger than the estimated number of atoms in the observable universe (about 10^80). The digits add up to 4284, 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 472!

Every prime up to 472 divides 472!. Legendre's formula counts how often: add ⌊n/p⌋ + ⌊n/p²⌋ + ⌊n/p³⌋ + … for each prime p. For 472! that gives 2^467 × 3^232 × 5^115 × 7^77 × 11^45 × 13^38 × 17^28 × 19^25 × 23^20 × 29^16 × … (91 primes in all). The 115 trailing zeros come from pairing the 115 factors of 5 with factors of 2.

Shuffles where nothing stays put

A related count is the number of derangements of 472 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 472! ÷ e, so about 36.8% of all 7.0756 × 10^1058 orders are derangements. From about four items on, that share stays close to 1 ÷ e, roughly 37%, however many items there are.

Computing 472! yourself

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

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

How many digits does 472! have?

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

How many zeros are at the end of 472!?

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

Is 472! divisible by 473?

Yes. 473 is not prime, so its factors already appear among the numbers 1 to 472.

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

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

What is 473! in terms of 472!?

473! = 473 × 472!. Each factorial is the previous one multiplied by the next whole number.