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

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
Tags:
Difficulty: 505-555 Levelx   Exponents/Powersx   Number Propertiesx                                 
Show Tags
Hide Tags
User avatar
Intern
Intern
Joined: 29 Nov 2009
Posts: 18
Own Kudos [?]: 567 [470]
Given Kudos: 3
Location: Bangalore - INDIA
Concentration: Healthcare Management, Enterpreneurship & Environment
Schools:Duke, NUS,Rutgers
GPA: 2.0
WE 1: Health & Life Science
Send PM
Most Helpful Reply
Math Expert
Joined: 02 Sep 2009
Posts: 92900
Own Kudos [?]: 618811 [294]
Given Kudos: 81588
Send PM
Math Expert
Joined: 02 Sep 2009
Posts: 92900
Own Kudos [?]: 618811 [139]
Given Kudos: 81588
Send PM
User avatar
Manager
Manager
Joined: 05 Mar 2015
Status:A mind once opened never loses..!
Posts: 172
Own Kudos [?]: 665 [89]
Given Kudos: 258
Location: India
MISSION : 800
WE:Design (Manufacturing)
Send PM
Re: If p is the product of the integers from 1 to 30, inclusive, what is [#permalink]
69
Kudos
19
Bookmarks
ajju2688 wrote:
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 161782 times ]

User avatar
Manager
Manager
Joined: 30 May 2010
Posts: 137
Own Kudos [?]: 771 [41]
Given Kudos: 32
Send PM
Re: If p is the product of the integers from 1 to 30, inclusive, what is [#permalink]
24
Kudos
17
Bookmarks
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.
Tutor
Joined: 16 Oct 2010
Posts: 14817
Own Kudos [?]: 64900 [35]
Given Kudos: 426
Location: Pune, India
Send PM
If p is the product of the integers from 1 to 30, inclusive, what is [#permalink]
22
Kudos
13
Bookmarks
Expert Reply
peter2000 wrote:
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/

Originally posted by KarishmaB on 19 Jun 2012, 06:13.
Last edited by KarishmaB on 13 Aug 2023, 00:39, edited 3 times in total.
General Discussion
Tutor
Joined: 05 Apr 2011
Status:Tutor - BrushMyQuant
Posts: 1777
Own Kudos [?]: 2094 [12]
Given Kudos: 100
Location: India
Concentration: Finance, Marketing
Schools: XLRI (A)
GMAT 1: 700 Q51 V31
GPA: 3
WE:Information Technology (Computer Software)
Send PM
Re: If p is the product of the integers from 1 to 30, inclusive, what is [#permalink]
9
Kudos
3
Bookmarks
Expert Reply
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

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

Hope it helps!
User avatar
Manager
Manager
Joined: 15 Aug 2013
Posts: 180
Own Kudos [?]: 331 [1]
Given Kudos: 23
Send PM
Re: If p is the product of the integers from 1 to 30, inclusive, what is [#permalink]
1
Bookmarks
Bunuel wrote:
ajju2688 wrote:
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?
Math Expert
Joined: 02 Sep 2009
Posts: 92900
Own Kudos [?]: 618811 [1]
Given Kudos: 81588
Send PM
Re: If p is the product of the integers from 1 to 30, inclusive, what is [#permalink]
1
Bookmarks
Expert Reply
russ9 wrote:
Bunuel wrote:
ajju2688 wrote:
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
SVP
SVP
Joined: 27 Dec 2012
Status:The Best Or Nothing
Posts: 1562
Own Kudos [?]: 7208 [39]
Given Kudos: 193
Location: India
Concentration: General Management, Technology
WE:Information Technology (Computer Software)
Send PM
Re: If p is the product of the integers from 1 to 30, inclusive, what is [#permalink]
32
Kudos
7
Bookmarks
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
SVP
SVP
Joined: 06 Nov 2014
Posts: 1798
Own Kudos [?]: 1367 [0]
Given Kudos: 23
Send PM
Re: If p is the product of the integers from 1 to 30, inclusive, what is [#permalink]
Expert Reply
fayea wrote:
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
Target Test Prep Representative
Joined: 04 Mar 2011
Status:Head GMAT Instructor
Affiliations: Target Test Prep
Posts: 3043
Own Kudos [?]: 6272 [6]
Given Kudos: 1646
Send PM
Re: If p is the product of the integers from 1 to 30, inclusive, what is [#permalink]
3
Kudos
3
Bookmarks
Expert Reply
ajju2688 wrote:
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.
Tutor
Joined: 10 Jul 2015
Status:Expert GMAT, GRE, and LSAT Tutor / Coach
Affiliations: Harvard University, A.B. with honors in Government, 2002
Posts: 1178
Own Kudos [?]: 2412 [1]
Given Kudos: 272
Location: United States (CO)
Age: 44
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
Send PM
Re: If p is the product of the integers from 1 to 30, inclusive, what is [#permalink]
1
Kudos
Expert Reply
Top Contributor
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 130127 times ]

GMAT Club Legend
GMAT Club Legend
Joined: 12 Sep 2015
Posts: 6821
Own Kudos [?]: 29907 [6]
Given Kudos: 799
Location: Canada
Send PM
If p is the product of the integers from 1 to 30, inclusive, what is [#permalink]
3
Kudos
3
Bookmarks
Expert Reply
Top Contributor
divakarbio7 wrote:
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

Originally posted by BrentGMATPrepNow on 16 Aug 2016, 15:56.
Last edited by BrentGMATPrepNow on 30 Apr 2022, 08:54, edited 1 time in total.
GMAT Club Legend
GMAT Club Legend
Joined: 19 Dec 2014
Status:GMAT Assassin/Co-Founder
Affiliations: EMPOWERgmat
Posts: 21846
Own Kudos [?]: 11665 [1]
Given Kudos: 450
Location: United States (CA)
GMAT 1: 800 Q51 V49
GRE 1: Q170 V170
Send PM
Re: If p is the product of the integers from 1 to 30, inclusive, what is [#permalink]
1
Kudos
Expert Reply
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
Intern
Intern
Joined: 29 Nov 2017
Status:preparing for GMAT
Posts: 19
Own Kudos [?]: 22 [0]
Given Kudos: 3
GPA: 3.55
WE:Military Officer (Military & Defense)
Send PM
Re: If p is the product of the integers from 1 to 30, inclusive, what is [#permalink]
Bunuel wrote:
ajju2688 wrote:
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?
Math Expert
Joined: 02 Sep 2009
Posts: 92900
Own Kudos [?]: 618811 [0]
Given Kudos: 81588
Send PM
Re: If p is the product of the integers from 1 to 30, inclusive, what is [#permalink]
Expert Reply
destinyawaits wrote:
Bunuel wrote:
ajju2688 wrote:
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.
IIM School Moderator
Joined: 04 Sep 2016
Posts: 1261
Own Kudos [?]: 1238 [0]
Given Kudos: 1207
Location: India
WE:Engineering (Other)
Send PM
Re: If p is the product of the integers from 1 to 30, inclusive, what is [#permalink]
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 ?
RC & DI Moderator
Joined: 02 Aug 2009
Status:Math and DI Expert
Posts: 11169
Own Kudos [?]: 31890 [0]
Given Kudos: 290
Send PM
Re: If p is the product of the integers from 1 to 30, inclusive, what is [#permalink]
Expert Reply
adkikani wrote:
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
Tutor
Joined: 16 Oct 2010
Posts: 14817
Own Kudos [?]: 64900 [1]
Given Kudos: 426
Location: Pune, India
Send PM
If p is the product of the integers from 1 to 30, inclusive, what is [#permalink]
1
Kudos
Expert Reply
adkikani wrote:
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/

Originally posted by KarishmaB on 17 Jan 2018, 05:36.
Last edited by KarishmaB on 19 Sep 2023, 04:18, edited 2 times in total.
GMAT Club Bot
If p is the product of the integers from 1 to 30, inclusive, what is [#permalink]
 1   2   
Moderators:
Math Expert
92900 posts
Senior Moderator - Masters Forum
3137 posts

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