Sumwise

Factorial of 415

415! = 92459456435575901208758507163717393274019629720180918942846763875123117380095161961566999882551575708758444650094628742900044951941528184435972423976195736236628213904127728451539228574748647673305124766779332611312871213398658768210508983263956106671545148251739209008011442126922171620813209132669597581547547964609093577216168463437985471180240472386783673164227314948727171094250689544946206162253523460188876565533797336276916978173511323756324007234236208689293245999364928953032391842720295806240118984636690718182035068786669822441743094331531816222349687982563718824264397620542656901315471851578311054867459529655711375162874720515056499204505055999610014930164284986862220668668751898712565668054143136796845099173779318052992883391820378791547009738776757781997852859355143471786307133231857664000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

908 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

415! = 415 × 414 × … × 2 × 1 = 9245945643557590120875850716371739327401…

Facts about 415!

Digits908
Trailing zeros102 (one for every factor 5 × 2)
Stirling estimate≈ Infinity
415! ÷ 414!415

Nearby factorials

413!538149446688643857800817… (903 digits)
414!222793870929098557129538… (906 digits)
416!384631338771995749028435… (911 digits)
417!160391268267922227344857… (914 digits)

What are factorials used for?

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

Counting with 415!

There are 9.2459 × 10^907 different ways to arrange 415 different books on a shelf: 415 choices for the first place, 414 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 415 runners, there are 415 × 414 × 413 = 70,957,530 possible podiums. If the order does not matter, divide by 3! = 6 to get 11,826,255 ways to choose a group of three. Choosing a pair from 415 people can be done in 85,905 ways.

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

How big is 415!?

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

Every prime up to 415 divides 415!. Legendre's formula counts how often: add ⌊n/p⌋ + ⌊n/p²⌋ + ⌊n/p³⌋ + … for each prime p. For 415! that gives 2^408 × 3^205 × 5^102 × 7^68 × 11^40 × 13^33 × 17^25 × 19^22 × 23^18 × 29^14 × … (80 primes in all). The 102 trailing zeros come from pairing the 102 factors of 5 with factors of 2.

Shuffles where nothing stays put

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

Computing 415! yourself

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

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

How many digits does 415! have?

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

How many zeros are at the end of 415!?

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

Is 415! divisible by 416?

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

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

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

What is 416! in terms of 415!?

416! = 416 × 415!. Each factorial is the previous one multiplied by the next whole number.