CAT Practice : Number System: Factorial

You are here: Home  CAT Questionbank   CAT Quant  Number System: Factorial  Question 7
We can find the number of trailing zeroes a factorial have. Can you find a number that has a specific number of trailing zeroes? Can you give a certain number of trailing zeroes that are not present in any factorial?

Factorials - Trailing zeroes

    Q.7: Find the least number n such that no factorial has n trailing zeroes, or n + 1 trailing zeroes or n + 2 trailing zeroes.
    1. 153
    2. 126
    3. 624
    4. 18

 

  • Correct Answer
    Choice A. 153

Detailed Solution

The previous question includes a detailed discussion on how to find the number of trailing zeroes of n!, for any natural number n.

We see that 24! has = 4 zeroes
25! ends with = 6 zeroes. There is no natural number m such that m! has exactly 5 zeroes.

Similarly, we see that 49! ends with = 10 zeroes, whereas 50! ends with = 12 zeroes. No factorial ends with 11 zeroes.

So, any time we have a multiple of 25, we 'skip' a zero. This is because a multiple of 25 adds two zeroes to the factorial.

Extrapolating this, we can see that 125 might actually 'skip' two zeroes. 124! ends with = 24 + 4 = 28 zeros, whereas 125! has = 25 + 5 + 1 = 31 zeros. There is no factorial with 29 or 30 zeros.

In order to jump three zeros, think about what we need to look at. Every multiple of 25 gives us one 'skipped' zero. Every multiple of 125 gives us two 'skipped' zeroes.

In order to have three skipped zeroes, we need to look at 624! and 625!
624! has = 124 + 24 + 4 = 152 zeros
625! has = 125 + 25 + 5 + 1 = 156 zeros

There is no factorial with 153, 154 or 155 zeros. Or the least value of n such that no factorial ends with n, (n + 1) or (n + 2) zeroes is 153.

Correct Answer: 153



Our Online Course, Now on Google Playstore!

2IIM's App

Fully Functional Course on Mobile

All features of the online course, including the classes, discussion board, quizes and more, on a mobile platform.


Cache Content for Offline Viewing

Download videos onto your mobile so you can learn on the fly, even when the network gets choppy!

Get it on Google Play
Visit Piverb.com
Visit Wizako.com

More questions from Number System - Factorial

  1. Factorial Base 6, Base 8 math
  2. Factorial, factors
  3. Factorials - Basic
  4. Factorials - Basic
  5. Factorials - Trailing zeroes
  6. Factorials - Basic
  7. Factorials - Trailing zeroes
  8. Factorials - Base 8
  9. Factorials and Factors
This idea is so good that it comes with an exclamation mark. N! holds marvels that you might not have noticed before. Enter here to see those.