Last visit was: 24 Apr 2026, 21:21 It is currently 24 Apr 2026, 21:21
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
duahsolo
Joined: 02 Jun 2015
Last visit: 31 Jul 2023
Posts: 143
Own Kudos:
773
 [41]
Given Kudos: 1,196
Location: Ghana
Posts: 143
Kudos: 773
 [41]
3
Kudos
Add Kudos
38
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
syahasa2
Joined: 26 Mar 2016
Last visit: 26 May 2017
Posts: 57
Own Kudos:
56
 [5]
Given Kudos: 61
Location: Greece
GMAT 1: 710 Q51 V34
GPA: 2.9
Products:
GMAT 1: 710 Q51 V34
Posts: 57
Kudos: 56
 [5]
3
Kudos
Add Kudos
2
Bookmarks
Bookmark this Post
General Discussion
User avatar
abhimahna
User avatar
Board of Directors
Joined: 18 Jul 2015
Last visit: 06 Jul 2024
Posts: 3,481
Own Kudos:
5,779
 [4]
Given Kudos: 346
Status:Emory Goizueta Alum
Products:
Expert
Expert reply
Posts: 3,481
Kudos: 5,779
 [4]
1
Kudos
Add Kudos
3
Bookmarks
Bookmark this Post
User avatar
Abhishek009
User avatar
Board of Directors
Joined: 11 Jun 2011
Last visit: 17 Dec 2025
Posts: 5,903
Own Kudos:
5,454
 [4]
Given Kudos: 463
Status:QA & VA Forum Moderator
Location: India
GPA: 3.5
WE:Business Development (Commercial Banking)
Posts: 5,903
Kudos: 5,454
 [4]
3
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
duahsolo
If x = a!, which of the following values of a is the least possible value for which the last 8 digits of the integer x will all be zero?
A) 21
B) 29
C) 38
D) 40
E) 100

a! must have 8 trailing zeroes...

We know that in order to have 8 trailing zero's we must decide a by 5 and continue the process till be get answer 8 or More than 8

a/5 = 8

So, a ~ 40

Or, a must be close to 40...

Check options close to 40 , Only option (C) and (D) in this case...

Check option (C)

38/5 = 7
7/5 = 1

So, Option (C) is correct...


PS: I just used approximation to arrive at the answer quickly
avatar
Krasniqi123
Joined: 05 Feb 2016
Last visit: 22 Jun 2021
Posts: 1
Given Kudos: 7
Posts: 1
Kudos: 0
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Why should we find the No. of 5s in a!. I don't understand.
And what do you mean by 5s? For example, number 21 has 5,10,15,20 - so, 4 times 5s. Is this what you mean by the number of 5s?
User avatar
abhimahna
User avatar
Board of Directors
Joined: 18 Jul 2015
Last visit: 06 Jul 2024
Posts: 3,481
Own Kudos:
5,779
 [1]
Given Kudos: 346
Status:Emory Goizueta Alum
Products:
Expert
Expert reply
Posts: 3,481
Kudos: 5,779
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Krasniqi123
Why should we find the No. of 5s in a!. I don't understand.
And what do you mean by 5s? For example, number 21 has 5,10,15,20 - so, 4 times 5s. Is this what you mean by the number of 5s?

One zero will come when we multiply a number with 10.

Now, 10 = 2 *5

Out of the 2 and 5, we will always have the number of 5s less than the number of 2's.

Hence, if we find the number of 5's we will atleast have that many 2's but the vice viersa is not true.

hence, we are find the number of 5's

Think it like this :

in 10!, we will have more 2's than 5's.

So, I can say 10/5 = 2 5's are present in 10!

if we find the number of 2's, I will get 10/2 = 5 / 2= 2 or 5+2 = 7 2's. But since we have only 2 5's we have only two zero's at the end of 10!.

I hope the concept is clear now.
User avatar
Abhishek009
User avatar
Board of Directors
Joined: 11 Jun 2011
Last visit: 17 Dec 2025
Posts: 5,903
Own Kudos:
5,454
 [1]
Given Kudos: 463
Status:QA & VA Forum Moderator
Location: India
GPA: 3.5
WE:Business Development (Commercial Banking)
Posts: 5,903
Kudos: 5,454
 [1]
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
Krasniqi123
Why should we find the No. of 5s in a!. I don't understand.
And what do you mean by 5s? For example, number 21 has 5,10,15,20 - so, 4 times 5s. Is this what you mean by the number of 5s?

Go through the concept on Factorials in our GMAT Quantz Book Here -

math-number-theory-88376.html#p666609

Hope this will surely help you..
User avatar
mvictor
User avatar
Board of Directors
Joined: 17 Jul 2014
Last visit: 14 Jul 2021
Posts: 2,118
Own Kudos:
1,277
 [1]
Given Kudos: 236
Location: United States (IL)
Concentration: Finance, Economics
GMAT 1: 650 Q49 V30
GPA: 3.92
WE:General Management (Transportation)
Products:
GMAT 1: 650 Q49 V30
Posts: 2,118
Kudos: 1,277
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
duahsolo
If x = a!, which of the following values of a is the least possible value for which the last 8 digits of the integer x will all be zero?
A) 21
B) 29
C) 38
D) 40
E) 100

i think this question is testing our knowledge of trailing zeroes...
to have 8 digits of zero in the end, we need to have 8 factors of two, and 8 factors of 5.
let's see.
since we can very fast get to 8 factors of two, let's see how we can get to 8 factors of 5...
5 (1),... 10 (2), ... 15 (3), ... 20 (4), ... 25 (6), ... 30 (7), ... 35 (8).
A, B are right away out.
since we need the least possible value, 38 works...
C is the answer.
User avatar
vitaliyGMAT
Joined: 13 Oct 2016
Last visit: 26 Jul 2017
Posts: 297
Own Kudos:
895
 [1]
Given Kudos: 40
GPA: 3.98
Posts: 297
Kudos: 895
 [1]
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
duahsolo
If x = a!, which of the following values of a is the least possible value for which the last 8 digits of the integer x will all be zero?
A) 21
B) 29
C) 38
D) 40
E) 100

We have infinite series which sum approximately equals to \(8\)

\(\frac{a}{5} + \frac{a}{5^2} + \frac{a}{5^3} + … ≈ 8\)

\(\frac{a}{5} / (1 - \frac{1}{5}) ≈ 8\)

\(a ≈ 32\)

\([\frac{32}{5}] + [\frac{32}{25}] = 7\)

From 30 to 34 to 34 there are 7 trailing zeros.

From 35 to 39 there are 8 trailing zeros.

Answer C.
User avatar
JeffTargetTestPrep
User avatar
Target Test Prep Representative
Joined: 04 Mar 2011
Last visit: 05 Jan 2024
Posts: 2,974
Own Kudos:
8,711
 [2]
Given Kudos: 1,646
Status:Head GMAT Instructor
Affiliations: Target Test Prep
Expert
Expert reply
Posts: 2,974
Kudos: 8,711
 [2]
2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
duahsolo
If x = a!, which of the following values of a is the least possible value for which the last 8 digits of the integer x will all be zero?
A) 21
B) 29
C) 38
D) 40
E) 100

We are given that x = a! and need to determine the least value for a that will create 8 trailing zeros in integer x. We must remember that a trailing zero is created with each 5-and-2 pair within the prime factorization of a!. Furthermore, since we know there are fewer 5s in a! (or any factorial) than 2s, we can find the number of 5s and thus be able to determine the number of 5-and-2 pairs.

Let’s test answer choice A:

To determine the number of 5s within 21!, we can use the following shortcut in which we divide 21 by 5, and then divide the quotient of 21/5 by 5 and continue this process until we no longer get a nonzero quotient:

21/5 = 4 (we can ignore the remainder)

Since 4/5 does not produce a nonzero quotient, we can stop.

21! contains four 5-and-2 pairs, and thus 21! does not contain 8 trailing zeros.

Next we can test answer choice B:

29/5 = 5 (we can ignore the remainder)

5/5 =1 (we can ignore the remainder)

Since 1/5 does not produce a nonzero quotient, we can stop.

The final step is to add up our quotients; that sum represents the number of factors of 5 within 29!. Thus, there are 5 + 1 = 6 factors of 5 within 29!

29! contains six 5-and-2 pairs, and thus 29! does not contain 8 trailing zeros.

Next we can test answer choice C:

38/5 = 7 (we can ignore the remainder)

7/5 =1 (we can ignore the remainder)

Since 1/5 does not produce a nonzero quotient, we can stop.

The final step is to add up our quotients; that sum represents the number of factors of 5 within 38!. Thus, there are 7 + 1 = 8 factors of 5 within 38!

38! contains eight 5-and-2 pairs, and thus 38! does contain 8 trailing zeros.

Answer: C
User avatar
cavana
Joined: 20 Jan 2017
Last visit: 20 Jun 2018
Posts: 33
Own Kudos:
Given Kudos: 15
Location: United States (NY)
Schools: CBS '20 (A)
GMAT 1: 610 Q34 V41
GMAT 2: 750 Q48 V44
GPA: 3.92
Products:
Schools: CBS '20 (A)
GMAT 2: 750 Q48 V44
Posts: 33
Kudos: 44
Kudos
Add Kudos
Bookmarks
Bookmark this Post
1) We need to find the first 8 5's in the sequence of consecutive integers: 5*10*15*20*25(5*5)*30*35
2) 35 is the smallest value of a, but from the given choices, it is 38

The correct answer is C
User avatar
exc4libur
Joined: 24 Nov 2016
Last visit: 22 Mar 2022
Posts: 1,680
Own Kudos:
Given Kudos: 607
Location: United States
Posts: 1,680
Kudos: 1,469
Kudos
Add Kudos
Bookmarks
Bookmark this Post
duahsolo
If x = a!, which of the following values of a is the least possible value for which the last 8 digits of the integer x will all be zero?
A) 21
B) 29
C) 38
D) 40
E) 100

num of zeros in a factorial \(n!\) is the sum of the quotients of \(n\) divided by \(5^1,5^2,5^3,5^4…\)
num of zeros in \(40!\) is \(40/5+40/25=8+1=9\)
least possible value for which the last 8 digits are zeros must be a \(35≤factorial<40\)

Answer (C).
User avatar
orangebicycle5
Joined: 05 Sep 2024
Last visit: 03 May 2025
Posts: 25
Own Kudos:
Given Kudos: 46
Posts: 25
Kudos: 2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
We need 8 pairs of 5*2. Limited by the primes of 5.

Pick a number in the middle of answer choices and test.

38/5 = 7, 38/25 = 1. This would = 8 trailing zeroes and is smaller than 40 and 100.
User avatar
DanTheGMATMan
Joined: 02 Oct 2015
Last visit: 23 Apr 2026
Posts: 380
Own Kudos:
Given Kudos: 9
Expert
Expert reply
Posts: 380
Kudos: 267
Kudos
Add Kudos
Bookmarks
Bookmark this Post
User avatar
bumpbot
User avatar
Non-Human User
Joined: 09 Sep 2013
Last visit: 04 Jan 2021
Posts: 38,976
Own Kudos:
Posts: 38,976
Kudos: 1,117
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
109818 posts
Tuck School Moderator
853 posts