Last visit was: 15 May 2025, 18:32 It is currently 15 May 2025, 18:32
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
Rocky1304
Joined: 23 Mar 2014
Last visit: 22 Jun 2024
Posts: 17
Own Kudos:
121
 [72]
Given Kudos: 37
Posts: 17
Kudos: 121
 [72]
7
Kudos
Add Kudos
65
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
sashiim20
Joined: 04 Dec 2015
Last visit: 05 Jun 2024
Posts: 615
Own Kudos:
1,767
 [20]
Given Kudos: 276
Location: India
Concentration: Technology, Strategy
WE:Information Technology (Consulting)
17
Kudos
Add Kudos
2
Bookmarks
Bookmark this Post
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 15 May 2025
Posts: 15,969
Own Kudos:
73,123
 [17]
Given Kudos: 467
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 15,969
Kudos: 73,123
 [17]
9
Kudos
Add Kudos
8
Bookmarks
Bookmark this Post
General Discussion
User avatar
vitaliyGMAT
Joined: 13 Oct 2016
Last visit: 26 Jul 2017
Posts: 298
Own Kudos:
836
 [5]
Given Kudos: 40
GPA: 3.98
Posts: 298
Kudos: 836
 [5]
2
Kudos
Add Kudos
3
Bookmarks
Bookmark this Post
Rocky1304
If the greatest integer k for which \(3^k\)is a factor of n! is 8, what is the largest possible value of p
so that \(5^p\) is a factor of n! ?


A) 2
B) 3
C) 4
D) 5
E) 6

\(\frac{n}{3} + \frac{n}{3^2} + \frac{n}{3^3} … = 8\)

\(n! = 18!, 19!, 20!\)

\([\frac{18}{3}] + [\frac{18}{3^2}] = [\frac{19}{3}] + [\frac{19}{3^2}] = [\frac{20}{3}] + [\frac{20}{3^2}] = 8\)

From \(21!\) we have additional factor of \(3\) hence \(3^9\).

\(18!\) has \(5^3\)

\(19!\) Still \(5^3\)

\(20!\) One more factor of 5 – \(5^4\)

Max power of \(5\) in \(n!\) is \(4\)

Answer C
avatar
Bonachhilfe
Joined: 02 Jan 2017
Last visit: 26 Sep 2019
Posts: 1
Posts: 1
Kudos: 0
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Hello everybody,

Is someone out there who can explain me the first step that was made? Why can you divide n by 3 and 3^2 to figure out what the maximum value of n might be? In general, I really don't understand the applied approach.

Kind regards

Posted from my mobile device
User avatar
ganand
Joined: 17 May 2015
Last visit: 19 Mar 2022
Posts: 198
Own Kudos:
3,488
 [1]
Given Kudos: 85
Posts: 198
Kudos: 3,488
 [1]
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
Bonachhilfe
Hello everybody,

Is someone out there who can explain me the first step that was made? Why can you divide n by 3 and 3^2 to figure out what the maximum value of n might be? In general, I really don't understand the applied approach.

Kind regards

Posted from my mobile device
Hi Bonachhilfe,

Please refer the Factorial section on the following page:
https://gmatclub.com/forum/math-number-theory-88376.html

Thanks.
avatar
manishcmu
Joined: 08 Jul 2016
Last visit: 14 Jan 2022
Posts: 55
Own Kudos:
42
 [1]
Given Kudos: 71
Location: United States (NY)
GMAT 1: 710 Q49 V36
GMAT 1: 710 Q49 V36
Posts: 55
Kudos: 42
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
I understand that n can be 18,19,20. However,the question never suggested that we have to consider the largest possible value of n. It says the largest possible value of k. So I substituted the value of n = 18 and not 20 while solving.
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 15 May 2025
Posts: 15,969
Own Kudos:
73,123
 [3]
Given Kudos: 467
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 15,969
Kudos: 73,123
 [3]
3
Kudos
Add Kudos
Bookmarks
Bookmark this Post
manishcmu
I understand that n can be 18,19,20. However,the question never suggested that we have to consider the largest possible value of n. It says the largest possible value of k. So I substituted the value of n = 18 and not 20 while solving.

This is what the question says: what is the largest possible value of p so that 5^p is a factor of n! ?

We need the largest possible value of p. We will get the largest possible value of p when n takes the largest possible value it can take. n can be 18, 19 or 20.
If n is 18, p is 3
If n is 19, p is 3.
If n is 20, then p is 4.
So 4 is the largest possible value of p.
User avatar
amathews
Joined: 07 Dec 2016
Last visit: 10 Oct 2017
Posts: 30
Own Kudos:
617
 [1]
Given Kudos: 29
Products:
Posts: 30
Kudos: 617
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
C

18!, 19! and 20! has 8 x 3's
So then 18! & 19! has 3 x 5's, while 20! has 4 x 5's
So 4 x 5's
avatar
nitesh181989
Joined: 06 Sep 2013
Last visit: 11 May 2025
Posts: 27
Own Kudos:
34
 [4]
Given Kudos: 284
Location: India
Concentration: Leadership, Strategy
Schools: ISB '19 (A)
GMAT 1: 770 Q50 V44
GPA: 3.7
WE:Information Technology (Consulting)
Schools: ISB '19 (A)
GMAT 1: 770 Q50 V44
Posts: 27
Kudos: 34
 [4]
2
Kudos
Add Kudos
2
Bookmarks
Bookmark this Post
DeathNoteFreak
If the greatest integer k for which \(3^{k}\) is a factor of n! is 8, what is the largest possible value of p so that \(5^{p}\) is a factor of n!?
(A) 2
(B) 3
(C) 4
(D) 5
(E) 6

The solution explained in the OG seems very complicated to me. It would be great if someone explains how they arrived at the answer too!

Please give a kudos if you like the question! :)

Greatest integer k for which 3^k is a factor of n!, is a fancy way of asking how many 3's are present in n!.
Since it is given that k is 8, this means that the following numbers are present in the expansion of n!:
3,6,9,12,15,18
Each of the above number gives the following number of 3's
1,1,2,1,1,2 [3*1, 3*2, 3*3, 3*4, 3*5, 3*3*2], which sum to a total of '8'(1+1+2+1+1+2).
In the above case, we have considered n as 18, but even if we consider n as 20, the number of 3's would still be the same. It is only when we take n as 21 that another extra 3 gets added(21=3*7).
Also, as the question asks for the maximum value of p for 5^p to be a factor of n!(another fancy way of asking the number of 5's in n!), we can consider n as 20.
Numbers containing a 5 in the expansion of 20! would be 5,10,15,20(5*1,5*2,5*3,5*4) and each number is giving a single value of 5.
Therefore, the maximum value of p would be 1+1+1+1=4

Hope this helps.
User avatar
anhht13
Joined: 12 Oct 2017
Last visit: 23 May 2019
Posts: 26
Own Kudos:
14
 [1]
Given Kudos: 16
Posts: 26
Kudos: 14
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
I solved this question in the following way:

Step 1: find the largest possible value of n! by calculating how many "3" are presented in n!
Because greatest integer k for which 3^k is a factor of n! is 8. => 3,6,9,12,15,18 are presented in n!
Since we want to find the largest possible value of n! => we can increase the value of n as long as we dont add any more "3" =>n! = 20!

Step 2: find the largest p by calculating how may "5" are presented in 20!
We have 5,10,15,20 are presented in 20! and give us four "5" => p = 4

Hence, the answer is C.
----

Kindly press +1kudos if the explanation is clear!
Thank you! :-)
User avatar
kanikaa9
Joined: 19 Aug 2023
Last visit: 15 May 2025
Posts: 104
Own Kudos:
Given Kudos: 678
Location: India
WE:Consulting (Consulting)
Posts: 104
Kudos: 36
Kudos
Add Kudos
Bookmarks
Bookmark this Post
I see many complicated solutions but here is my under 1 min easy one -

When we have to find the power of a prime number for a factorial Eg: power of 2 in 10!, we do 10!/2 = 5, 10!/2^2 = 2, 10!/2^3 = 1 so total gets to 2^8

So in this case max n! can be 8x3 = 24!
when we'll find max power of 5 in 24! it would be 4 and 24!/5^2 is not possible. Hence p = 4.
User avatar
Krunaal
User avatar
PS Forum Moderator
Joined: 15 Feb 2021
Last visit: 15 May 2025
Posts: 581
Own Kudos:
Given Kudos: 119
Location: India
WE:Marketing (Internet and New Media)
Products:
Posts: 581
Kudos: 590
Kudos
Add Kudos
Bookmarks
Bookmark this Post
kanikaa9
I see many complicated solutions but here is my under 1 min easy one -

When we have to find the power of a prime number for a factorial Eg: power of 2 in 10!, we do 10!/2 = 5, 10!/2^2 = 2, 10!/2^3 = 1 so total gets to 2^8

So in this case max n! can be 8x3 = 24!
when we'll find max power of 5 in 24! it would be 4 and 24!/5^2 is not possible. Hence p = 4.

Hi kanikaa9

The method you used luckily gave you a correct answer for this question, however I wouldn't recommend to go by your method as it has a couple of flaws. Let's suppose we had been asked to find largest possible value of p so that \(2^p\) is a factor of n!, your method will give an incorrect answer. That is because when you consider n as 24, the greatest integer k for which \(3^k\) is a factor of n! becomes 10, whereas it is explicitly stated in question that it is 8. Hope this helps.
Moderators:
Math Expert
101447 posts
PS Forum Moderator
581 posts