Last visit was: 26 Apr 2026, 04:36 It is currently 26 Apr 2026, 04:36
Close
GMAT Club Daily Prep
Thank you for using the timer - this advanced tool can estimate your performance and suggest more practice questions. We have subscribed you to Daily Prep Questions via email.

Customized
for You

we will pick new questions that match your level based on your Timer History

Track
Your Progress

every week, we’ll send you an estimated GMAT score based on your performance

Practice
Pays

we will pick new questions that match your level based on your Timer History
Not interested in getting valuable practice questions and articles delivered to your email? No problem, unsubscribe here.
Close
Request Expert Reply
Confirm Cancel
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 26 Apr 2026
Posts: 109,832
Own Kudos:
Given Kudos: 105,892
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,832
Kudos: 811,335
 [16]
1
Kudos
Add Kudos
15
Bookmarks
Bookmark this Post
User avatar
CEO2021
Joined: 13 Feb 2020
Last visit: 16 Apr 2026
Posts: 50
Own Kudos:
18
 [1]
Given Kudos: 10
Posts: 50
Kudos: 18
 [1]
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 23 Apr 2026
Posts: 16,441
Own Kudos:
79,414
 [2]
Given Kudos: 485
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,441
Kudos: 79,414
 [2]
1
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
User avatar
rdrdrd1201
Joined: 13 Nov 2019
Last visit: 10 Jun 2024
Posts: 43
Own Kudos:
Given Kudos: 15
GMAT 1: 720 Q49 V38
Products:
GMAT 1: 720 Q49 V38
Posts: 43
Kudos: 11
Kudos
Add Kudos
Bookmarks
Bookmark this Post
KarishmaB
CEO2021
Bunuel
m is a positive integer. m! is ending with k zeros, (m+2)! is ending with k+2 zeros. Find the number of possible values of m, if 90 ≤ m ≤ 190.

(A) 2
(B) 3
(C) 4
(D) 6
(E) 8


Are You Up For the Challenge: 700 Level Questions

chetan2u KarishmaB maam

i Am getting m= 98 , 123, 148 & 173 (4 nos.)

What are the two other values

Please help!!!! :?

If m! has k zeroes, (m+2)! will have k+2 zeroes only if (m+1) or (m+2) is a multiple of 25. This will bring in two more 5s and hence we will be able to make 2 more 10s.
Also, note that (m+1) or (m+2) should not be a multiple of 125 because that will increase the number of 0s by 3.

Between 90 and 190, we have 3 multiples of 25 (but not of 125). They are 100, 150 and 175. So either (m+1) or (m+2) could take any of these three values.
So m could be 98 or 99 or 148 or 149 or 173 or 174.
Total 6 values possible.

Answer (D)

Hi KarishmaB, Would you mind explaining how can we gettot he conclusion that If m! has k zeroes, (m+2)! will have k+2 zeroes only if (m+1) or (m+2) is a multiple of 25?
User avatar
Sanyami19
Joined: 02 Oct 2021
Last visit: 05 Nov 2022
Posts: 12
Own Kudos:
Given Kudos: 163
Posts: 12
Kudos: 1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Hi Karishma mam,

If m! has k zeroes, (m+2)! will have k+2 zeroes only if (m+1) or (m+2) is a multiple of 25. This will bring in two more 5s and hence we will be able to make 2 more 10s.

To make 2 more 10s we need two 2's and two 5's. As per your explanation, as 150 is multiple of 25, but it gives only one of the 2. And since it is even, the consecutive no. will be odd (+1/-1). So if 150 is either value of (m+1) or (m+2), it will be a pair of odd even number which will add only one 2 and two 5s. So 150 is not the option.

Similarly, 175 must be (m+1) and 176 must be (m+2) since it is divisible by 4 so it will add two 2s. If we consider 175 as (m+2), then (m+1) will be 174 which will add only 1 of the 2s. Hence, 175 gives only 1 value of m.

As for 100 - 100 itself adds 2 pairs of (2*5) so it can give 2 values of M.

So final answer would be 3. Do you agree?
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 23 Apr 2026
Posts: 16,441
Own Kudos:
79,414
 [2]
Given Kudos: 485
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,441
Kudos: 79,414
 [2]
2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
rdrdrd1201

Hi KarishmaB, Would you mind explaining how can we gettot he conclusion that If m! has k zeroes, (m+2)! will have k+2 zeroes only if (m+1) or (m+2) is a multiple of 25?

Starting from 1, a factor of 5 appears in every fifth term. 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, ...

Consider this:
1! = 1
2! = 2
3! = 6
4! = 24
5! = 120
6! = 720
7! = 5040
8! = 40320
9! = 362880
10! = 3628800
...


To make a 10 (i.e. a 0 at the end), you need a 2 and a 5. Till 4!, we have no 5s so we can make no 10s.
The moment we get 5! = 5*4*3*2*1, we get a 5 in the mix. Now 5*2 will combine to give us a 0.

Now the next 4 numbers 6, 7, 8 and 9 when multiplied by the previous terms will not give any extra 0s because they don't have 5 as a factor (we have more than enough 2s). But when we bring in 10 in 10!, we get another 5 and hence another 0.
So 10! ends with two 0s. Then 11!, 12!, 13! and 14! will end with two 0s only because we don't have any new 5s. The moment, we come to 15!, there is another 5 in the mix and now we will have three 0s at the end. From 16! to 19! we will continue having three 0s at the end.

Then 20! will have four 0s at the end and so will 21! to 24!

What happens at 25!? 25 has two 5s so it will bring in two new 0s and 25! will end with six 0s.

This is the logic.


Now, if m! has k zeroes and (m+2)! has k+2 zeroes, it means a multiple of 25 appeared either at (m+1) or at (m+2) which made the two extra 0s.
It is like saying that 23! has four 0s while 25! has six 0s (Here, m = 23 and m+2 is a multiple of 25)
OR 24! has four 0s while 26! has six 0s (Here m = 24 and m+1 is a multiple of 25)
So, considering a multiple of 25, m can take 2 previous values (here they are 24 and 23).

In our question, there are 3 multiples of 25 (that will add two 0s i.e. 100, 150 and 175).
125 will add three 0s so we should ignore it.

So m can take 2 previous values: 98, 99, 148, 149, 173, 174
In all, 6 values.
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 23 Apr 2026
Posts: 16,441
Own Kudos:
79,414
 [1]
Given Kudos: 485
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,441
Kudos: 79,414
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Sanyami19
Hi Karishma mam,

If m! has k zeroes, (m+2)! will have k+2 zeroes only if (m+1) or (m+2) is a multiple of 25. This will bring in two more 5s and hence we will be able to make 2 more 10s.

To make 2 more 10s we need two 2's and two 5's. As per your explanation, as 150 is multiple of 25, but it gives only one of the 2. And since it is even, the consecutive no. will be odd (+1/-1). So if 150 is either value of (m+1) or (m+2), it will be a pair of odd even number which will add only one 2 and two 5s. So 150 is not the option.

Similarly, 175 must be (m+1) and 176 must be (m+2) since it is divisible by 4 so it will add two 2s. If we consider 175 as (m+2), then (m+1) will be 174 which will add only 1 of the 2s. Hence, 175 gives only 1 value of m.

As for 100 - 100 itself adds 2 pairs of (2*5) so it can give 2 values of M.

So final answer would be 3. Do you agree?

When we are considering 150!, we already have plenty of 2s to go around. The new numbers needn't bring in the 2s. Every second number (2, 4, 6, 8, 10, 12...) already brought in a 2. We are far far short of 5s. e.g. in 5! = 1*2*3*4*5, we already have three 2s but we have only one 5 so I can make only one 10. If you give me another two 5s, I can easily make another two 10s. 25 * 5! will have three 0s at the end.
Hope this makes sense now.
User avatar
Sanyami19
Joined: 02 Oct 2021
Last visit: 05 Nov 2022
Posts: 12
Own Kudos:
Given Kudos: 163
Posts: 12
Kudos: 1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
KarishmaB
Sanyami19
Hi Karishma mam,

If m! has k zeroes, (m+2)! will have k+2 zeroes only if (m+1) or (m+2) is a multiple of 25. This will bring in two more 5s and hence we will be able to make 2 more 10s.

To make 2 more 10s we need two 2's and two 5's. As per your explanation, as 150 is multiple of 25, but it gives only one of the 2. And since it is even, the consecutive no. will be odd (+1/-1). So if 150 is either value of (m+1) or (m+2), it will be a pair of odd even number which will add only one 2 and two 5s. So 150 is not the option.

Similarly, 175 must be (m+1) and 176 must be (m+2) since it is divisible by 4 so it will add two 2s. If we consider 175 as (m+2), then (m+1) will be 174 which will add only 1 of the 2s. Hence, 175 gives only 1 value of m.

As for 100 - 100 itself adds 2 pairs of (2*5) so it can give 2 values of M.

So final answer would be 3. Do you agree?

When we are considering 150!, we already have plenty of 2s to go around. The new numbers needn't bring in the 2s. Every second number (2, 4, 6, 8, 10, 12...) already brought in a 2. We are far far short of 5s. e.g. in 5! = 1*2*3*4*5, we already have three 2s but we have only one 5 so I can make only one 10. If you give me another two 5s, I can easily make another two 10s. 25 * 5! will have three 0s at the end.
Hope this makes sense now.

But why are we considering 150! in the first place. Since we have simplified the Q. to the form (m+2)*(m+1)*m! such that the product of (m+2) * (m+1) must give us 2 trailing zeros . So 150 = 25*2*3 and now 150 gives only 1 two so only 1 trailing zero. Can you pls reconsider your response and let me where my approach is incorrect.
User avatar
ThatDudeKnows
Joined: 11 May 2022
Last visit: 27 Jun 2024
Posts: 1,070
Own Kudos:
Given Kudos: 79
Expert
Expert reply
Posts: 1,070
Kudos: 1,030
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel
m is a positive integer. m! is ending with k zeros, (m+2)! is ending with k+2 zeros. Find the number of possible values of m, if 90 ≤ m ≤ 190.

(A) 2
(B) 3
(C) 4
(D) 6
(E) 8


Adding a zero at the end means adding another multiple of 10.
In order to go from k zeros to k+1 zeros, we'd need to add one multiple of 10, which can be achieved by adding one multiple of 2 and one multiple of 5.
In order to go from k zeros to k+2 zeros, we need to add TWO multiples of 10, so we need TWO 2s and TWO 5s.
We have plenty of 2s, so the 5s are the limiter. Let's think about how we can add two 5s (but not more than two 5s or we will be adding three zeros and we don't want that).

As we slide m up the number line, there will never be a time when m and m+2 are separated by two different numbers each of which is a multiple of 5, so that means the only way to get exactly TWO 5s between m and m+2 is to get them both at the same time. That only happens at multiples of 25 that aren't also multiples of 125 (multiples of 125 will have three 5s, so they will add three zeros). What are the multiples of 25 between 90 and 190 that aren't also multiples of 125? 100, 150, 175.

We want to count the ways that m is less than those cutoffs and m+2 is equal to or greater than those cutoffs.
That occurs when m = 98, 99, 148, 149, 173, and 174.
Six ways.

Answer choice D.
User avatar
bumpbot
User avatar
Non-Human User
Joined: 09 Sep 2013
Last visit: 04 Jan 2021
Posts: 38,985
Own Kudos:
Posts: 38,985
Kudos: 1,118
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Automated notice from GMAT Club BumpBot:

A member just gave Kudos to this thread, showing it’s still useful. I’ve bumped it to the top so more people can benefit. Feel free to add your own questions or solutions.

This post was generated automatically.
Moderators:
Math Expert
109832 posts
Tuck School Moderator
852 posts