GMAT Question of the Day - Daily to your Mailbox; hard ones only

 It is currently 21 Nov 2019, 03:38 ### 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

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.  # If p is the product of the integers from 1 to 30, inclusive, what is

Author Message
TAGS:

### Hide Tags

Math Expert V
Joined: 02 Sep 2009
Posts: 59229
Re: If p is the product of the integers from 1 to 30, inclusive, what is  [#permalink]

### Show Tags

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: http://gmatclub.com/forum/everything-ab ... 85592.html and http://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.

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.
_________________
IIMA, IIMC School Moderator V
Joined: 04 Sep 2016
Posts: 1371
Location: India
WE: Engineering (Other)
Re: If p is the product of the integers from 1 to 30, inclusive, what is  [#permalink]

### Show Tags

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 ?
_________________
It's the journey that brings us happiness not the destination.

Feeling stressed, you are not alone!!
Math Expert V
Joined: 02 Aug 2009
Posts: 8199
Re: If p is the product of the integers from 1 to 30, inclusive, what is  [#permalink]

### Show Tags

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
_________________
Veritas Prep GMAT Instructor V
Joined: 16 Oct 2010
Posts: 9799
Location: Pune, India
Re: If p is the product of the integers from 1 to 30, inclusive, what is  [#permalink]

### Show Tags

1
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://www.veritasprep.com/blog/2011/0 ... actorials/
_________________
Karishma
Veritas Prep GMAT Instructor

Intern  Joined: 31 Oct 2017
Posts: 1
Re: If p is the product of the integers from 1 to 30, inclusive, what is  [#permalink]

### Show Tags

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

30/3 = 10
10/3 = 3
3/1 = 1

Add all the RHS, answer is 14. For denominators that are not prime, break them down to prime and repeat above method only for the largest prime number to get the answer.
Intern  B
Joined: 03 Jul 2018
Posts: 5
Re: If p is the product of the integers from 1 to 30, inclusive, what is  [#permalink]

### Show Tags

What is the easiset method to solve such problems if question asks a number that is not prime ?
For eg : if P is product of all integers from 1 to 36 inclusive what is the greatest integer k for 12^k is a factor of p

Posted from my mobile device
Intern  Joined: 25 Oct 2018
Posts: 5
Re: If p is the product of the integers from 1 to 30, inclusive, what is  [#permalink]

### Show Tags

Great post. Also, thanks for the links Banuel! Re: If p is the product of the integers from 1 to 30, inclusive, what is   [#permalink] 07 Mar 2019, 09:25

Go to page   Previous    1   2   [ 27 posts ]

Display posts from previous: Sort by

# If p is the product of the integers from 1 to 30, inclusive, what is  