Last visit was: 24 Apr 2024, 10:00 It is currently 24 Apr 2024, 10:00

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
SORT BY:
Date
Intern
Intern
Joined: 06 Jun 2019
Posts: 8
Own Kudos [?]: 26 [13]
Given Kudos: 8
Send PM
Intern
Intern
Joined: 06 Jun 2019
Posts: 8
Own Kudos [?]: 26 [1]
Given Kudos: 8
Send PM
GMAT Club Legend
GMAT Club Legend
Joined: 03 Jun 2019
Posts: 5343
Own Kudos [?]: 3964 [2]
Given Kudos: 160
Location: India
GMAT 1: 690 Q50 V34
WE:Engineering (Transportation)
Send PM
GMAT Club Legend
GMAT Club Legend
Joined: 03 Jun 2019
Posts: 5343
Own Kudos [?]: 3964 [1]
Given Kudos: 160
Location: India
GMAT 1: 690 Q50 V34
WE:Engineering (Transportation)
Send PM
Re: For a positive integer n, find number of zeroes at right end of n! [#permalink]
1
Kudos
Hi tanmaykothari2710

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

Please correct OA.

tanmaykothari2710 wrote:
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
Intern
Intern
Joined: 06 Jun 2019
Posts: 8
Own Kudos [?]: 26 [0]
Given Kudos: 8
Send PM
Re: For a positive integer n, find number of zeroes at right end of n! [#permalink]
Kinshook wrote:
Hi tanmaykothari2710

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

Please correct OA.

tanmaykothari2710 wrote:
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
Intern
Intern
Joined: 22 Jul 2020
Posts: 5
Own Kudos [?]: 1 [0]
Given Kudos: 25
Send PM
Re: For a positive integer n, find number of zeroes at right end of n! [#permalink]
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??
Intern
Intern
Joined: 06 Jun 2019
Posts: 8
Own Kudos [?]: 26 [0]
Given Kudos: 8
Send PM
Re: For a positive integer n, find number of zeroes at right end of n! [#permalink]
pankhuriarora28 wrote:
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)!
Intern
Intern
Joined: 06 Feb 2020
Posts: 15
Own Kudos [?]: 3 [0]
Given Kudos: 15
Send PM
Re: For a positive integer n, find number of zeroes at right end of n! [#permalink]
tanmaykothari2710 wrote:
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.
RC & DI Moderator
Joined: 02 Aug 2009
Status:Math and DI Expert
Posts: 11169
Own Kudos [?]: 31888 [0]
Given Kudos: 290
Send PM
Re: For a positive integer n, find number of zeroes at right end of n! [#permalink]
Expert Reply
tanmaykothari2710 wrote:
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
CEO
CEO
Joined: 07 Mar 2019
Posts: 2553
Own Kudos [?]: 1813 [0]
Given Kudos: 763
Location: India
WE:Sales (Energy and Utilities)
Send PM
Re: For a positive integer n, find number of zeroes at right end of n! [#permalink]
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.
Manager
Manager
Joined: 26 Oct 2020
Posts: 82
Own Kudos [?]: 40 [0]
Given Kudos: 232
GMAT 1: 650 Q47 V30
Send PM
For a positive integer n, find number of zeroes at right end of n! [#permalink]
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
RC & DI Moderator
Joined: 02 Aug 2009
Status:Math and DI Expert
Posts: 11169
Own Kudos [?]: 31888 [0]
Given Kudos: 290
Send PM
Re: For a positive integer n, find number of zeroes at right end of n! [#permalink]
Expert Reply
bond001 wrote:
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
Manager
Manager
Joined: 26 Oct 2020
Posts: 82
Own Kudos [?]: 40 [0]
Given Kudos: 232
GMAT 1: 650 Q47 V30
Send PM
For a positive integer n, find number of zeroes at right end of n! [#permalink]
chetan2u wrote:
bond001 wrote:
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!
GMAT Tutor
Joined: 24 Jun 2008
Posts: 4128
Own Kudos [?]: 9241 [0]
Given Kudos: 91
 Q51  V47
Send PM
Re: For a positive integer n, find number of zeroes at right end of n! [#permalink]
Expert Reply
bond001 wrote:
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.
Manager
Manager
Joined: 26 Oct 2020
Posts: 82
Own Kudos [?]: 40 [0]
Given Kudos: 232
GMAT 1: 650 Q47 V30
Send PM
Re: For a positive integer n, find number of zeroes at right end of n! [#permalink]
IanStewart wrote:
bond001 wrote:
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
Non-Human User
Joined: 09 Sep 2013
Posts: 32647
Own Kudos [?]: 821 [0]
Given Kudos: 0
Send PM
Re: For a positive integer n, find number of zeroes at right end of n! [#permalink]
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.
GMAT Club Bot
Re: For a positive integer n, find number of zeroes at right end of n! [#permalink]
Moderator:
Math Expert
92902 posts

Powered by phpBB © phpBB Group | Emoji artwork provided by EmojiOne