Solution | Factorial fun | Divisibility & Induction (2024)

We denote the product of the first \(20\) natural numbers by \(20!\) and call this \(20\) factorial.

  1. What is the highest power of \(5\) which is a divisor of \(20\) factorial?

We have \(20! = 20 \times 19 \times 18 \times \dotsm \times 3 \times 2 \times 1\).

Since \(5\) is a prime number, we can just add the highest power of \(5\) dividing each of the numbers \(1\), \(2\), \(3\), …, \(20\). This is \(0\) for each number not divisible by \(5\). There are only four numbers in this range (\(5\), \(10\), \(15\), \(20\)) that are divisible by \(5^1\), and none of them is divisible by \(5^2\). So the highest power of \(5\) dividing \(20!\) is \(5^4\).

Just how many factors does \(20!\) have altogether?

The first thing we need to do is find the prime factorisation of \(20!\). As \(20!=20 \times 19 \times 18 \times \dotsm \times 3 \times 2 \times 1\), we can can do this by finding the prime factorisation of each of the numbers \(2\), \(3\), …, \(20\) (ignoring \(1\) since it won’t contribute any primes) and multiplying them together.

NumberPrime factorisation
\(2\)\(2\)
\(3\)\(3\)
\(4\)\(2^2\)
\(5\)\(5\)
\(6\)\(2 \times 3\)
\(7\)\(7\)
\(8\)\(2^3\)
\(9\)\(3^2\)
\(10\)\(2 \times 5\)
\(11\)\(11\)
\(12\)\(2^2 \times 3\)
\(13\)\(13\)
\(14\)\(2 \times 7\)
\(15\)\(3 \times 5\)
\(16\)\(2^4\)
\(17\)\(17\)
\(18\)\(2 \times 3^2\)
\(19\)\(19\)
\(20\)\(2^2 \times 5\)

Multiplying the prime factorisations in the right-hand column together and simplifying, we get \[20!=2^{18} \times 3^8 \times 5^4 \times 7^2 \times 11 \times 13 \times 17 \times 19.\]

Now we can use this to calculate the number of divisors of \(20!\). Each divisor will have a unique prime factorisation, which must be ‘contained’ within the prime factorisation of \(20!\). Let \(m\) be a divisor of \(20!\). Then there are nineteen possible values for the highest power of \(2\) dividing \(m\) (\(0\), \(1\), …, \(18\)). Similarly, there are nine possible values for the highest power of \(3\) dividing \(m\) (\(0\), \(1\), …, \(8\)). Continuing in this way for all the prime factors of \(20!\), we can calculate that there are \(19 \times 9 \times 5 \times 3 \times 2 \times 2 \times 2 \times 2 = 41040\) divisors of \(20!\).

  1. Show that the highest power of \(p\) that divides \(500!\), where \(p\) is a prime number and \(p^t<500 < p^{t+1}\), is \[\lfloor 500/p\rfloor+\lfloor 500/p^2\rfloor+\dotsb+\lfloor 500/p^t\rfloor,\] where \(\lfloor x\rfloor\) (the floor of \(x\)) means to round \(x\) down to the nearest integer. (For example, \(\lfloor 3\rfloor=3\), \(\lfloor 4.7\rfloor=4\), \(\lfloor -2.7\rfloor=-3\), and so on.)

We can see that \(\lfloor 500/p\rfloor\) is the number of multiples of \(p\) that are less than or equal to \(500\). For example, if \(p\) goes into \(500\) “seven and a bit” times, this means that \(p\), \(2p\), …, \(7p\) are less than \(500\) but \(8p\) is greater than \(500\).

Similarly, \(\lfloor 500/p^2\rfloor\) is the number of multiples of \(p^2\) that are less than or equal to \(500\), and so on.

Now, we can work out the highest power of \(p\) that divides \(500!\) by considering the number of multiples of \(p\), \(p^2\), …, \(p^t\) less than \(500\).

We need to count all the multiples of \(p\). We need to count the multiples of \(p^2\) twice, since they contribute \(2\) to the exponent, but we have already counted them once as they are also multiples of \(p\) so we need to count them just once more. Similarly, we need to count the multiples of \(p^3\) three times in total, but we have already counted them twice (once in the multiples of \(p\) and once in the multiples of \(p^2\)), so we need to count them just once more. And so on for the remaining powers. So the highest power of \(p\) that divides \(500!\) has exponent \[\left\lfloor \frac{500}{p}\right\rfloor+\left\lfloor \frac{500}{p^2}\right\rfloor+ \dotsb +\left\lfloor \frac{500}{p^t}\right\rfloor\]

Note that we had to assume that \(p\) was prime. What would have gone wrong if it had not been?

  1. How many factors does \(n!\) have?

We can generalise the above result beyond the case of \(500!\). The highest power of \(p\) that divides \(n!\), where \(p^t \leq n < p^{t+1}\), is equal to \[\left\lfloor \frac{n}{p}\right\rfloor + \left\lfloor \frac{n}{p^2}\right\rfloor + \dotsb + \left\lfloor \frac{n}{p^t}\right\rfloor,\] by exactly the same reasoning as in (b).

We can use this information to find the prime factorisation of \(n!\). Let \(P\) be the largest prime with \(P\leq n\). Also, for any number \(m\), let \(t_m\) be the integer such that \(m^{t_m} \leq n< m^{t_m+1}\).

Using the information from part (b), we can then calculate the prime factorisation of \(n!\): we have\[\begin{align*}n! &= 2^{\left(\lfloor n/2\rfloor+\lfloor n/2^2\rfloor + \dotsb +\lfloor n/2^{t_2}\rfloor\right)} \times3^{\left(\lfloor n/3\rfloor+\lfloor n/3^2\rfloor + \dotsb +\lfloor n/3^{t_3}\rfloor\right)} \times \dotsm\\&\qquad\timesP^{\left(\lfloor n/P\rfloor+\lfloor n/P^2\rfloor + \dotsb +\lfloor n/P^{t_P}\rfloor\right)}.\end{align*}\]

Then we can use the same reasoning as at the end of part (a) to calculate the number of factors of \(n!\): we get

\[\begin{align*}&\left(1 + \left\lfloor \frac{n}{2}\right\rfloor+\left\lfloor \frac{n}{2^2}\right\rfloor+ \dotsb + \left\lfloor \frac{n}{2^{t_2}}\right\rfloor\right) \times \left(1 + \left\lfloor \frac{n}{3}\right\rfloor + \left\lfloor \frac{n}{3^2}\right\rfloor + \dotsb + \left\lfloor \frac{n}{3^{t_3}}\right\rfloor\right) \times \dotsm\\&\qquad\times \left(1 + \left\lfloor \frac{n}{P}\right\rfloor + \left\lfloor \frac{n}{P^2}\right\rfloor + \dotsb +\left\lfloor \frac{n}{P^{t_P}}\right\rfloor\right).\end{align*}\]

We can check that this expression works for the example of \(20!\):

\[\begin{align*}&\left(1 + \left\lfloor \frac{20}{2}\right\rfloor+\left\lfloor \frac{20}{4}\right\rfloor+\left\lfloor \frac{20}{8}\right\rfloor+\left\lfloor \frac{20}{16}\right\rfloor \right) \times \left(1 + \left\lfloor \frac{20}{3}\right\rfloor + \left\lfloor \frac{20}{9}\right\rfloor\right) \times \\&\qquad \left(1 + \left\lfloor \frac{20}{5}\right\rfloor\right) \times \left(1 + \left\lfloor \frac{20}{7}\right\rfloor\right) \times \left(1 + \left\lfloor \frac{20}{11}\right\rfloor\right) \times \\&\qquad \left(1 + \left\lfloor \frac{20}{13}\right\rfloor\right) \times \left(1 + \left\lfloor \frac{20}{17}\right\rfloor\right) \times \left(1 + \left\lfloor \frac{20}{19}\right\rfloor\right)\\&\quad=(10+5+2+1+1) \times (6+2+1) \times (4+1) \times (2+1) \times\\&\qquad (1+1) \times (1+1) \times (1+1) \times (1+1)\\&\quad=19 \times 9 \times 5 \times 3 \times 2 \times 2 \times 2 \times 2\\&\quad= 41040.\end{align*}\]

This is the same answer as in part (a), suggesting that this formula works!

Solution | Factorial fun | Divisibility & Induction (2024)

FAQs

How to solve 2 factorial? ›

What is a Factorial?
  1. 2 factorial is 2! = 2 x 1 = 2. -- There are 2 different ways to arrange the numbers 1 through 2. ...
  2. 4 factorial is 4! = 4 x 3 x 2 x 1 = 24. -- There are 24 different ways to arrange the numbers 1 through 4. ...
  3. 5 factorial is 5! = 5 x 4 x 3 x 2 x 1 = 120.
  4. 0 factorial is a definition: 0! = 1.
Oct 7, 2023

How to solve 10 factorial? ›

In the question, we are asked to find the factorial of 10. Therefore, we multiply all the numbers up to 10, that is 1, 2, 3, 4, 5, 6, 7, 8, 9, 10. Therefore, we get the factorial of 10 as 3628800.

How to find 15 factorial? ›

=15×14×13×12... ×1.

How to quickly solve factorials? ›

To do factorials, start by determining which number you're computing the factorial for, which will be the number that's in front of the exclamation point. Then, write out all of the numbers that descend sequentially from that number until you get to 1. Finally, multiply all of the numbers together.

What is the formula for solving factorial? ›

How to Calculate Factorial? The factorial of n is denoted by n! and calculated by multiplying the integer numbers from 1 to n. The formula for n factorial is n! = n × (n - 1)!.

How to find the factorial of a number easily? ›

Factorial of a positive integer (number) is the sum of multiplication of all the integers smaller than that positive integer. For example, factorial of 5 is 5 * 4 * 3 * 2 * 1 which equals to 120.

What is the factorial rule? ›

In short, a factorial is a function that multiplies a number by every number below it till 1. For example, the factorial of 3 represents the multiplication of numbers 3, 2, 1, i.e. 3! = 3 × 2 × 1 and is equal to 6.

What number is 12 factorial? ›

Factorial
12479001600
136227020800
1487178291200
151307674368000
1620922789888000
30 more rows

Does 52 factorial exist? ›

The number of possible ways to order a pack of 52 cards is '52! ' (“52 factorial”) which means multiplying 52 by 51 by 50… all the way down to 1. The number you get at the end is 8×10^67 (8 with 67 '0's after it), essentially meaning that a randomly shuffled deck has never been seen before and will never be seen again.

How many zeros are in 25 factorial? ›

25! ∴ No. of zeroes in the end is 6.

How to calculate 20 factorial? ›

Solution: A factorial of a number is the function that multiplies the number by every natural number below it. The Factorial of n is denoted by n! Thus, the factorial of 20 is 2432902008176640000.

What does 2 factorial mean? ›

In mathematics, the double factorial of a number n, denoted by n‼, is the product of all the positive integers up to n that have the same parity (odd or even) as n. That is, The fifteen different chord diagrams on six points, or equivalently the fifteen different perfect matchings on a six-vertex complete graph.

What is a 2 way full factorial? ›

In a 2-level full factorial design, each experimental factor has only two levels. The experimental runs include all combinations of these factor levels.

How do you simplify two Factorials? ›

Simplify factorial quotients by canceling like integers in the numerator and denominator. Multiply all the remaining integers in the numerator. Multiply all the remaining integers in the denominator. Divide the product in the numerator by the product in the denominator.

Top Articles
Buddy Pokémon
What is Third Party Data?
It may surround a charged particle Crossword Clue
Ffxiv Palm Chippings
1970 Chevelle Ss For Sale Craigslist
Jonathon Kinchen Net Worth
Find All Subdomains
Puretalkusa.com/Amac
DIN 41612 - FCI - PDF Catalogs | Technical Documentation
Richmond Va Craigslist Com
The Connecticut Daily Lottery Hub
Bestellung Ahrefs
Best Fare Finder Avanti
Guidewheel lands $9M Series A-1 for SaaS that boosts manufacturing and trims carbon emissions | TechCrunch
Nba Rotogrinders Starting Lineups
Espn Horse Racing Results
Equipamentos Hospitalares Diversos (Lote 98)
24 Hour Drive Thru Car Wash Near Me
Willam Belli's Husband
Vintage Stock Edmond Ok
Site : Storagealamogordo.com Easy Call
Arre St Wv Srj
12 Top-Rated Things to Do in Muskegon, MI
TeamNet | Agilio Software
Anonib Oviedo
Keyn Car Shows
Violent Night Showtimes Near Johnstown Movieplex
Marilyn Seipt Obituary
Copper Pint Chaska
Elijah Streams Videos
Nikki Catsouras: The Tragic Story Behind The Face And Body Images
Puffin Asmr Leak
Franklin Villafuerte Osorio
134 Paige St. Owego Ny
Graphic Look Inside Jeffrey Dresser
Tgh Imaging Powered By Tower Wesley Chapel Photos
Powerspec G512
Usf Football Wiki
Can You Buy Pedialyte On Food Stamps
Devotion Showtimes Near The Grand 16 - Pier Park
Lovein Funeral Obits
Complete List of Orange County Cities + Map (2024) — Orange County Insiders | Tips for locals & visitors
Amc.santa Anita
Vérificateur De Billet Loto-Québec
Nurses May Be Entitled to Overtime Despite Yearly Salary
German American Bank Owenton Ky
Craigslist Pet Phoenix
Assignation en paiement ou injonction de payer ?
O'reilly's On Marbach
Tyrone Dave Chappelle Show Gif
Bomgas Cams
Emmi-Sellers
Latest Posts
Article information

Author: Msgr. Benton Quitzon

Last Updated:

Views: 5714

Rating: 4.2 / 5 (63 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Msgr. Benton Quitzon

Birthday: 2001-08-13

Address: 96487 Kris Cliff, Teresiafurt, WI 95201

Phone: +9418513585781

Job: Senior Designer

Hobby: Calligraphy, Rowing, Vacation, Geocaching, Web surfing, Electronics, Electronics

Introduction: My name is Msgr. Benton Quitzon, I am a comfortable, charming, thankful, happy, adventurous, handsome, precious person who loves writing and wants to share my knowledge and understanding with you.