Last visit was: 19 Nov 2025, 16:11 It is currently 19 Nov 2025, 16:11
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
avatar
tanmaykothari2710
Joined: 06 Jun 2019
Last visit: 23 Aug 2020
Posts: 8
Own Kudos:
30
 [15]
Given Kudos: 8
Posts: 8
Kudos: 30
 [15]
1
Kudos
Add Kudos
14
Bookmarks
Bookmark this Post
avatar
tanmaykothari2710
Joined: 06 Jun 2019
Last visit: 23 Aug 2020
Posts: 8
Own Kudos:
30
 [1]
Given Kudos: 8
Posts: 8
Kudos: 30
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
User avatar
Kinshook
User avatar
Major Poster
Joined: 03 Jun 2019
Last visit: 19 Nov 2025
Posts: 5,794
Own Kudos:
5,511
 [2]
Given Kudos: 161
Location: India
GMAT 1: 690 Q50 V34
WE:Engineering (Transportation)
Products:
GMAT 1: 690 Q50 V34
Posts: 5,794
Kudos: 5,511
 [2]
2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
User avatar
Kinshook
User avatar
Major Poster
Joined: 03 Jun 2019
Last visit: 19 Nov 2025
Posts: 5,794
Own Kudos:
5,511
 [1]
Given Kudos: 161
Location: India
GMAT 1: 690 Q50 V34
WE:Engineering (Transportation)
Products:
GMAT 1: 690 Q50 V34
Posts: 5,794
Kudos: 5,511
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Hi tanmaykothari2710

Statement 2 : -
Number of zeroes at right end of n! = 4
SUFFICIENT

Please correct OA.

tanmaykothari2710
For a positive integer n, find number of zeroes at right end of n! ( \(n! = n*(n-1)*(n-2)......*1\) )

Statement 1: n is a prime number lying between 18 and 30
Statement 2: Greatest prime number dividing (n-1)! is 19
avatar
tanmaykothari2710
Joined: 06 Jun 2019
Last visit: 23 Aug 2020
Posts: 8
Own Kudos:
Given Kudos: 8
Posts: 8
Kudos: 30
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Kinshook
Hi tanmaykothari2710

Statement 2 : -
Number of zeroes at right end of n! = 4
SUFFICIENT

Please correct OA.

tanmaykothari2710
For a positive integer n, find number of zeroes at right end of n! ( \(n! = n*(n-1)*(n-2)......*1\) )

Statement 1: n is a prime number lying between 18 and 30
Statement 2: Greatest prime number dividing (n-1)! is 19

Please re check the solution .
Thanks
avatar
pankhuriarora28
Joined: 22 Jul 2020
Last visit: 05 Sep 2021
Posts: 5
Own Kudos:
Given Kudos: 25
Posts: 5
Kudos: 1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
The second option states that n-1 is divisible by 19. So clearly n-1 can be 19 or its multiple. And other multiples are above 30 so they are not applicable. So, n will be 20 which is not a prime number. So how is the answer C??
avatar
tanmaykothari2710
Joined: 06 Jun 2019
Last visit: 23 Aug 2020
Posts: 8
Own Kudos:
Given Kudos: 8
Posts: 8
Kudos: 30
Kudos
Add Kudos
Bookmarks
Bookmark this Post
pankhuriarora28
The second option states that n-1 is divisible by 19. So clearly n-1 can be 19 or its multiple. And other multiples are above 30 so they are not applicable. So, n will be 20 which is not a prime number. So how is the answer C??
________________________
Its (n-1)!
User avatar
Rishab130612
Joined: 06 Feb 2020
Last visit: 06 Nov 2022
Posts: 15
Own Kudos:
Given Kudos: 15
Posts: 15
Kudos: 3
Kudos
Add Kudos
Bookmarks
Bookmark this Post
tanmaykothari2710
No of Zeros : Maximum power of 5 .

Statement 1:n is a prime number lying between 18 and 30
N can be : 19,23,29
Not Sufficient .

Statement 2: Greatest prime number dividing (n-1)! is 19
N can be : 20,21,22,23,29
Not Sufficient

But Using both we get N = 23 .

Correct Answer : C


Hello tanmaykothari2710 ... I am not sure how you say N can be greater than 23 in statement 2. if N is greater than 23 then greatest primer factor dividing it would be 23, which contradicts the statement 2. And thus number of zeros would be same for N =(20,21,22,23).
Please correct me if I am wrong.
User avatar
chetan2u
User avatar
GMAT Expert
Joined: 02 Aug 2009
Last visit: 15 Nov 2025
Posts: 11,238
Own Kudos:
Given Kudos: 335
Status:Math and DI Expert
Location: India
Concentration: Human Resources, General Management
GMAT Focus 1: 735 Q90 V89 DI81
Products:
Expert
Expert reply
GMAT Focus 1: 735 Q90 V89 DI81
Posts: 11,238
Kudos: 43,706
Kudos
Add Kudos
Bookmarks
Bookmark this Post
tanmaykothari2710
For a positive integer n, find number of zeroes at right end of n! ( \(n! = n*(n-1)*(n-2)......*1\) )

Statement 1: n is a prime number lying between 18 and 30
Statement 2: Greatest prime number dividing (n-1)! is 19


Number of zeroes in a factorial would depend on numbers of 2 or 5, and as number of 5s will be lesser, 5s will give us our answer.

Now what about number of 5s -- They will increase only when a multiple of 5 is added, that is number of 5s will remain same from 20! to 24!, and will increase in 25!.

Statement 1: n is a prime number lying between 18 and 30
So n can be 19, 23 or 29..
19! will have 3* 5s so 3 zeroes in the end.
23! will have 4* 5s so 4 zeroes in the end.
29! will have 6* 5s so 6 zeroes in the end.
Insuff

Statement 2: Greatest prime number dividing (n-1)! is 19
Now greatest prime number dividing (n-1)! is 19, so (n-1)! will not be divisible by the next prime number after 19, that is 23.
so \(19\leq{n-1}<{23}............20\leq{n}<{24}......n=20, 21, 22, 23\)
As we have seen above that the number of 5s will remain same from values of n as 20 to n as 24.
Hence, the number of Zeroes will always be 4, irrespective of value of n as 20, 21, 22 or 23.
Suff

B

OA given as C is wrong
User avatar
unraveled
Joined: 07 Mar 2019
Last visit: 10 Apr 2025
Posts: 2,720
Own Kudos:
Given Kudos: 763
Location: India
WE:Sales (Energy)
Posts: 2,720
Kudos: 2,258
Kudos
Add Kudos
Bookmarks
Bookmark this Post
For a positive integer n, find number of zeroes at right end of n! ( \(n! = n*(n-1)*(n-2)......*1\) )

Statement 1: n is a prime number lying between 18 and 30
n can be 19,23, and 29
But note that 19! and 20! itself differ by one '0'. So, even if we consider n = 19 we can say that the number of zeroes differ when we take the factorial of next number i.e. 20!, whether n is prime or not doesn't matter.

INSUFFICIENT.

Statement 2: Greatest prime number dividing (n-1)! is 19
So,
n - 1 = 19 \(\implies\) n = 20 BUT
when n - 1 = 20, n = 21 given condition is still satisfied and so for n = 22 and 23. However, not for n = 24.
Hence 20 ≤ n ≤ 23.

As there are no addl. 5's are multiplied with 2's to result in extra zeroes, the statement is SUFFICIENT.

Answer B.
User avatar
bond001
Joined: 26 Oct 2020
Last visit: 11 Oct 2023
Posts: 80
Own Kudos:
Given Kudos: 232
GMAT 1: 650 Q47 V30
GMAT 1: 650 Q47 V30
Posts: 80
Kudos: 54
Kudos
Add Kudos
Bookmarks
Bookmark this Post
chetan2u,bunuel,Kinshook
would you help me I have a doubt statement 2 talks about the greatest factor dividing (n-1)! and not n!
so (n-1)! can be 19,20,21,22,23,24,25,26,27and n! can be 20,21,22,23,24,25,26,27,28
this sum does not make sense to me
User avatar
chetan2u
User avatar
GMAT Expert
Joined: 02 Aug 2009
Last visit: 15 Nov 2025
Posts: 11,238
Own Kudos:
Given Kudos: 335
Status:Math and DI Expert
Location: India
Concentration: Human Resources, General Management
GMAT Focus 1: 735 Q90 V89 DI81
Products:
Expert
Expert reply
GMAT Focus 1: 735 Q90 V89 DI81
Posts: 11,238
Kudos: 43,706
Kudos
Add Kudos
Bookmarks
Bookmark this Post
bond001
chetan2u,bunuel,Kinshook
would you help me I have a doubt statement 2 talks about the greatest factor dividing (n-1)! and not n!
so (n-1)! can be 19,20,21,22,23,24,25,26,27and n! can be 20,21,22,23,24,25,26,27,28
this sum does not make sense to me


But the moment you take n-1 as 23, the greatest prime number dividing (n-1)! will be 23, so the statement II becomes false.
Thus, n-1 cannot be 23 and above.
n-1 can be 19,20,21,22, and n can, therefore, be 20,21,22,23
User avatar
bond001
Joined: 26 Oct 2020
Last visit: 11 Oct 2023
Posts: 80
Own Kudos:
Given Kudos: 232
GMAT 1: 650 Q47 V30
GMAT 1: 650 Q47 V30
Posts: 80
Kudos: 54
Kudos
Add Kudos
Bookmarks
Bookmark this Post
chetan2u
bond001
chetan2u,bunuel,Kinshook
would you help me I have a doubt statement 2 talks about the greatest factor dividing (n-1)! and not n!
so (n-1)! can be 19,20,21,22,23,24,25,26,27and n! can be 20,21,22,23,24,25,26,27,28
this sum does not make sense to me


But the moment you take n-1 as 23, the greatest prime number dividing (n-1)! will be 23, so the statement II becomes false.
Thus, n-1 cannot be 23 and above.
n-1 can be 19,20,21,22, and n can, therefore, be 20,21,22,23
why are you focusing on (n-1) when the question is asking find number of zeroes at right end of n!
and not (n-1)! I can take n as 23 and (n-1)! factorial greatest prime factor will still be 19 because (n-1) will be 22!
User avatar
IanStewart
User avatar
GMAT Tutor
Joined: 24 Jun 2008
Last visit: 18 Nov 2025
Posts: 4,145
Own Kudos:
Given Kudos: 99
Expert
Expert reply
Posts: 4,145
Kudos: 10,989
Kudos
Add Kudos
Bookmarks
Bookmark this Post
bond001

why are you focusing on (n-1) when the question is asking find number of zeroes at right end of n!
and not (n-1)! I can take n as 23 and (n-1)! factorial greatest prime factor will still be 19 because (n-1) will be 22!

Chetan's explanation is correct. Statement 2 tells us that 19 is the largest prime divisor of a certain factorial. That factorial certainly must be at least 19!, because 19 is not a divisor at all of any factorial from 1! through 18!. But the factorial cannot be 23! or larger, because 23!, and every larger factorial, is divisible by 23, a prime larger than 19. So if 19 is the largest prime divisor of a certain factorial, that factorial can only be 19!, 20!, 21! or 22!. Statement 2 tells us that factorial is (n-1)!, so n-1 must be 19, 20, 21 or 22, and n itself must therefore be 20, 21, 22 or 23. The question asks for the number of 'trailing zeros' in n!, and 20!, 21!, 22! and 23! all have four zeros at the end, so Statement 2 is sufficient.
User avatar
bond001
Joined: 26 Oct 2020
Last visit: 11 Oct 2023
Posts: 80
Own Kudos:
Given Kudos: 232
GMAT 1: 650 Q47 V30
GMAT 1: 650 Q47 V30
Posts: 80
Kudos: 54
Kudos
Add Kudos
Bookmarks
Bookmark this Post
IanStewart
bond001

why are you focusing on (n-1) when the question is asking find number of zeroes at right end of n!
and not (n-1)! I can take n as 23 and (n-1)! factorial greatest prime factor will still be 19 because (n-1) will be 22!

Chetan's explanation is correct. Statement 2 tells us that 19 is the largest prime divisor of a certain factorial. That factorial certainly must be at least 19!, because 19 is not a divisor at all of any factorial from 1! through 18!. But the factorial cannot be 23! or larger, because 23!, and every larger factorial, is divisible by 23, a prime larger than 19. So if 19 is the largest prime divisor of a certain factorial, that factorial can only be 19!, 20!, 21! or 22!. Statement 2 tells us that factorial is (n-1)!, so n-1 must be 19, 20, 21 or 22, and n itself must therefore be 20, 21, 22 or 23. The question asks for the number of 'trailing zeros' in n!, and 20!, 21!, 22! and 23! all have four zeros at the end, so Statement 2 is sufficient.
I was so engrossed in doubt that I was not able to think it clearly you are right Ianstewart and chetan's
User avatar
bumpbot
User avatar
Non-Human User
Joined: 09 Sep 2013
Last visit: 04 Jan 2021
Posts: 38,589
Own Kudos:
Posts: 38,589
Kudos: 1,079
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Hello from the GMAT Club BumpBot!

Thanks to another GMAT Club member, I have just discovered this valuable topic, yet it had no discussion for over a year. I am now bumping it up - doing my job. I think you may find it valuable (esp those replies with Kudos).

Want to see all other topics I dig out? Follow me (click follow button on profile). You will receive a summary of all topics I bump in your profile area as well as via email.
Moderators:
Math Expert
105390 posts
496 posts