Sumwise

Factorial of 234

234! = 22670150051024339208842996793945853659618105149432332891909162781453188496185286163298606516694886905607365190190959563064612945338703694136857684356961467817193275159683377314353662443780840896397239708288581036699483832395636246310971241224996315914676173236435465798388095261168098119711919219177465172417531870533071210963890951079600651352649259865692984172459046697905169775036847325733034393600000000000000000000000000000000000000000000000000000000

455 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

234! = 234 × 233 × … × 2 × 1 = 2267015005102433920884299679394585365961…

Facts about 234!

Digits455
Trailing zeros56 (one for every factor 5 × 2)
Stirling estimate≈ Infinity
234! ÷ 233!234

Nearby factorials

232!415798210832770977015571… (450 digits)
233!968809831240356376446281… (452 digits)
235!532748526199071971407810… (457 digits)
236!125728652182980985252243… (460 digits)

What are factorials used for?

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

Counting with 234!

There are 2.2670 × 10^454 different ways to arrange 234 different books on a shelf: 234 choices for the first place, 233 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 234 runners, there are 234 × 233 × 232 = 12,649,104 possible podiums. If the order does not matter, divide by 3! = 6 to get 2,108,184 ways to choose a group of three. Choosing a pair from 234 people can be done in 27,261 ways.

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

How big is 234!?

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

Every prime up to 234 divides 234!. Legendre's formula counts how often: add ⌊n/p⌋ + ⌊n/p²⌋ + ⌊n/p³⌋ + … for each prime p. For 234! that gives 2^229 × 3^114 × 5^56 × 7^37 × 11^22 × 13^19 × 17^13 × 19^12 × 23^10 × 29^8 × … (51 primes in all). The 56 trailing zeros come from pairing the 56 factors of 5 with factors of 2.

Shuffles where nothing stays put

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

Computing 234! yourself

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

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

How many digits does 234! have?

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

How many zeros are at the end of 234!?

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

Is 234! divisible by 235?

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

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

6. Strip the 56 trailing zeros and look at the digit that is left at the end.

What is 235! in terms of 234!?

235! = 235 × 234!. Each factorial is the previous one multiplied by the next whole number.