Last visit was: 19 Nov 2025, 15:12 It is currently 19 Nov 2025, 15:12
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
505-555 Level|   Exponents|   Number Properties|                                 
User avatar
divakarbio7
Joined: 29 Nov 2009
Last visit: 10 Oct 2022
Posts: 17
Own Kudos:
663
 [557]
Given Kudos: 3
Location: Bangalore - INDIA
Concentration: Healthcare Management, Enterpreneurship & Environment
Schools:Duke, NUS,Rutgers
GPA: 2.0
WE 1: Health & Life Science
Posts: 17
Kudos: 663
 [557]
34
Kudos
Add Kudos
518
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 19 Nov 2025
Posts: 105,390
Own Kudos:
Given Kudos: 99,977
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 105,390
Kudos: 778,364
 [347]
103
Kudos
Add Kudos
244
Bookmarks
Bookmark this Post
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 19 Nov 2025
Posts: 105,390
Own Kudos:
Given Kudos: 99,977
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 105,390
Kudos: 778,364
 [144]
44
Kudos
Add Kudos
100
Bookmarks
Bookmark this Post
User avatar
iamdp
Joined: 05 Mar 2015
Last visit: 01 Jul 2016
Posts: 172
Own Kudos:
721
 [108]
Given Kudos: 258
Status:A mind once opened never loses..!
Location: India
MISSION : 800
WE:Design (Manufacturing)
Posts: 172
Kudos: 721
 [108]
82
Kudos
Add Kudos
25
Bookmarks
Bookmark this Post
ajju2688
If p is the product of the integers from 1 to 30, inclusive, what is the greatest integer k for which 3^k is a factor of p ?

(A) 10
(B) 12
(C) 14
(D) 16
(E) 18


Simplest and the easy way
Plz find the attached picture

Attachments

A.png
A.png [ 10.77 KiB | Viewed 186422 times ]

User avatar
jpr200012
Joined: 30 May 2010
Last visit: 10 Oct 2011
Posts: 137
Own Kudos:
835
 [56]
Given Kudos: 32
Posts: 137
Kudos: 835
 [56]
37
Kudos
Add Kudos
19
Bookmarks
Bookmark this Post
15. No need to actually find the product of 1 to 30. Just look at the numbers that have factors of 3.

3 = 3
6 = 3 * 2
9 = 3 * 3
12 = 3 * 2 * 2
15 = 3 * 5
18 = 3 * 3 * 2
21 = 3 * 7
24 = 3 * 2 * 2 * 2
27 = 3 * 3 * 3
30 = 3 * 2 * 5

There are 14 3's, so the largest factor of p for 3k is 3*14.
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 19 Nov 2025
Posts: 16,267
Own Kudos:
77,000
 [36]
Given Kudos: 482
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,267
Kudos: 77,000
 [36]
23
Kudos
Add Kudos
13
Bookmarks
Bookmark this Post
peter2000
p is product of integers from 1 to 30 inclusive, what is the greatest integer k for which3^k is a factor of p?

A)10
B)12
C)14
D)16
E)18

I understand the way the GMAT guide does the problem, I was wondering if there was a quicker way?

Here is a post discussing this concept and how to get to the answer quickly: https://anaprep.com/number-properties-h ... actorials/
General Discussion
User avatar
BrushMyQuant
Joined: 05 Apr 2011
Last visit: 21 Oct 2025
Posts: 2,284
Own Kudos:
2,552
 [12]
Given Kudos: 100
Status:Tutor - BrushMyQuant
Location: India
Concentration: Finance, Marketing
Schools: XLRI (A)
GMAT 1: 700 Q51 V31
GPA: 3
WE:Information Technology (Computer Software)
Expert
Expert reply
Schools: XLRI (A)
GMAT 1: 700 Q51 V31
Posts: 2,284
Kudos: 2,552
 [12]
9
Kudos
Add Kudos
3
Bookmarks
Bookmark this Post
Given that p is the product of integers from 1 to 30, inclusive, and we need to find what is the greatest integer k for which 3^k is a factor of p?

Values which we are looking for are 3,6,9,12,.. all multiples till 30
now everything will give you atleast 1 power of 3 but there are values which will give more than 1 power of 3 and those values will be multiples of 9
9 -> will give 2 powers
18-> will give 2 powers
27 -> will give 3 powers

Number of single powers of 3 = (30-3)/3 +1 - 1(for 9) - 1(for 18) -1(for 27) = 7
so total powers = 2(for 9) + 2(for 18) + 3(for 27) + 7 = 14

So, Answer will be C
Hope it helps!­
User avatar
russ9
Joined: 15 Aug 2013
Last visit: 20 Apr 2015
Posts: 174
Own Kudos:
400
 [2]
Given Kudos: 23
Posts: 174
Kudos: 400
 [2]
1
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
Bunuel
ajju2688
If p is the product of integers from 1 to 30, inclusive, what is the greatest integer k for which \(3^k\) is a factor of p?

a) 10
b) 12
c) 14
d) 16
e) 18


This is an OG12 question. Can someone tell me if there is a quick way to solve these kinds of questions since the OG explanation seems to be very time consuming?

Finding the number of powers of a prime number k, in the n!.

The formula is:
\(\frac{n}{k}+\frac{n}{k^2}+\frac{n}{k^3}\) ... till \(n>k^x\)

For example: what is the power of 2 in 25! (the highest value of m for which 2^m is a factor of 25!)
\(\frac{25}{2}+\frac{25}{4}+\frac{25}{8}+\frac{25}{16}=12+6+3+1=22\). So the highest power of 2 in 25! is 22: \(2^{22}*k=25!\), where k is the product of other multiple of 25!.

Check for more: everything-about-factorials-on-the-gmat-85592.html and math-number-theory-88376.html

Back to the original question:
If p is the product of integers from 1 to 30, inclusive, what is the greatest integer k for which \(3^k\) is a factor of p?

A. 10
B. 12
C. 14
D. 16
E. 18

Given \(p=30!\).

Now, we should check the highest power of 3 in 30!: \(\frac{30}{3}+\frac{30}{3^2}+\frac{30}{3^3}=10+3+1=14\). So the highest power of 3 in 30! is 1.

Answer: C.

Hope it's clear.

Hi Bunuel,

This explanation makes complete sense but i'm curious as to why another method doesn't work.

I first found the number of integers (30-1+1) = 30
Average of 30+1/2 = 15.5

30 * 15.5 = 465

Factoring 465 only gave me one "3" and therefore I knew it was wrong but I had wasted valuable time. I realized that what I had done doesn't account for the product but rather the sumof the consecutive integers. Correct?

If the question was changed just a bit to say that "p" is the sum of the integers from 1 - 30 then my method would've worked and the answer would've been 1. Is that correct?
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 19 Nov 2025
Posts: 105,390
Own Kudos:
778,364
 [1]
Given Kudos: 99,977
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 105,390
Kudos: 778,364
 [1]
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
russ9
Bunuel
ajju2688
If p is the product of integers from 1 to 30, inclusive, what is the greatest integer k for which \(3^k\) is a factor of p?

a) 10
b) 12
c) 14
d) 16
e) 18


This is an OG12 question. Can someone tell me if there is a quick way to solve these kinds of questions since the OG explanation seems to be very time consuming?

Finding the number of powers of a prime number k, in the n!.

The formula is:
\(\frac{n}{k}+\frac{n}{k^2}+\frac{n}{k^3}\) ... till \(n>k^x\)

For example: what is the power of 2 in 25! (the highest value of m for which 2^m is a factor of 25!)
\(\frac{25}{2}+\frac{25}{4}+\frac{25}{8}+\frac{25}{16}=12+6+3+1=22\). So the highest power of 2 in 25! is 22: \(2^{22}*k=25!\), where k is the product of other multiple of 25!.

Check for more: everything-about-factorials-on-the-gmat-85592.html and math-number-theory-88376.html

Back to the original question:
If p is the product of integers from 1 to 30, inclusive, what is the greatest integer k for which \(3^k\) is a factor of p?

A. 10
B. 12
C. 14
D. 16
E. 18

Given \(p=30!\).

Now, we should check the highest power of 3 in 30!: \(\frac{30}{3}+\frac{30}{3^2}+\frac{30}{3^3}=10+3+1=14\). So the highest power of 3 in 30! is 1.

Answer: C.

Hope it's clear.

Hi Bunuel,

This explanation makes complete sense but i'm curious as to why another method doesn't work.

I first found the number of integers (30-1+1) = 30
Average of 30+1/2 = 15.5

30 * 15.5 = 465

Factoring 465 only gave me one "3" and therefore I knew it was wrong but I had wasted valuable time. I realized that what I had done doesn't account for the product but rather the sumof the consecutive integers. Correct?

If the question was changed just a bit to say that "p" is the sum of the integers from 1 - 30 then my method would've worked and the answer would've been 1. Is that correct?

Yes, you are correct. If it were "p is the SUM of integers from 1 to 30, inclusive", then the answer would be 1.
avatar
PareshGmat
Joined: 27 Dec 2012
Last visit: 10 Jul 2016
Posts: 1,534
Own Kudos:
8,102
 [40]
Given Kudos: 193
Status:The Best Or Nothing
Location: India
Concentration: General Management, Technology
WE:Information Technology (Computer Software)
Posts: 1,534
Kudos: 8,102
 [40]
33
Kudos
Add Kudos
7
Bookmarks
Bookmark this Post
Just wrote down the multiples of 3 & the count of 3's in them

3 >> 1

6 >> 1

9 >> 2

12 > 1

15 > 1

18 > 2

21 > 1

24 > 1

27 > 3

30 > 1

Total = 14

Answer = C
avatar
OptimusPrepJanielle
Joined: 06 Nov 2014
Last visit: 08 Sep 2017
Posts: 1,779
Own Kudos:
Given Kudos: 23
Expert
Expert reply
Posts: 1,779
Kudos: 1,483
Kudos
Add Kudos
Bookmarks
Bookmark this Post
fayea
If p is the product of the integers from 1 to 30, inclusive, what is the greatest integer k for which 3^k is a factor of p?

A) 10
B) 12
C) 14
D) 16
E) 18

What is the quickest way and how?

You need to find out the number of 3's in 30!

There is a direct formula for this:

\([30/3] + [30/3^2] + [30/3^3]\) = 10 + 3 + 1 = 14
Option C

Here [x] = integral part of the number
User avatar
JeffTargetTestPrep
User avatar
Target Test Prep Representative
Joined: 04 Mar 2011
Last visit: 05 Jan 2024
Posts: 2,977
Own Kudos:
8,391
 [9]
Given Kudos: 1,646
Status:Head GMAT Instructor
Affiliations: Target Test Prep
Expert
Expert reply
Posts: 2,977
Kudos: 8,391
 [9]
6
Kudos
Add Kudos
3
Bookmarks
Bookmark this Post
ajju2688
If p is the product of the integers from 1 to 30, inclusive, what is the greatest integer k for which 3^k is a factor of p ?

(A) 10
(B) 12
(C) 14
(D) 16
(E) 18

Solution:

We are given that p is the product of the integers from 1 to 30 inclusive, which is the same as 30!.

We know that 30! must be divisible by all the numbers from 30 to 1, inclusive. In this question, however, we only care about the numbers in the factorial that are divisible by 3. All of the other numbers are irrelevant. For example, 20 is not a multiple of 3, and because 3 does not evenly divide into 20, there’s no need to consider it. Only the multiples of 3 matter for this problem and they are: 30, 27, 24, 21, 18, 15, 12, 9, 6, and 3.

What we’re really being asked is how many prime factors of 3 are contained in the product of 30, 27, 24, 21, 18, 15, 12, 9, 6, and 3.

However, instead of actually calculating the product and then doing the prime factorization, we can simply count the number of prime factors of 3 in each number from our set of multiples of 3: 30, 27, 24, 21, 18, 15, 12, 9, 6, and 3.

30 has 1 prime factor of 3.

27 has 3 prime factors of 3.

24 has 1 prime factor of 3.

21 has 1 prime factor of 3.

18 has 2 prime factor of 3.

15 has 1 prime factor of 3.

12 has 1 prime factor of 3.

9 has 2 prime factors of 3.

6 has 1 prime factor of 3.

3 has 1 prime factor of 3.

When we sum the total number of prime factors of 3 in our list we get 14. It follows that 14 is the greatest value K for which 3^k divides evenly into 30!, and thus k = 14.

Answer: C

Alternate Solution

There’s actually a shortcut that can be used. The question is what is the largest possible value of k such that 30!/3^k is an integer. To use the shortcut, divide the divisor 3 into 30, which is simply the numerator without the factorial. This division is 30/3 = 10. We then divide 3 into the resulting quotient of 10, and ignore any remainder. This division is 10/3 = 3. We again divide 3 into the resulting quotient of 3. This division is 3/3 = 1. Since our quotient of 1 is smaller than the divisor of 3, we can stop here. The final step is to add together all the quotients: 10 + 3 + 1 = 14.

Thus, the largest value of k is 14. One caveat to this shortcut is that it only works when the denominator is a prime number. For example, had the denominator been 9, this rule could not have been used.
User avatar
mcelroytutoring
Joined: 10 Jul 2015
Last visit: 15 Nov 2025
Posts: 1,204
Own Kudos:
2,644
 [1]
Given Kudos: 282
Status:Expert GMAT, GRE, and LSAT Tutor / Coach
Affiliations: Harvard University, A.B. with honors in Government, 2002
Location: United States (CO)
Age: 45 (10 years and counting on GMAT Club!)
GMAT 1: 770 Q47 V48
GMAT 2: 730 Q44 V47
GMAT 3: 750 Q50 V42
GMAT 4: 730 Q48 V42 (Online)
GRE 1: Q168 V169
GRE 2: Q170 V170
Expert
Expert reply
GMAT 4: 730 Q48 V42 (Online)
GRE 1: Q168 V169
GRE 2: Q170 V170
Posts: 1,204
Kudos: 2,644
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Attached is a visual that should help.
Attachments

Screen Shot 2016-08-10 at 7.09.59 PM.png
Screen Shot 2016-08-10 at 7.09.59 PM.png [ 108.13 KiB | Viewed 151148 times ]

User avatar
BrentGMATPrepNow
User avatar
Major Poster
Joined: 12 Sep 2015
Last visit: 31 Oct 2025
Posts: 6,739
Own Kudos:
35,353
 [6]
Given Kudos: 799
Location: Canada
Expert
Expert reply
Posts: 6,739
Kudos: 35,353
 [6]
3
Kudos
Add Kudos
3
Bookmarks
Bookmark this Post
divakarbio7
If p is the product of the integers from 1 to 30, inclusive, what is the greatest integer k for which 3^k is a factor of p?

A. 10
B. 12
C. 14
D. 16
E. 18
-------------ASIDE------------------------------------------------------------------------------------------------------------------------------
A lot of integer property questions can be solved using prime factorization.
For questions involving factors, we can say: If d is a factor of N, then d is "hiding" within the prime factorization of N

Consider these examples:
3 is a factor of 24, because 24 = (2)(2)(2)(3), and we can clearly see the 3 hiding in the prime factorization.
Likewise, 5 is a factor of 70 because 70 = (2)(5)(7)
And 8 is a factor of 112 because 112 = (2)(2)(2)(2)(7)
And 15 is a factor of 630 because 630 = (2)(3)(3)(5)(7)
-----BACK TO THE QUESTION!------------------------------------------------------------------------------------------------------------------

So, this question is really asking us to determine the number of 3's "hiding" in the prime factorization of p.

p = 30! = (1)(2)(3)(4)(5)(6)(7)(8)(9) . . . (27)(28)(29)(30)

We have:
1 3 hiding in 3
1 3 hiding in 6 (since 6 = 2x3)
2 3's hiding in 9 (since 9 = 3x3)
1 3 hiding in 12 (since 12 = 2x2x3)
1 3 hiding in 15
2 3's hiding in 18
1 3 hiding in 21
1 3 hiding in 24
3 3's hiding in 27
1 3 hiding in 30

So, there's a total of 14 3's hiding in 30!

Answer: C
User avatar
EMPOWERgmatRichC
User avatar
Major Poster
Joined: 19 Dec 2014
Last visit: 31 Dec 2023
Posts: 21,784
Own Kudos:
12,807
 [1]
Given Kudos: 450
Status:GMAT Assassin/Co-Founder
Affiliations: EMPOWERgmat
Location: United States (CA)
GMAT 1: 800 Q51 V49
GRE 1: Q170 V170
Expert
Expert reply
GMAT 1: 800 Q51 V49
GRE 1: Q170 V170
Posts: 21,784
Kudos: 12,807
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Hi All,

These types of questions are based on a math concept called "prime factorization", which basically means that any integer greater than 1 is either prime OR the product of a bunch of primes.

Here's a simple example:

24 = (2)(2)(2)(3)

Now, when it comes to this question, we're asked to multiply all the integers from 1 to 30, inclusive and find the greatest integer K for which 3^K is a factor of this really big number.

Here's a simple example with a smaller product:
1 to 6, inclusive…
(1)(2)(3)(4)(5)(6)

Then numbers 1, 2, 4 and 5 do NOT have any 3's in them, so we can essentially ignore them:
3 = one 3
6 = (2)(3) = one 3
Total = two 3's

So 3^2 is the biggest "power of 3" that goes into the product of 1 to 6, inclusive.

Using that same idea, we need to find all of the 3's in the product of 1 to 30, inclusive. Here though, you have to be careful, since there are probably MORE 3's than immediately realize:

3 = one 3
6 = one 3
9 = (3)(3) = two 3s
12 = one 3
15 = one 3
18 = (2)(3)(3) = two 3s
21 = one 3
24 = one 3
27 = (3)(3)(3) = three 3s
30 = one 3

Total = 14 3's

Final Answer:

GMAT assassins aren't born, they're made,
Rich
User avatar
destinyawaits
Joined: 29 Nov 2017
Last visit: 28 Mar 2018
Posts: 19
Own Kudos:
Given Kudos: 3
Status:preparing for GMAT
GPA: 3.55
WE:Military Officer (Military & Defense)
Posts: 19
Kudos: 23
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel
ajju2688
If p is the product of integers from 1 to 30, inclusive, what is the greatest integer k for which \(3^k\) is a factor of p?

a) 10
b) 12
c) 14
d) 16
e) 18


This is an OG12 question. Can someone tell me if there is a quick way to solve these kinds of questions since the OG explanation seems to be very time consuming?

Finding the number of powers of a prime number k, in the n!.

The formula is:
\(\frac{n}{k}+\frac{n}{k^2}+\frac{n}{k^3}\) ... till \(n>k^x\)

For example: what is the power of 2 in 25! (the highest value of m for which 2^m is a factor of 25!)
\(\frac{25}{2}+\frac{25}{4}+\frac{25}{8}+\frac{25}{16}=12+6+3+1=22\). So the highest power of 2 in 25! is 22: \(2^{22}*k=25!\), where k is the product of other multiple of 25!.

Check for more: https://gmatclub.com/forum/everything-ab ... 85592.html and https://gmatclub.com/forum/math-number-theory-88376.html

Back to the original question:
If p is the product of integers from 1 to 30, inclusive, what is the greatest integer k for which \(3^k\) is a factor of p?

A. 10
B. 12
C. 14
D. 16
E. 18

Given \(p=30!\).

Now, we should check the highest power of 3 in 30!: \(\frac{30}{3}+\frac{30}{3^2}+\frac{30}{3^3}=10+3+1=14\). So the highest power of 3 in 30! is 14.

Answer: C.

Hope it's clear.


Could you further explain how you arrived at "10+3+1=14" from the equation which you created before it?
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 19 Nov 2025
Posts: 105,390
Own Kudos:
Given Kudos: 99,977
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 105,390
Kudos: 778,364
Kudos
Add Kudos
Bookmarks
Bookmark this Post
destinyawaits
Bunuel
ajju2688
If p is the product of integers from 1 to 30, inclusive, what is the greatest integer k for which \(3^k\) is a factor of p?

a) 10
b) 12
c) 14
d) 16
e) 18


This is an OG12 question. Can someone tell me if there is a quick way to solve these kinds of questions since the OG explanation seems to be very time consuming?

Finding the number of powers of a prime number k, in the n!.

The formula is:
\(\frac{n}{k}+\frac{n}{k^2}+\frac{n}{k^3}\) ... till \(n>k^x\)

For example: what is the power of 2 in 25! (the highest value of m for which 2^m is a factor of 25!)
\(\frac{25}{2}+\frac{25}{4}+\frac{25}{8}+\frac{25}{16}=12+6+3+1=22\). So the highest power of 2 in 25! is 22: \(2^{22}*k=25!\), where k is the product of other multiple of 25!.

Check for more: https://gmatclub.com/forum/everything-ab ... 85592.html and https://gmatclub.com/forum/math-number-theory-88376.html

Back to the original question:
If p is the product of integers from 1 to 30, inclusive, what is the greatest integer k for which \(3^k\) is a factor of p?

A. 10
B. 12
C. 14
D. 16
E. 18

Given \(p=30!\).

Now, we should check the highest power of 3 in 30!: \(\frac{30}{3}+\frac{30}{3^2}+\frac{30}{3^3}=10+3+1=14\). So the highest power of 3 in 30! is 14.

Answer: C.

Hope it's clear.


Could you further explain how you arrived at "10+3+1=14" from the equation which you created before it?

You should take only the quotient of the division, that is 30/9 = 3 and 30/27 = 1.
User avatar
adkikani
User avatar
IIM School Moderator
Joined: 04 Sep 2016
Last visit: 24 Dec 2023
Posts: 1,236
Own Kudos:
Given Kudos: 1,207
Location: India
WE:Engineering (Other)
Posts: 1,236
Kudos: 1,345
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel chetan2u niks18 VeritasPrepKarishma JeffTargetTestPrep

Quote:

If p is the product of integers from 1 to 30, inclusive, what is the greatest integer k for which \(3^k\) is a factor of p?

Can experts please advise what I am missing in my below approach:
I need to find a factor of 3^k such that when 30! is divided by 3^k the remainder is zero.
Since k is a positive integer we need to see max value of 3^k ; now 3^k can take
3,9, 27.. I was stuck beyond this point to co-relate 30! and max power of 3^k such that remainder is zero.

Quote:
We know that 30! must be divisible by all the numbers from 30 to 1, inclusive. In this question, however, we only care about the numbers in the factorial that are divisible by 3.

Are not we supposed to find no in factorial divisible by 3^k and not 3 ?
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
adkikani
Bunuel chetan2u niks18 VeritasPrepKarishma JeffTargetTestPrep

Quote:

If p is the product of integers from 1 to 30, inclusive, what is the greatest integer k for which \(3^k\) is a factor of p?

Can experts please advise what I am missing in my below approach:
I need to find a factor of 3^k such that when 30! is divided by 3^k the remainder is zero.
Since k is a positive integer we need to see max value of 3^k ; now 3^k can take
3,9, 27.. I was stuck beyond this point to co-relate 30! and max power of 3^k such that remainder is zero.

Quote:
We know that 30! must be divisible by all the numbers from 30 to 1, inclusive. In this question, however, we only care about the numbers in the factorial that are divisible by 3.

Are not we supposed to find no in factorial divisible by 3^k and not 3 ?

Hi..
You have to find how many 3s are there in 30!..
30/3=10 gives us the number which have 3 in it.. 3,6,9...,30
30/9=3.xy~3 gives us the number which are div by 9 as there is extra 3 in these numbers... 9,18,27
30/27=1.. numbers containing 3*3s..27
So our Ans 10+3+1=14
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 19 Nov 2025
Posts: 16,267
Own Kudos:
77,000
 [1]
Given Kudos: 482
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,267
Kudos: 77,000
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
adkikani
Bunuel chetan2u niks18 VeritasPrepKarishma JeffTargetTestPrep

Quote:

If p is the product of integers from 1 to 30, inclusive, what is the greatest integer k for which \(3^k\) is a factor of p?

Can experts please advise what I am missing in my below approach:
I need to find a factor of 3^k such that when 30! is divided by 3^k the remainder is zero.
Since k is a positive integer we need to see max value of 3^k ; now 3^k can take
3,9, 27.. I was stuck beyond this point to co-relate 30! and max power of 3^k such that remainder is zero.

Quote:
We know that 30! must be divisible by all the numbers from 30 to 1, inclusive. In this question, however, we only care about the numbers in the factorial that are divisible by 3.

Are not we supposed to find no in factorial divisible by 3^k and not 3 ?

Check out this post for a detailed discussion on this concept:
https://anaprep.com/number-properties-h ... actorials/
 1   2   
Moderators:
Math Expert
105390 posts
Tuck School Moderator
805 posts