Factor

This topic has expert replies
Junior | Next Rank: 30 Posts
Posts: 25
Joined: Sat Nov 28, 2009 10:20 pm
GMAT Score:570

Factor

by jnbimmer » Sat Dec 12, 2009 10:44 pm
If p is the prodcut 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
Source: — Problem Solving |

GMAT Instructor
Posts: 1302
Joined: Mon Oct 19, 2009 2:13 pm
Location: Toronto
Thanked: 539 times
Followed by:164 members
GMAT Score:800

by Testluv » Sat Dec 12, 2009 11:18 pm
jnbimmer wrote:If p is the prodcut 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
So, the question is asking for the greatest number of 3s in p.

The easiest way to do it is to write out the multiples of 3:

3, 6, 9, 12, 15, 18, 21, 24, 27, 30...that's 10

Because 9 is 3^2, as multiples of 9, each of 9 and 18 have one extra 3. And 27 is 3^3, so there are two extra 3s there. That's a total of 14 3s. Choice C.
Kaplan Teacher in Toronto

Junior | Next Rank: 30 Posts
Posts: 25
Joined: Sat Nov 28, 2009 10:20 pm
GMAT Score:570

by jnbimmer » Sun Dec 13, 2009 12:06 am
Could you explain what is the process of rephrasing the question into:

the question is asking for the greatest number of 3s in p.

Thank you!

Senior | Next Rank: 100 Posts
Posts: 40
Joined: Thu Mar 26, 2009 3:02 pm
Thanked: 3 times
GMAT Score:410

by Pedros » Sun Dec 13, 2009 7:38 am
you know that P is the product of ( 1 to 30 ) inclusive, for 3^k to be a factor of P it has to include no more than the 3s included in P ; means if P includes 14 threes in its prime factoriation , 3^15 will not be a factor of P. The question is asking how many 3s are there in the prime factorization of P as explained above.

Junior | Next Rank: 30 Posts
Posts: 25
Joined: Sat Nov 28, 2009 10:20 pm
GMAT Score:570

by jnbimmer » Sun Dec 13, 2009 9:32 am
Thanks.

Is there a shortcut to calculate the product of 1 to 30?

for example, 1x2x3x4x5...

Legendary Member
Posts: 1578
Joined: Sun Dec 28, 2008 1:49 am
Thanked: 82 times
Followed by:9 members
GMAT Score:720

by maihuna » Sun Dec 13, 2009 9:38 am
There is a formula to find such factors given a factorial:

1. Find all prime factors
2. For each factor try the number and its power till it is greater than 1.

e.g. find all multiple of 3 in !100.

Find: 100/3 100/3^2 100/3^3 100/3^4 stop now as 3^5>100

add : 33 11 3 1

Total : 48

So 3^48 is accomodable in !100

Here all multiples fro m2->30 means !30

Try : 30/3 30/9 30/27 == 10+3+1 = 14

So 3^14 is accomodable in 2-30 multiples.
Charged up again to beat the beast :)

GMAT Instructor
Posts: 1302
Joined: Mon Oct 19, 2009 2:13 pm
Location: Toronto
Thanked: 539 times
Followed by:164 members
GMAT Score:800

by Testluv » Sun Dec 13, 2009 1:04 pm
To be clear, the formula Maihuna used is for computing the greatest number of factors of a certain kind that can go into a particular factorial; and, if you know it, it will likely speed up solving the problem. However, I don't think it is worth it to memorize the formula; it won't have broad application on the GMAT, and in those situations where you can use it, you will almost certainly be able to use an alternative or basic technique, such as I did in this question.
Last edited by Testluv on Sun Dec 13, 2009 1:16 pm, edited 1 time in total.
Kaplan Teacher in Toronto

GMAT Instructor
Posts: 1302
Joined: Mon Oct 19, 2009 2:13 pm
Location: Toronto
Thanked: 539 times
Followed by:164 members
GMAT Score:800

by Testluv » Sun Dec 13, 2009 1:07 pm
jnbimmer wrote:Thanks.

Is there a shortcut to calculate the product of 1 to 30?

for example, 1x2x3x4x5...
There is absolutely no need to calculate the product of 1 to 30!
Kaplan Teacher in Toronto