3. Factorials
Factorial is represented by an exclamation mark (!).
'n!', read as 'n factorial', is the product of all natural numbers less than or equal to n.
∴ n!=1×2×... ×n
Exception: Although 0 is not a natural number, 0!=1.
3.1 Power of a prime number in a factorial
Let's look at this with an example. The highest power of 5 that can divide 100!, is the power of 5 when 100! is prime factorised.
100!=1×2×3×... ×100
100! contains 20 multiples of 5 ⇒ 5×1, 5×2, ..., 5×20
In these, there are 4 multiples of 52 ⇒ 25×1, 25×2, 25×3, 25×4
As the multiples of 52 were already counted as multiples of 5, we simply add them one more time.
∴ The highest power of 5 which divides 100!=20+4=24
3.1.1 Successive Division
An easier way to find this is through successive division. The highest power of a prime number x, that divides n! is the sum of quotients when n is successively divided by x (as shown below).

∴ The highest power of 5 which divides 100!=20+4+0=24
Example 9
What is the highest power of 7 that divides 1000!?
Solution

∴ The highest power of 7 which divides 1000!=142+20+2=164
Answer: 164
3.2 Factorials and division of composite numbers
Let
x=apbqcr, where a, b and c are prime numbers. To find the largest power of x that would perfectly divide a given factorial, say n!.
Step 1: Prime factorise x and write it as x=apbqcr
Step 2: Find the highest power of a, b and c that can perfectly divide n!
Step 3: Divide the highest power of a, b and c from Step 2 by p, q and r respectively and note the quotients.
Step 4: The lowest quotient from Step 3 is the answer.
Example 10
What is the highest power of 24 that divides 90!?
Solution
Step 1: 24=23×31
Step 2:

Step 3:
The highest power of 23=Quot(386)=28
The highest power of 31=Quot(144)=44
Step 4: Lowest quotient in step 3 is 28.
∴ The highest power of 24 which divides 90!=28
Answer: 28
3.3 Number of zeroes
The number of zeroes at the end of a factorial will be the highest power of
5 that divides the factorial. This is explained in the example below.
Example 11
When 200! is written as a natural number, how many consecutive zeroes are there in the extreme right of the number?
Solution
We get n zeroes at the end of a number if it is a multiple of 10n.
∴ We need to find the highest power of 10 that divides 200!.
10=21×51
As the power of both the prime factors is the same (which is 1), the larger prime will be occurring fewer number of times in a given factorial.
∴ Highest power of 2 which divides 200! > Highest power of 5 which divides 200!
As we are concerned with the smaller of these powers, the highest power of 5 which divides 200! will be the highest power of 10 which divides 200!.

Number of zeroes at the end of 200! = The highest power of 5 in 200!
=40+8+1=49
Answer: 49
Example 12
If n! has 19 zeroes right before the first non-zero digit, then which of the following could be the value of n?
(1) 75
(2) 83
(3) 87
(4) 90
Solution
As explained above, to find the number of zeroes at the end, we need to find the highest power of 5 that divides n!
We start with the smallest number in the options.

Highest power of 5 that divides 75!=15+3=18
83! has one more 5 multiple (which is 80) than 75!.
Highest power of 5 that divides 83!=18+1=19
∴ 83! will have 19 zeroes at the end.
Answer: 83