*Friday, March 15th, 2019*

We all know what factorials (n!) are. They look friendly and helpful but looks can be deceiving, as many quant problems have taught us. Probably it is because that Factorials are simple looking creatures, most students prefer attempting questions based on them rather than on Permutation & Combination or Probability. I will cover P&C and Probability at a later date but in todayâ€™s post I would like to discuss some fundas related to factorials, which as a matter of fact form the basis of a large number of P&C and Probability problems.

Some of the factorials that might speed up your calculation are:

*0! = 1; 1! = 1; 2! = 2; 3! = 6; 4! = 24; 5! = 120; 6! = 720; 7! = 5040. *

*R(n!) = Last Digit of [ 2 ^{a} x R(a!) x R(b!) ]*

*where n = 5a + b*

Eg 1.1: What is the rightmost non-zero digit of 37! ?

- R (37!) = Last Digit of [ 2
^{7}x R (7!) x R (2!) ] - Â R (37!) = Last Digit of [ 8 x 4 x 2 ] = 4

Eg 1.2: What is the rightmost non-zero digit of 134! ?

- Â R (134!) = Last Digit of [ 2
^{26}x R (26!) x R (4!) ] - Â R (134!) = Last Digit of [ 4 x R (26!) x 4 ]

We need to find out R (26!) = Last Digit of [ 2^{5} x R (5!) x R (1!) ] = Last digit of [ 2 x 2 x 1 ] = 4

- Â R (134!) = Last Digit of [ 4 x 4 x 4 ] = 4

**Â **

*The biggest power of a prime â€˜pâ€™ that divides n! (or in other words, the power of prime â€˜pâ€™ in n!) is given by the sum of quotients obtained by successive division of â€˜nâ€™ by p. *

Eg 2.1: What is the highest power of 7 that divides 1342!

- Â [1342 / 7] = 191
- Â [191 / 7] = 27
- Â [27 / 7] = 3
- Â Power of 7 = 191 + 27 + 3 = 221

Eg 2.2: What is the highest power of 6 that divides 134! ?

As 6 is not a prime number, we will divide it into its prime factors. 3 is the bigger prime, so its power will be the limiting factor. Hence, we need to find out the power of 3 in 134!

- Â [134/3] = 44
- Â [44/3] = 14
- Â [14/3] = 4
- Â [4/3] = 1
- Â Power of 3 in 134! = 44 + 14 + 4 + 1 = 63

Eg 2.3: What is the highest power of 9 that divides 134! ?

As 9 is not a prime number, we will divide it into its prime factors. 9 is actually 3^{2}. The number of 3s available is 63, so the number of 9s available will be [63/2] = 31.

Highest power of 9 that divides 134! is 31.

Highest power of 18 and 36 will also be 31. Highest power of 27 will be [63/3] = 21.

*Note: To find out the highest power of a composite number, always try and find out which number (or prime number) will become the limiting factor. Use that to calculate your answer. In most cases you can just look at a number and say that which one of its prime factors will be the limiting factor. If it is not obvious, then you may need to find it out for two of the prime factors. The above method can be used for doing the same. *

**Â **

*Number of zeroes is given by the sum of the quotients obtained by successive division of â€˜nâ€™ by 5.*

This is actually an extension of Funda 1. Number of ending zeroes is nothing else but the number of times n! is divisible by 10 or in other words, the highest power of 10 that divides n!. 10 is not a prime number and its prime factors are 2 and 5. â€˜5â€™ becomes the limiting factor and leads to the above-mentioned idea.

Eg 3.1: What is the number of ending zeroes in 134! ?

- Â [134/5] = 26
- Â [26/5] = 5
- Â [5/5] = 1
- Â Number of ending zeroes = 26 + 5 + 1 = 32

I hope that this gets you started with factorials and you might start singing this song.

Divisibility Rules for CAT Quantitative Aptitude Preparation

Remainders (Quantitative Aptitude) for CAT Exam Preparation â€“ Free PDF for Download

Baisc Idea of Remainders

Factor Theory

Determining the second last digit and the last two digits

How to Find Number of Trailing Zeros in a Factorial or Product

Application of LCM (Lowest Common Multiple) in solving Quantitative Aptitude Problems

All questions from CAT Exam Quantitative Aptitude – Number Systems

Quantitative Aptitude – Number Systems – Q1: If the product of three consecutive positive integers is 15600 then the sum of the squares of these integers is

Quantitative Aptitude – Number Systems – Q2: If a, b, c are three positive integers such that a and b are in the ratio 3 : 4 while b and c are in the ratio 2:1, then which one of the following is a possible value of (a + b + c)?

Quantitative Aptitude – Number Systems – Q3: The numbers 1, 2,â€¦,9 are arranged in a 3 X 3 square grid in such a way that each number occurs once and the entries along each column, each row, and each of the two diagonals add up to the same value.

**a)** 750+ Videos covering entire CAT syllabus**b)** 2 Live Classes (online) every week for doubt clarification**c)** Study Material & PDFs for practice and understanding**d)** 10 Mock Tests in the latest pattern**e)** Previous Year Questions solved on video

## Leave a Reply